Can't connect to IRCd - Disconnects immediately

These are old archives. They are kept for historic purposes only.
Post Reply
CDR
Posts: 2
Joined: Mon Mar 28, 2011 5:23 pm

Can't connect to IRCd - Disconnects immediately

Post by CDR »

HI,

I managed to compile Unreal 3.2 successfully and have it running - but when I /server <ip>:<port> my IRC client instantly disconnects with:
[18:11:16] * Connecting to <ip> (6669)
[18:11:16] * Disconnected
[18:11:46] * Connect retry #1 <ip> (6669)
[18:11:47] * Disconnected
Any Idea why? I Have done some additional tests below to try and aid the solution.

When I telnet into the box running unreal from a remote box - I get ping timeout - when I do it from localhost to unreal server, it gives back:
roothostname:/# telnet <ip> 6669
Trying <ip>...
Connected to <ip>.
Escape character is '^]'.
ERROR :Closing Link: [<ip>] (Ping timeout)
Connection closed by foreign host.

in my IRC client when I /dns <ip> it doesn't give a hostname that's IP matches the original IP, it comes back with one in *reverse.lstn.net if it makes any difference.
This is on a VPS server, which IRC is allowed.

Netstat results:
root@hostname:/# netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:587 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6669 0.0.0.0:* LISTEN
Nmap results:
PORT STATE SERVICE
6669/tcp open irc
Thanks for any help, I've been trying various google results for the past 24hrs and it is starting to really annoy me!
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Can't connect to IRCd - Disconnects immediately

Post by Syzop »

The things I immediately think of are:
1) class::recvq or sendq set extremely low
2) listen block with ssl when you actually want a non-ssl port.
The DNS thing is no problem / unrelated.
If you can't figure it out, then could you paste your class { } and listen { } blocks?
(I won't be able to help you further..busy.., but perhaps someone else can)
CDR
Posts: 2
Joined: Mon Mar 28, 2011 5:23 pm

Re: Can't connect to IRCd - Disconnects immediately

Post by CDR »

Thanks syzop!

It was down to sendq - it was set at 1000 but when I changed it to 100000 (that I had seen in an example conf file I just googled) and started unreal - it connected!

Thank you so much.
Regards
Post Reply