Page 1 of 1

Need help linking servers

Posted: Sat Feb 19, 2011 12:30 am
by joethomas3000
When i try linking up 2 servers (madness and rampage) i get the error: --rampage.ircmadness.net-- *** Connect: Illegal port number

can someone please help me :)

Re: Need help linking servers

Posted: Sat Feb 19, 2011 3:10 pm
by Jobe
Port numbers must be between 1 and 65535 they cannot be lower or higher.

Re: Need help linking servers

Posted: Sat Feb 19, 2011 8:18 pm
by katsklaw
ports 1 to 1024 require root access, common IRC ports are 6660-6669 and 7000. Common SSL ports are 6697 and 7000 or 7001. For servers any other port will work some odd port is best like 4400 or 7070. It's best to stay between 4000 and 8000 as you will likely not have conflicting ports with other applications. Stay away from ports 8080, 10000, 20000, 31337 and other known ports above 1024.

Re: Need help linking servers

Posted: Sat Feb 19, 2011 9:32 pm
by joethomas3000
Ive got over that error now (thanks for your help) however now i have a new error :s
-rampage.ircmadness.net- *** Connect: Server 72.20.21.111 is not configured for linking


RAMPAGE - HUB

Code: Select all

link services.ircmadness.net {
	username *;
	hostname 72.20.21.111;
	bind-ip *;
	port 8000;
	password-connect *;
	password-receive *;
	class servers;
};

link madness.ircmadness.net {
	username *;
	hostname 72.20.21.111;
	bind-ip *;
	port 8000;
	password-connect *;
	password-receive *;
	hub madness.ircmadness.net;
	class servers;
};
Leaf - Madness

Code: Select all

link services.ircmadness.net {
	username *;
	hostname rampage.ircmadness.net;
	bind-ip *;
	port 8000;
	password-connect *;
	password-receive *;
	class servers;
};

link rampage.ircmadness.net {
	username *;
	hostname 72.20.21.111;
	bind-ip *;
	port 8000;
	password-connect *;
	password-receive *;
	class servers;
};

Re: Need help linking servers

Posted: Sun Feb 20, 2011 1:22 am
by katsklaw

Re: Need help linking servers

Posted: Sun Feb 20, 2011 1:19 pm
by joethomas3000
Hello,

Thanks for this, ive checked this and i dont really think there is anything wrong with my links block, and that link doesn't really help with configuring a server to be able to link. Ive checked http://forums.unrealircd.com/viewtopic.php?t=329 and followed them steps (and added hub *; and leaf *; etc to the links block) and i still have the same error! :?:

Edit: Ive also tried /connect madness.ircmadness.net rampage.ircmadness.net (i get -rampage.ircmadness.net- *** Connect: Server rampage.ircmadness.net already exists from rampage.ircmadness.net.)
Ive also tried /connect madness.ircmadness.net and i get:

Code: Select all

-rampage.ircmadness.net- *** Connecting to madness.ircmadness.net[216.18.189.253].
-
-rampage.ircmadness.net- *** LocOps -- ERROR :from madness.ircmadness.net[216.18.189.253] -- Server rampage.ircmadness.net already exists from rampage.ircmadness.net
-
-rampage.ircmadness.net- *** LocOps -- ERROR :from madness.ircmadness.net[216.18.189.253] -- Closing Link: [72.20.21.111] (Server Exists)
-
-rampage.ircmadness.net- *** LocOps -- Server madness.ircmadness.net[216.18.189.253] closed the connection

Re: Need help linking servers

Posted: Sun Feb 20, 2011 6:34 pm
by katsklaw
the "server already exists" error is very literal. It' means exactly that. The server is already connected.

Re: Need help linking servers

Posted: Sun Feb 20, 2011 6:52 pm
by joethomas3000
I know that, but the thing is
/map shows
rampage.ircmadness.net (2)
End of /MAP

and /stats c shows
C *@216.18.189.253 * madness.ircmadness.net 8000 servers
H madness.ircmadness.net * madness.ircmadness.net
C *@72.20.21.111 * services.ircmadness.net 8000 servers
End of /STATS report

Re: Need help linking servers

Posted: Sun Feb 20, 2011 7:36 pm
by joethomas3000
Oh Sorry,
Ive just been stupid and forgot to turn the other server on :lol:

When i try turning it on:


[Sun Feb 20 13:33:33 2011] - Error binding stream socket to IP 216.18.189.253 port 8009 - rampage.ircmadness.net[]:Address already in use
And Unexpected EOF In This Block:

Code: Select all

set {
	network-name 		"IRCMadness";
	default-server 		"rampage.ircmadness.net";
	services-server 	"services.ircmadness.net";
	help-channel 		"#help";
	hiddenhost-prefix	"hub";

	cloak-keys {
		"kOpnlOgFLPSJpZ0hNKy6m5AXwGPtGJ";
		"cRnr5y6b3HQMh5B8dfICcUxCIU9ndF";
		"Wfm9xhyujr2Z49Vv7YAFqCqN5Yy4bB";
	};
	hosts {
		local		"localop.ircmadness.net";
		global		"globalop.ircmadness.net";
		coadmin		"coadmin.ircmadness.net";
		admin		"admin.ircmadness.net";
		servicesadmin 	"servicesadmin.ircmadness.net";
		netadmin 	"netadmin.ircmadness.net";
		host-on-oper-up "yes";

	};
	kline-address "[email protected]";
	modes-on-connect "+ixw";
	modes-on-oper	 "+xwgs";
	modes-on-join   "+nt";
	options {
		hide-ulines;
		show-connect-info;
	};

	maxchannelsperuser 15;
	anti-spam-quit-message-time 30s;

	oper-only-stats "okfGsMRUEelLCXzdD";

	throttle {
		connections 5;
		period 60s;
	};
	anti-flood {
		nick-flood 3:60;
	};


	spamfilter {
		ban-time 1d; 
		ban-reason "Spam/Advertising"; 
		virus-help-channel "#help"; 
	};
};