Dont hate me but it`s about linking two servers :(

These are old archives. They are kept for historic purposes only.
Post Reply
]Godlike[
Posts: 17
Joined: Sat Jan 15, 2005 10:27 pm

Dont hate me but it`s about linking two servers :(

Post by ]Godlike[ »

*** Connect: Server xxx is not configured for linking
*** Connect: yyy is not configured for linking

tried to link from both.....

heres my link block on xxx;

link host.com
{
username *;
hostname host.com;
bind-ip *;
port 9999;
hub *;
password-connect "pass";
password-receive "pass";
class servers;
options {
nohostcheck;
autoconnect;
nodnscache;
};
};

and my link block on yyy;

link host1.com
{
username *;
hostname host1.com;
bind-ip *;
port 9999;
leaf *;
password-connect "pass";
password-receive "pass";
class servers;
options {
nohostcheck;
nodnscache;
};
};

and i try to connect them with:

/CONNECT host1.com 9999 on xxx
/CONNECT host.com 9999 on yyy

the result message is stated above.

my listen block on both of them same:

listen *:9999
{
options
{
serversonly;
};
};

and block me is configured ok as stated in the .doc

Im lost thanx for this help if somebody knows whats going, which probably is a dumb one, but hey i tried a lot. Can`t say i tried everything but i don`t remember nothing more to try.
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Re: Dont hate me but it`s about linking two servers :(

Post by codemastr »

/CONNECT host1.com 9999 on xxx
/CONNECT host.com 9999 on yyy
NO idea where you got that syntax from, but it is *completely* wrong. Read the documentation, /helpop connect.

Also, either paste the real link blocks (minus the passwords), or don't paste at all. Those fake blocks are completely useless to us.
-- codemastr
]Godlike[
Posts: 17
Joined: Sat Jan 15, 2005 10:27 pm

Post by ]Godlike[ »

Hmmm......

OK AGAIN heh

server 1:

[code]

me
{
name "ircd.kick.net";
info "Server1";
numeric 1;
};

class servers
{
pingfreq 90;
maxclients 10;
sendq 100000;
connfreq 100;
};

listen *:9999
{
options
{
serversonly;
};
};

link ircd1.kick.net
{
username *;
hostname ircd1.kick.net;
bind-ip *;
port 9999;
leaf *;
password-connect "pass";
password-receive "pass";
class servers;
options {
nohostcheck;
nodnscache;
};
};

[/code]

server 2:

[code]

me
{
name "ircd2.kick.net";
info "Server2";
numeric 2;
};

class servers
{
pingfreq 90;
maxclients 10;
sendq 100000;
connfreq 100;
};

listen *:9999
{
options
{
serversonly;
};
};

link ircd1.kick.net
{
username *;
hostname ircd1.kick.net;
bind-ip *;
port 9999;
leaf *;
password-connect "pass";
password-receive "pass";
class servers;
options {
nohostcheck;
nodnscache;
};
};

[/code]

good enough and the cmd i use was:

/CONNECT ircd1.kick.net 9999
or on other ircd
/CONNECT ircd2.kick.net 9999

I always get:
*** Connect: Server ircd1.kick.net is not configured for linking
and vice versa for the other one.

Enough info ?

And i read the .doc, maybe i missed something but i read it.
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

1. Did you rehash?
2. Are you sure your link block isn't commented out?
]Godlike[
Posts: 17
Joined: Sat Jan 15, 2005 10:27 pm

Post by ]Godlike[ »

heh, :oops: :oops: :oops: :oops:

comented out, and i realy didnt see it :oops:

thx

of course works now fine
]Godlike[
Posts: 17
Joined: Sat Jan 15, 2005 10:27 pm

Post by ]Godlike[ »

Hmm, everything linked ok and such, but i get disconected of the server like once per day, and all users also, jst for a few seconds and then it`s back to normal, on both ircds which are linked together, and i use basic linking no zip and ssl. How can i improve the linking?

And both servers are on 10mbit dedicated box.
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

YOU get disconnected or the link between the two servers?


Sounds like an external problem to me, anyway...
Darvocet
Posts: 105
Joined: Sun Jun 27, 2004 6:40 am
Location: Houston, TX
Contact:

Post by Darvocet »

I have never seen links like this... I always use the hostname part to put the IP, not a hostname. Here is a paste of one of my WORKING links. Hopefully it helps you out.

Code: Select all

link xxx.no.eu.epicirc.net {
username *;
hostname 255.255.255.255;
bind-ip *;
port 6660;
hub *;
password-connect "Passwd";
password-receive "Passwd.encrypted" { crypt; };
class servers;
compression-level 9;
options {
autoconnect;
zip;
ssl;
};
};
]Godlike[
Posts: 17
Joined: Sat Jan 15, 2005 10:27 pm

Post by ]Godlike[ »

A bit hard to put ip there if it`s DYNAMIC......

The link betweeen two servers dies for a few secs.
Darvocet
Posts: 105
Joined: Sun Jun 27, 2004 6:40 am
Location: Houston, TX
Contact:

Post by Darvocet »

]Godlike[ wrote:A bit hard to put ip there if it`s DYNAMIC......

The link betweeen two servers dies for a few secs.

hheeheh. Well that is a problem in itself.
]Godlike[
Posts: 17
Joined: Sat Jan 15, 2005 10:27 pm

Post by ]Godlike[ »

What about users just getting [Connection reset by peer] ?

And this is also happening quite often, and its very annoying, maybe i should use that zip compresion ? or smthing else im missing.
Darvocet
Posts: 105
Joined: Sun Jun 27, 2004 6:40 am
Location: Houston, TX
Contact:

Post by Darvocet »

]Godlike[ wrote:What about users just getting [Connection reset by peer] ?

And this is also happening quite often, and its very annoying, maybe i should use that zip compresion ? or smthing else im missing.
Well from my understanding ziplinks is what you are referring to, and that enables compression during server links to conserve bandwidth. It does compress quite a bit, and I do highly recommend using it, however, I am fairly certian wouldnt solve the Connection reset by perr problem. That is a like a ping timeout between the server and the client, and if there is quite a few of them is probably due to your connection.

I run several servers, and people do get connection reset by peer disconnects. It is just part of irc. I do notice certian users get more than others, so it could be them and not you too.
Post Reply