Problem Linking Services.

These are old archives. They are kept for historic purposes only.
Post Reply
Netty

Problem Linking Services.

Post by Netty »

I'm trying to link Anope Services to Unreal 3.2... Anyone any ideas what this means:

[17:25] ••• (s) *** Notice -- Connection to services.testwalkonzone.com[192.168.0.4] activated.
[17:25] ••• (s) *** Global -- Closing link: Write error: Connection refused - services.testwalkonzone.com[192.168.0.4]

These are the lines from the different confs:

Anope:

RemoteServer 192.168.0.4 1028 "mypass"

UnrealIRCD

link services.testwalkonzone.com
{
username *;
hostname 192.168.0.4;
bind-ip 192.168.0.4:1028;
port 1028;
hub *;
password-connect "mypass";
password-receive "mypass";
class leaf;
options {
autoconnect;
};
};


Anyone any ideas?
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

Remove the autoconnect option, it's meaningless. Services programs generally do not open ports for listening (except for web servers and other non-IRC stuff), therefore Unreal servers can't connect to them. Also change bind-ip and port to * (by the way bind-ip is an IP address, not an IP:port pair). And to me class leaf doesn't seem to be OK, but probably you are right. In any case, you should change hub * to leaf *.
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

Making services a leaf is usually a bad idea because of JUPEs. If someone uses the JUPE command, services will be delinked.
-- codemastr
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Linking Services...

Post by jewles »

Code: Select all

link            services.test.com
{
	username	*;
	hostname 	192.168.1.1;
	bind-ip 	*;
	port 	7090;
	hub            *;
	password-connect "pass";
	password-receive "pass";
	class           servers;
};
something like what I posted above is what you are looking to use for linking services.
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

Well, I've just found a documentation on my homepage about linking Services: http://www.angrywolf.org/services.php. Maybe it needs corrections in some places (I haven't updated it a great while ago), but it's still better than nothing. I hope it helps.
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Re: Linking Services...

Post by aquanight »

jewles wrote:

Code: Select all

link            services.test.com
{
	username	*;
	hostname 	192.168.1.1;
	bind-ip 	*;
	port 	7090;
	hub            *;
	password-connect "pass";
	password-receive "pass";
	class           servers;
};
Just being nitpicky:

Code: Select all

ulines {
services.test.com;
};

link            services.test.com
{
	username	*;
	hostname 	192.168.1.1;
	bind-ip 	*;
	port 	7090;
	hub            *;
	password-connect "pass";
	password-receive "pass";
	class           servers;
};
With services, never ever forget the U:Line!
Post Reply