Page 1 of 1

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

Posted: Mon Jan 17, 2005 4:09 pm
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.

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

Posted: Mon Jan 17, 2005 4:41 pm
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.

Posted: Mon Jan 17, 2005 5:27 pm
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.

Posted: Mon Jan 17, 2005 5:33 pm
by Dukat
1. Did you rehash?
2. Are you sure your link block isn't commented out?

Posted: Mon Jan 17, 2005 6:03 pm
by ]Godlike[
heh, :oops: :oops: :oops: :oops:

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

thx

of course works now fine

Posted: Sun Jan 23, 2005 5:38 pm
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.

Posted: Sun Jan 23, 2005 5:47 pm
by Dukat
YOU get disconnected or the link between the two servers?


Sounds like an external problem to me, anyway...

Posted: Sun Jan 23, 2005 6:10 pm
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;
};
};

Posted: Sun Jan 23, 2005 6:50 pm
by ]Godlike[
A bit hard to put ip there if it`s DYNAMIC......

The link betweeen two servers dies for a few secs.

Posted: Sun Jan 23, 2005 6:55 pm
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.

Posted: Sun Jan 23, 2005 7:22 pm
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.

Posted: Sun Jan 23, 2005 7:28 pm
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.