Link Error - need fresh set of eyes to spot my issues

These are old archives. They are kept for historic purposes only.
Jeanne
Posts: 13
Joined: Thu Jun 12, 2014 12:12 pm

Link Error - need fresh set of eyes to spot my issues

Post by Jeanne »

I've tried change around things, and keep getting the same Link Connect Errors. and I've read through the forums, tried to fix - and I'm still at a loss, I realize I am new at linking, so I probably made a simplistic error -somewhere. Please help.

HUB info


};

/* Ports */

listen Hub.Ip.Here:6666;
listen Hub.IP.here:6667;
listen Hub.IP.here:6668;
listen Hub.IP.here:6669;
listen Hub.IP.here:7000;
listen Hub.IP.here:7888;
listen Hub.IP.here:7878;

listen Hub.IP.here:6697 { options { ssl; }; };

/* Links */

link services.irc.myservername.com
{
username *;
hostname Hub.IP.here;
bind-ip *;
port 7000;
hub *;
password-connect H6BxeA29jhbbx6g4mjchwyuvZ;
password-receive H6BxeA29jhbbx6g4mjchwyuvZ;
class servers;
options {
autoconnect;
};
};

link irc6.mainservername.com
{
username *;
hostname Leaf.IP.here;
bind-ip *;
port 7888;
leaf *;
password-connect H6BxeA29jhbbx6g4mjchwyuvZ;
password-receive H6BxeA29jhbbx6g4mjchwyuvZ;
class servers;
options {
autoconnect;
};
};




On the LEAF conf is this:


/* Ports */

listen leaf.IP.here:6666;
listen leaf.IP.here:6667;
listen leaf.IP.here:6668;
listen leaf.ip.here:6669;
listen leaf.ip.here:7000;

listen leaf.ip.here:6697 { options { ssl; }; };

/* Links */

link irc.myservername.com
{
username *;
hostname HUB.ip.here;
bind-ip *;
port 7878;
hub *;
password-connect H6BxeA29jhbbx6g4mjchwyuvZ;
password-receive H6BxeA29jhbbx6g4mjchwyuvZ;
class servers;
options {
autoconnect;
};
};




/* Ulines */
ulines {
services.irc.myservername.com;
};


The errors I am receiving on the hub are:

[13:01] -irc.hub/myserver name- *** LocOps -- Link denied for irc6.myserver.com([email protected]) (Server is in link block but IP/host didn't match) [[email protected]]
-
[13:01] -irc.hub/servername- *** LocOps -- Link denied for irc6.myserver.com([email protected]) (Server is in link block but IP/host didn't match)
-
[13:02] -irc.myhub.com- *** Notice -- Connection to irc6.leafname.com[5.154.238.218] activated.
-
[13:02] -irc.myhub.com- *** Global -- Closing link: Write error: Broken pipe - irc6.name.com[leaf.ip]
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Link Error - need fresh set of eyes to spot my issues

Post by katsklaw »

Code: Select all

password-connect H6BxeA29jhbbx6g4mjchwyuvZ;
password-receive H6BxeA29jhbbx6g4mjchwyuvZ;
should be in quotes:

Code: Select all

password-connect "H6BxeA29jhbbx6g4mjchwyuvZ";
password-receive "H6BxeA29jhbbx6g4mjchwyuvZ";
I can't help further because you have hidden IPs and since the error your are getting pertains to said IPs, you are on your own. Help can only be as accurate as the information shared.
Jeanne
Posts: 13
Joined: Thu Jun 12, 2014 12:12 pm

Re: Link Error - need fresh set of eyes to spot my issues

Post by Jeanne »

Thanks for replying so quickly katsklaw. I even tried contacting my ip provider's irc support dude, and they dont answer only once a day, and i'm getting so frustrated ! (PS, services has linked correctly)

I will try to post again, and just take out my server's name , where it pertains

First the error codes i am getting on the HUB server

[15:29] -irc.x.com- *** Notice -- Loading IRCd configuration ..
-
[15:29] -irc.x.com- *** Notice -- Configuration loaded without any problems ..
-
[15:29] -irc.x.com- *** Notice -- Connection to irc6.x.com[5.154.238.218] activated.
-
[15:29] -irc.x.com- *** LocOps -- ERROR :from irc6.x.com[5.154.238.218] -- Link denied (No matching link configuration) [[email protected]]
-
[15:29] -irc.x.com- *** LocOps -- ERROR :from irc6.x.com[5.154.238.218] -- Closing Link: [206.41.113.14] (Link denied (No matching link configuration))
-
[15:29] -irc.x.com- *** LocOps -- Server irc6.x.com[5.154.238.218] closed the connection

Here's the HUBs unreal conf



/* Ports */

listen 206.41.117.28:6666;
listen 206.41.117.28:6667;
listen 206.41.117.28:6668;
listen 206.41.117.28:6669;
listen 206.41.117.28:7000;

listen 206.41.117.28:6697 { options { ssl; }; };
listen 206.41.117.28:27878 { options { serversonly; }; };

/* Links */

link services.irc.x.com
{
username *;
hostname 206.41.117.28;
bind-ip *;
port 7000;
hub *;
password-connect H6BxeA29jhbbx6g4mjchwyuvZ;
password-receive H6BxeA29jhbbx6g4mjchwyuvZ;
class servers;
options {
autoconnect;
};
};

link irc6.x.com
{
username *;
hostname 5.154.238.218;
bind-ip *;
port 27888;
leaf *;
password-connect "H6BxeA29jhbbx6g4mjchwyuvZ";
password-receive "H6BxeA29jhbbx6g4mjchwyuvZ";
class servers;
options {
autoconnect;
};
};



/* Ulines */
ulines {
services.irc.x.com;
};

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The Leaf's unreal conf



/* Ports */

listen 5.154.238.218:6666;
listen 5.154.238.218:6667;
listen 5.154.238.218:6668;
listen 5.154.238.218:6669;
listen 5.154.238.218:7000;

listen 5.154.238.218:6697 { options { ssl; }; };

listen 5.154.238.218:27888 { options { serversonly; }; };

/* Links */

link irc.x.com
{
username *;
hostname 206.41.117.28;
bind-ip *;
port 27878;
hub *;
password-connect "H6BxeA29jhbbx6g4mjchwyuvZ";
password-receive "H6BxeA29jhbbx6g4mjchwyuvZ";
class servers;
options {
autoconnect;
};
};




/* Ulines */
ulines {
services.irc.x.com;
};
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Link Error - need fresh set of eyes to spot my issues

Post by katsklaw »

you have autoconnect in options for services. This is likely not what you want because most services packages do not listen for incoming connections. Also if you have the ircd listening on the same IP and port that you are trying to connect to services, the ircd will try to connect to it's self and give errors.

So, unless you know for 1000% fact your services package listens for incoming connections A N D services is on a different IP than the ircd, remove the autoconnect option from services link block.
Jeanne
Posts: 13
Joined: Thu Jun 12, 2014 12:12 pm

Re: Link Error - need fresh set of eyes to spot my issues

Post by Jeanne »

Oh, are you speaking of the HUB leaf? where it has it 7000 for the listen, and then , 7000 for the port of services? The provider for the hub, set up IRCd like that, and I never thought to question it. The services works just fine, as is.

Would it make a difference to take the auto connect option out?

Also if you have the ircd listening on the same IP and port that you are trying to connect to services, the ircd will try to connect to it's self and give errors. < do you mean in the leaf .. this..>>
listen 5.154.238.218:7000;

??
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Link Error - need fresh set of eyes to spot my issues

Post by katsklaw »

I'm referring to whatever server has a link block for services.
Jeanne
Posts: 13
Joined: Thu Jun 12, 2014 12:12 pm

Re: Link Error - need fresh set of eyes to spot my issues

Post by Jeanne »

I removed the

listen 206.41.117.28:7000;

and took the autoconnect out of the services block -- in the hub server.

I did a /rehash and i still got..:

[19:43] -irc.x- *** Notice -- Loading IRCd configuration ..
-
[19:43] -irc.x- *** Notice -- Configuration loaded without any problems ..
-
[19:43] -irc.x *** Notice -- Connection to irc6.x.com[5.154.238.218] activated.
-
[19:43] -irc.x- *** Global -- Closing link: Write error: Broken pipe - irc6.x.com[5.154.238.218]
-
[19:43] -irc.x- *** LocOps -- Link denied for irc6.xcom([email protected]) (Server is in link block but IP/host didn't match) [[email protected]]
-
Jeanne
Posts: 13
Joined: Thu Jun 12, 2014 12:12 pm

Re: Link Error - need fresh set of eyes to spot my issues

Post by Jeanne »

I think I may have found something -- and I've contacted the leaf provider - (5.154...)

The leaf provider told me to use 5.154.238.218, however, when it irc6. (leaf) tries to connect it says 5.154.237.2xx

Is it possible, that the leaf provider, gave me the wrong IP information for the connect/usage ?
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Link Error - need fresh set of eyes to spot my issues

Post by katsklaw »

[[email protected]]

x is the username
5.154.237.2 is the ip
22685 is the port the connection is coming from
Jeanne
Posts: 13
Joined: Thu Jun 12, 2014 12:12 pm

Re: Link Error - need fresh set of eyes to spot my issues

Post by Jeanne »

I was more looking at the first three.. 5.154.237 and 5.154.238 - how i was told to use 5.154.238 but it keeps trying to connect with 5.154.237 -- i noticed that the ports keep changing when it tries to connect (in the last example it was 22685)

Or is this a moot point?
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Link Error - need fresh set of eyes to spot my issues

Post by katsklaw »

you certainly need the correct IP. if they tell 1 IP but it's connecting from another, they may be incorrect or they aren't binding to the correct IP.

The ports changing is normal and nothing you can do about it, so ... yeah, kinda moot.
Jeanne
Posts: 13
Joined: Thu Jun 12, 2014 12:12 pm

Re: Link Error - need fresh set of eyes to spot my issues

Post by Jeanne »

thank you, I was beginning to drive myself insane with all this.... I have left a help ticket with the leaf provider about the two different numbers....

i am hoping all else is okay
Jeanne
Posts: 13
Joined: Thu Jun 12, 2014 12:12 pm

Re: Link Error - need fresh set of eyes to spot my issues

Post by Jeanne »

Leaf provider emailed me this..



Please use ip 5.154.238.218 and on
link irc.x.com
{
username *;
hostname 206.41.117.28;
bind-ip *;

bind-ip must be 206.41.117.28
Also, try link::bind-ip *

I put the bind IP in like he said, but.. what is the link::bind-ip* ? do i have to create a new line? somewhere? I think ive been staring at this so long my brain is starting to turn to mush lol
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Link Error - need fresh set of eyes to spot my issues

Post by katsklaw »

block::option or block::sub-block::option is a truncated way of explaining which option is being referenced.

Example: link::bind-ip is the bind-ip option inside the link block. oper::from::userhost is the userhost option inside the from sub-block inside the oper block.

Usage: "please set my oper::from::userhost to *me@*.some.host.net"
Jeanne
Posts: 13
Joined: Thu Jun 12, 2014 12:12 pm

Re: Link Error - need fresh set of eyes to spot my issues

Post by Jeanne »

So basically he told me that I must use the bind ip 206.41.117.28

then said, also try: bind-ip*

which was originally there, but wasnt working?
Post Reply