[ircd-ratbox] stats P bug(?), rc4 and rc6

marc at egotistical.net marc at egotistical.net
Mon Apr 21 23:51:47 EDT 2003


After removing a port from the listen {} block, the port stops
accepting connections, but is still listed in /stats P.

All the documentation below is from a 1.1rc4 server, I did *not* check
rc5, but did verify it on rc6 as well. The version response for the
rc6 server is included at the bottom for the sake of completeness.

/version irc.scr3am.com:

úíú Server irc.scr3am.com: ircd-ratbox-1.1rc4(20030219_0). egGIKMpZ
TS5ow
úíú STD=i-d STATUSMSG=@+ KNOCK EXCEPTS=e INVEX=I MODES=4
MAXCHANNELS=50 MAXLIST=beI:50 MAXTARGETS=50 NICKLEN=15 TOPICLEN=300
KICKLEN=300 :are supported by this server
úíú CHANTYPES=#& PREFIX=(ov)@+ CHANMODES=eIb,k,l,imnpst
NETWORK=NullusNET CASEMAPPING=rfc1459 CHARSET=ascii CALLERID : are
supported by this server

original listen {} block:
listen {
        host = "24.73.223.108";
        port = 6665 .. 6669, 7000 .. 7005, 9000;
};

/stats P

úíú P 6665       24.73.223.108
úíú P 6668       24.73.223.108
úíú P 7001       24.73.223.108
úíú P 7002       24.73.223.108
úíú P 7003       24.73.223.108
úíú P 7004       24.73.223.108
úíú P 7005       24.73.223.108
úíú P 9000       24.73.223.108
úíú P 6669       24.73.223.108
úíú P 6666       24.73.223.108
úíú P 6667       24.73.223.108
úíú P 7000       24.73.223.108
úíú P : End of /STATS report

modified listen {} block (to remove port 6667):
listen {
        host = "24.73.223.108";
        port = 6665, 6666, 6668, 6669, 7000 .. 7005, 9000;
};

port 6667 was removed, the /stats P below after /rehash:

úíú P 6665       24.73.223.108
úíú P 6668       24.73.223.108
úíú P 7001       24.73.223.108
úíú P 7002       24.73.223.108
úíú P 7003       24.73.223.108
úíú P 7004       24.73.223.108
úíú P 7005       24.73.223.108
úíú P 9000       24.73.223.108
úíú P 6669       24.73.223.108
úíú P 6666       24.73.223.108
úíú P 6667       24.73.223.108
úíú P 7000       24.73.223.108
úíú P : End of /STATS report

port 6667 is still listed/reported, but:

> telnet irc.scr3am.com 6667
Trying 24.73.223.108...
telnet: Unable to connect to remote host: Connection refused

so the port really is removed, but still listed in a /stats P.

/version irc2.scr3am.com (the rc6 server that was also tested):

::: ircd-ratbox-1.1rc6(20030418_2). irc2.scr3am.com egGIKMpZ TS5ow
::: STD=i-d STATUSMSG=@+ KNOCK EXCEPTS=e INVEX=I MODES=4
MAXCHANNELS=50 MAXLIST=beI:50 MAXTARGETS=50 NICKLEN=15 TOPICLEN=300
KICKLEN=300 are supported by this server
::: CHANTYPES=#& PREFIX=(ov)@+ CHANMODES=eIb,k,l,imnpst
NETWORK=NullusNET CASEMAPPING=rfc1459 CHARSET=ascii CALLERID ETRACE
WALLCHOPS are supported by this server

primalz
marc at egotistical.net



More information about the ircd-ratbox mailing list