Page 1 of 1

Leaf & Hub - No Matching Links Configuration

Posted: Wed Feb 16, 2011 5:22 pm
by joethomas3000
Hi,

i have got a leaf and a hub server and when i put the hub server on i can connect with no errors, but when i connect the leaf i get the error:

Code: Select all

[17:16] --madness.ircmadness.net-- *** Notice -- (link) Link madness.ircmadness.net -> rampage.ircmadness.net[@72.20.21.111.60482] established
[17:16] --madness.ircmadness.net-- *** LocOps -- ERROR :from rampage.ircmadness.net[72.20.21 .111] -- Link denied (No matching link configuration) [@216.18.189.253.62554]
[17:16] --madness.ircmadness.net-- *** LocOps -- ERROR :from rampage.ircmadness.net[72.20.21 .111] -- Closing Link: [216.18.189.253] (Link denied (No matching link configuration))
[17:16] --madness.ircmadness.net-- *** LocOps -- Server rampage.ircmadness.net[72.20.21.111] closed the connection
I have looked at the links block and they are exactly the same...

Leaf server (Rampage):

Code: Select all

link            services.ircmadness.net
{
	username	*;
	hostname 	216.18.189.253;
	bind-ip 	72.20.21.111; 
	port 		6667;
	hub             *;
	password-connect "*";
	password-receive "*";
	class           servers;
		options {
			autoconnect;
		};
};

link            rampage.ircmadness.net
 
{
 
    username    *;
 
    hostname     72.20.21.111;
 
    bind-ip      216.18.189.253;
 
    port         6667;
 
    hub             *;
 
    password-connect "*";
 
    password-receive "*";
 
    class           servers;
 
        options {
 
            /* Note: You should not use autoconnect when linking services */
            autoconnect;
 
        };
}; 
Hub Server (Madness):

Code: Select all

link            rampage.ircmadness.net
 
{
 
    username    *;
 
    hostname     72.20.21.111;
 
    bind-ip      216.18.189.253;
 
    port         6667;
 
    hub             *;
 
    password-connect "*";
 
    password-receive "*";
 
    class           servers;
 
        options {
 
            /* Note: You should not use autoconnect when linking services */
            autoconnect;
 
        };
 
};

link            services.ircmadness.net
{
        username        *;
        hostname        216.18.189.253;
        bind-ip         216.18.189.253;
        port            6667;
        hub             *;
        password-connect "*";
        password-receive "*";
        class           servers;
                options {
				autoconnect;
                };
};

Re: Leaf & Hub - No Matching Links Configuration

Posted: Wed Feb 16, 2011 9:26 pm
by katsklaw
1> rampage is not configured as a leaf, it's configured as a hub.
2> Services links to hubs only, so no need for a link block on leaf servers.
3> if you are using anope services, get rid of the auto connect in services link blocks.
4> set rampages bind-ip to * in madness config.
5> set every other server's bind-ip to * in all config files.
6> rehash madness and try again.

Re: Leaf & Hub - No Matching Links Configuration

Posted: Thu Feb 17, 2011 8:41 pm
by joethomas3000
Thanks very much!

I have 1 more error: --madness.ircmadness.net-- Exiting ssl client [@216.18.189.253.49563]: SSL_accept(): Internal OpenSSL error or protocol error

this is when i turn services on -I know its something about SSL but how do i fix it?

EDIT: No Worries, I Found Out It Was A Junk Snomask Speaking!

Re: Leaf & Hub - No Matching Links Configuration

Posted: Thu Feb 17, 2011 8:54 pm
by katsklaw
Most services doesn't support ssl.

Re: Leaf & Hub - No Matching Links Configuration

Posted: Thu Feb 17, 2011 8:59 pm
by joethomas3000
can you tell me how to change this?

Re: Leaf & Hub - No Matching Links Configuration

Posted: Thu Feb 17, 2011 9:23 pm
by katsklaw
don't use ssl in services link block.

Re: Leaf & Hub - No Matching Links Configuration

Posted: Thu Feb 17, 2011 9:43 pm
by joethomas3000
it doesnt say ssl in the links block :s thats strange :s

Re: Leaf & Hub - No Matching Links Configuration

Posted: Thu Feb 17, 2011 10:43 pm
by katsklaw
are you connecting to irc with irssi or anything from one of the servers?

Re: Leaf & Hub - No Matching Links Configuration

Posted: Thu Feb 17, 2011 11:48 pm
by joethomas3000
No, i am using IceChat

Re: Leaf & Hub - No Matching Links Configuration

Posted: Fri Feb 18, 2011 5:20 pm
by joethomas3000
Ive fixed this error (thanks for your help) but now on the anope logs it says the following:

Code: Select all

[Feb 17 17:19:48 2011] Loading IRCD Protocol Module: [unreal32]
[Feb 17 17:19:48 2011] status: [0][Module, Okay - No Error]
[Feb 17 17:19:48 2011] Loading Encryption Module: [enc_none]
[Feb 17 17:19:48 2011] status: [0][Module, Okay - No Error]
[Feb 17 17:19:48 2011] Anope 1.8.5 (3037) (ircd protocol: UnrealIRCd 3.2+) starting up
[Feb 17 17:19:48 2011] MSMemoReceipt not enabled in services.conf
[Feb 17 17:19:48 2011] ms_rsend requested unload...
[Feb 17 17:19:48 2011] debug: trying to load core module [ms_rsend]
[Feb 17 17:19:48 2011] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Feb 17 17:19:48 2011] MySQL: has been disabled.
[Feb 17 17:19:48 2011] Databases loaded
[Feb 17 17:19:48 2011] Info: Reflecting database records.
[Feb 17 17:19:48 2011] Connected to Server 1 (72.20.21.111:6667)
[Feb 17 17:19:48 2011] trying to load [cs_appendtopic]
[Feb 17 17:19:48 2011] [cs_appendtopic] Loaded successfully
[Feb 17 17:19:48 2011] status: [0][Module, Okay - No Error]
[Feb 17 17:19:48 2011] trying to load [cs_enforce]
[Feb 17 17:19:48 2011] status: [0][Module, Okay - No Error]
[Feb 17 17:19:48 2011] trying to load [ns_maxemail]
[Feb 17 17:19:48 2011] status: [0][Module, Okay - No Error]
[Feb 17 17:19:48 2011] trying to load [os_info]
[Feb 17 17:19:48 2011] os_info: Loading configuration directives...
[Feb 17 17:19:48 2011] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[Feb 17 17:19:48 2011] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Feb 17 17:19:48 2011] status: [0][Module, Okay - No Error]
[Feb 17 17:19:48 2011] trying to load [hs_request]
[Feb 17 17:19:48 2011] hs_request loaded
[Feb 17 17:19:48 2011] status: [0][Module, Okay - No Error]
[Feb 17 17:19:49 2011] Error: Your IRCD's link block may not be setup correctly, please check unrealircd.conf
[Feb 17 17:19:49 2011] Error: Your IRCD's link block may not be setup correctly, please check unrealircd.conf
[Feb 17 17:19:49 2011] Read error from server: Unknown error: 0 (error num: 0)
[Feb 17 17:19:49 2011] [cs_appendtopic] Unloaded successfully
[Feb 17 17:19:49 2011] hs_request un-loaded
What is most wierd:

Code: Select all

[Feb 17 17:19:49 2011] Error: Your IRCD's link block may not be setup correctly, please check unrealircd.conf
You have seen the links block and i have fixed the bind-ip thing i just need help with this...

Re: Leaf & Hub - No Matching Links Configuration

Posted: Fri Feb 18, 2011 8:47 pm
by katsklaw
that error message doesn't lie, check your config again. You had it fixed, now it's not. you changed something.