unrealircd + ircservices on Linux -- link specs

The UnrealIRCd team does not officially provide support for any services packages that you may be using or want to use. This forum is provided so the community can help each other with services issues.

Moderator: Supporters

Locked
linus
Posts: 7
Joined: Fri Sep 03, 2004 4:39 am

unrealircd + ircservices on Linux -- link specs

Post 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.
Ron2K

Post 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.
linus
Posts: 7
Joined: Fri Sep 03, 2004 4:39 am

Post 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.
linus
Posts: 7
Joined: Fri Sep 03, 2004 4:39 am

Post by linus »

one more thing:

my server name does resolve (dns) to my static ip.
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

If server and services are on the same machine, you can use 127.0.0.1 ...
linus
Posts: 7
Joined: Fri Sep 03, 2004 4:39 am

Post 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
linus
Posts: 7
Joined: Fri Sep 03, 2004 4:39 am

Post by linus »

ok aquanite, thought I tried that, but I'll try again

thanks for the tip
linus
Posts: 7
Joined: Fri Sep 03, 2004 4:39 am

Post 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??
linus
Posts: 7
Joined: Fri Sep 03, 2004 4:39 am

Post 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 !!!!!!!!!!!!!!!
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

As a sidenote: ircservices 5.0.40 has been released, you may want to upgrade sometime soon :o)
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Locked