Page 1 of 1
unrealircd + ircservices on Linux -- link specs
Posted: Fri Sep 03, 2004 4:46 am
by linus
I am running unrealircd v3.2.1 using tre 0.6.8 and Openssl 0.9.74 on debian. I am attempting to link up ircservices (5.0.38).
no matter what I do (i've googled and read faq's and both unreal's and ircservices forums) all I get is: Link denied - No mathing link configuration.
Would anyone care to post a vanilla link spec. I am running both servers off the same box. Nothing speical needed.
Any pointers would help.
Much appreciated.
Posted: Fri Sep 03, 2004 6:20 am
by Ron2K
Assuming that your server is
irc.yournetwork.tld with IP address 1.2.3.4, your services are
services.yournetwork.tld and you have a dedicated server port 6668:
UnrealIRCd:
Code: Select all
link services.yournetwork.tld {
username *;
hostname 1.2.3.4;
bind-ip *;
port 6668;
hub *;
password-connect "password";
password-receive "password";
class servers;
};
IRCServices will then have the following in ircservices.conf:
Code: Select all
RemoteServer 1.2.3.4 6668 "password"
ServerName "services.yournetwork.tld"
And it should work fine.
Note, don't try a
/connect services.yournetwork.tld in UnrealIRCD - it won't work.
Posted: Fri Sep 03, 2004 2:49 pm
by linus
I much appreciate your prompt response Ron.
I have updated my unrealircd.conf and ircservices.conf to reflect your post.
Now I get:
sockets: connect(0 -> my-external-ip:6668): Connection refused
in my ircservices.log file.
I am behind a router/firewall (linksys) with ports 6665 - 6669 forwarded to 192.168.1.3, the box in which I have ircd and services installed.
I tried 127.0.0.1 and 192.168.1.3 as well as the external (static) ip in the appropriate places as indicated in your post.
Any further hints would be appreciated.
Posted: Fri Sep 03, 2004 3:02 pm
by linus
one more thing:
my server name does resolve (dns) to my static ip.
Posted: Fri Sep 03, 2004 3:15 pm
by aquanight
If server and services are on the same machine, you can use 127.0.0.1 ...
Posted: Fri Sep 03, 2004 3:31 pm
by linus
ok
I noticed that my class servers was commented out, probably by me
I ensured everyhting was set according to your post Ron, unfortunately, I still get the following from the ircservices.log file:
[Sep 03 11:28:31 2004] IRC Services 5.0.38 starting up
[Sep 03 11:28:31 2004] httpd/main: Listening on 127.0.0.1:8425
[Sep 03 11:28:31 2004] unknown message from server (ERROR :Link denied (No matching link configuration) [@192.168.1.3.1040])
[Sep 03 11:28:31 2004] unknown message from server (ERROR :Closing Link: [192.168.1.3] (Link denied (No matching link configuration)))
[Sep 03 11:28:31 2004] Read error from server: Connection reset by peer
I am continuing to read/change/try
Posted: Fri Sep 03, 2004 3:31 pm
by linus
ok aquanite, thought I tried that, but I'll try again
thanks for the tip
Posted: Fri Sep 03, 2004 3:42 pm
by linus
From log ircservices.log
[Sep 03 11:38:14 2004] IRC Services 5.0.38 starting up
[Sep 03 11:38:14 2004] httpd/main: Listening on 127.0.0.1:8425
[Sep 03 11:38:14 2004] unknown message from server (ERROR :Link denied (No matching link configuration) [@127.0.0.1.1043])
[Sep 03 11:38:14 2004] unknown message from server (ERROR :Closing Link: [127.0.0.1] (Link denied (No matching link configuration)))
[Sep 03 11:38:14 2004] Read error from server: Connection reset by peer
Here are the (I think) relevant parts from unrealircd.conf:
listen *:6697
{
options
{
ssl;
clientsonly;
java;
};
};
listen *:6665-6669;
link services.CanadoreRocks.ca
{
username *;
hostname 127.0.0.1;
bind-ip *;
port 6668;
hub *;
password-connect "LiNk";
password-receive "LiNk";
class servers;
};
and from ircservices.conf:
RemoteServer 127.0.0.1 6668 "LiNk"
ServerName "services.CanadoreRocks.ca"
Does anyone see any glaring errors/omissions??
Posted: Fri Sep 03, 2004 4:17 pm
by linus
ok folks:
I updated my config files for both unrealircd.conf and ircservices.conf as posted by Ron, re-booted my system and now everyhting works! much appreciated !!!!!!!!!!!!!!!
Posted: Sun Sep 05, 2004 11:37 pm
by w00t
As a sidenote: ircservices 5.0.40 has been released, you may want to upgrade sometime soon

)