Hi
Well i have Unrealircd running with anope services too with no problem and have been asked to link two servers together so i thought it would be the same as services link, so before i try this could you please confirm that its right thanks
server one conf
link services.mydns.com
{
username *;
hostname 192.168.x.x;
bind-ip *;
port 6668;
hub *;
password-connect "mypass";
password-receive "mypass";
class servers;
options {
autoconnect;
};
};
link 80.7.113.209 <--- or should that be there dns name?
{
username *;
hostname 80.7.113.209;
bind-ip *;
port 4000;
leaf *;
password-connect "connectpass";
password-receive "connectpass";
class servers;
options {
autoconnect;
zip;
ssl;
};
server 2 conf
link serverone.dns.com <------or should that be ip?
{
username *;
hostname 217.44.249.49;
bind-ip *;
port 4011;
hub *;
password-connect "samepassasserverone";
password-receive "samepassasserverone";
class servers;
options {
autoconnect;
zip;
ssl;
};
will server two also need the services link too?
Btw i did read the sticky on linking servers
but would like to confirm that ive not misunderstood it
Thanks for the help
Linking problem -- Is this right?
- Use the real name of the server, not the IP
- Add autoconnect only on one side
- Don't use autoconnect
- I really hope you didn't set up a real DNS entry for your services server... better use a fantasy name (see http://www.vulnscan.org/UnrealIRCd/unre ... l#security )
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
- Coleman Hawkins
thanks but now im getting this error of server two
Notice -- Connection to 217.44.249.49[217.44.249.49] activated.
***: LocOps -- Link denied for irc.server1.com([email protected]) (No link block named 'irc.server1.com') [@217.44.249.49.62489]
and server 1 is giving
*** LocOps -- ERROR :from 80.7.113.209 -- Closing Link: [217.44.249.49] (Link denied (No matching link configuration))
* *** LocOps -- Server 80.7.113.209 closed the connection
what have i done wrong please?
edit if it helps heres the me blocks and network blocks too
server 2
/* Network configuration */
set {
network-name "irc.server1.com";
default-server "irc.server1.com";
services-server "services.server1.com";
stats-server "stats.server1.com";
help-channel "#help";
hiddenhost-prefix "private";
/* prefix-quit "no"; */
server 1
/* Network configuration */
set {
network-name "irc.server1.com";
default-server "irc.server1.com";
services-server "services.server1.com";
stats-server "stats.server1.com";
help-channel "#help";
hiddenhost-prefix "private";
/* prefix-quit "no"; */
me blocks
server 2
name "server2.com";
info "server2 Irc Server";
numeric 2;
server 1
name "server1.com";
info "server 1 Irc Server";
numeric 1;
Thanks
Notice -- Connection to 217.44.249.49[217.44.249.49] activated.
***: LocOps -- Link denied for irc.server1.com([email protected]) (No link block named 'irc.server1.com') [@217.44.249.49.62489]
and server 1 is giving
*** LocOps -- ERROR :from 80.7.113.209 -- Closing Link: [217.44.249.49] (Link denied (No matching link configuration))
* *** LocOps -- Server 80.7.113.209 closed the connection
what have i done wrong please?
edit if it helps heres the me blocks and network blocks too
server 2
/* Network configuration */
set {
network-name "irc.server1.com";
default-server "irc.server1.com";
services-server "services.server1.com";
stats-server "stats.server1.com";
help-channel "#help";
hiddenhost-prefix "private";
/* prefix-quit "no"; */
server 1
/* Network configuration */
set {
network-name "irc.server1.com";
default-server "irc.server1.com";
services-server "services.server1.com";
stats-server "stats.server1.com";
help-channel "#help";
hiddenhost-prefix "private";
/* prefix-quit "no"; */
me blocks
server 2
name "server2.com";
info "server2 Irc Server";
numeric 2;
server 1
name "server1.com";
info "server 1 Irc Server";
numeric 1;
Thanks
server 2
link 217.44.249.49
{
username *;
hostname 217.44.249.49;
bind-ip *;
port 4011;
hub *;
password-connect "pass";
password-receive "pass";
class servers;
options {
zip;
ssl;
};
Server 1
link 80.7.113.209
{
username *;
hostname 80.7.113.209;
bind-ip *;
port 4000;
leaf *;
password-connect "pass";
password-receive "pass";
class servers;
options {
autoconnect;
zip;
ssl;
};
now were getting errors like :
Notice -- Connection to 217.44.249.49[217.44.249.49] activated.
***: LocOps -- Link denied for irc.server1.com([email protected]) (No link block named 'irc.server1.com') [@217.44.249.49.62489]
and server 1 is giving
*** LocOps -- ERROR :from 80.7.113.209 -- Closing Link: [217.44.249.49] (Link denied (No matching link configuration))
* *** LocOps -- Server 80.7.113.209 closed the connection
if it helps thats a win server (2)
server 1 is Linux
I also changed the network block of server 2 to its own dns and restarted the servers still getting same errors
link 217.44.249.49
{
username *;
hostname 217.44.249.49;
bind-ip *;
port 4011;
hub *;
password-connect "pass";
password-receive "pass";
class servers;
options {
zip;
ssl;
};
Server 1
link 80.7.113.209
{
username *;
hostname 80.7.113.209;
bind-ip *;
port 4000;
leaf *;
password-connect "pass";
password-receive "pass";
class servers;
options {
autoconnect;
zip;
ssl;
};
now were getting errors like :
Notice -- Connection to 217.44.249.49[217.44.249.49] activated.
***: LocOps -- Link denied for irc.server1.com([email protected]) (No link block named 'irc.server1.com') [@217.44.249.49.62489]
and server 1 is giving
*** LocOps -- ERROR :from 80.7.113.209 -- Closing Link: [217.44.249.49] (Link denied (No matching link configuration))
* *** LocOps -- Server 80.7.113.209 closed the connection
if it helps thats a win server (2)
server 1 is Linux
I also changed the network block of server 2 to its own dns and restarted the servers still getting same errors
try this...
Make sure you rehash BOTH servers before attempting to connect. I would do and rehash server 2 first (as it does not have the autoconnect)
Just noticed an additional problem in the set block
Code: Select all
server 2
link server1.com
{
username *;
hostname 217.44.249.49;
bind-ip *;
port 4011;
hub *;
password-connect "pass";
password-receive "pass";
class servers;
options {
zip;
ssl;
};
Server 1
link server2.com
{
username *;
hostname 80.7.113.209;
bind-ip *;
port 4000;
leaf *;
password-connect "pass";
password-receive "pass";
class servers;
options {
autoconnect;
zip;
ssl;
};
Just noticed an additional problem in the set block
Code: Select all
/* Network configuration */
set {
network-name "irc.server1.com";
default-server "server1.com"; <--- set it to an actual server rather then the network
services-server "services.server1.com";
stats-server "stats.server1.com";
help-channel "#help";
hiddenhost-prefix "private";
/* prefix-quit "no"; */
Never argue with an idiot. They will bring you down to their level, then beat you with experience.