[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems running self-compiled IRCD on my 486 DX 33 Debian Linux 2.0 Server (long connection accept time)



-> Because I wanted a max. nickname length of 20 (not 9) I had to compile
-> the ircd server source on my own. I took the latest version from
-> ftp.irc.org/server. Compiling worked fine on my 486 Linux Server, but I
-> have the problem that every connection attempt from another LAN PC needs
-> about 25 seconds to be accepted (which is way to long). 

When you connect the IRC server, it connects back to ports 113 to get ident
reply. If you have mod_socks configured in iauth, it also checks port 1080 
if there are no socks running on it. Also, I am not sure if dns lookups
don't take some time and what's the dns tim eout in ircd.

So, check with tcpdump what data are going from ircd to know what causes the
delay.

-> After connecting, however, everything works fine. I have found some
-> indication on the web that the DNS lookup may be the problem (as I dont
-> have a DNS installed on my system). But when I set the /etc/resolv.conf
-> and nsswitch.conf not to look for any DNS and start the server with the
-> -s option (which should prevent iauth to start) it still doesn't work.
-> Strangely enough it works when I connect to the internet and set a
-> suitable nameserver. (But then I still have a connection accept time of 2
-> seconds, which actually is to much). By the way I compiled with #undef
-> SLOW_ACCEPT so that can't be the problem and I tried it with the undernet
-> source, too, which also didn't work.

slow_accept only adds one second (or two?) so that won't be the reason
-- 
 Matus "fantomas" Uhlar, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
 Warning: I don't wish to receive spam to this address.
 Varovanie: Nezelam si na tuto adresu dostavat akukolvek reklamnu postu.
 Nothing is fool-proof to a talented fool.