Hi, while testing B-lines on a testserver i figured out that hostname/class matching is somehow broken. Or is it a further strange ircd feature ? Y:11:90:0:1:100000 B:11::irc.uni-stuttgart.de:6665: doesn't work at all. (Btw, class 11 was actually full :->). Y:11:90:0:1:100000 B:foobar::irc.uni-stuttgart.de:6665: always works, no matter what the clients hostname is. Further testing did show me: Never works when first field starts with a numeral, works "too good" otherwise. I suppose irc2.9.3b17/ircd/s_conf.c lines 1425 to 1428 are wrong, but wasn't able to fix ist. Anyway while testing I got annoyed because ircd lacked a "/stats b" and hacked it in. See attachment. Regards, Eumel -- +----------------------------------------------------------------------------+ | Michael 'Eumel' Neumayer <Michael.Neumayer@xxxxxxxxxxxxxxxxxxxx> | | Eumel@IRC ! LinuX inside ! pgp-key available | +----------------------------------------------------------------------------+
*** irc2.9.3b17.orig/ircd/s_serv.c Wed May 21 22:19:30 1997 --- irc2.9.3b17/ircd/s_serv.c Sat May 31 01:00:22 1997 *************** *** 1186,1192 **** ** it--not reversed as in ircd.conf! */ ! static int report_array[15][3] = { { CONF_ZCONNECT_SERVER, RPL_STATSCLINE, 'c'}, { CONF_CONNECT_SERVER, RPL_STATSCLINE, 'C'}, { CONF_NOCONNECT_SERVER, RPL_STATSNLINE, 'N'}, --- 1186,1192 ---- ** it--not reversed as in ircd.conf! */ ! static int report_array[16][3] = { { CONF_ZCONNECT_SERVER, RPL_STATSCLINE, 'c'}, { CONF_CONNECT_SERVER, RPL_STATSCLINE, 'C'}, { CONF_NOCONNECT_SERVER, RPL_STATSNLINE, 'N'}, *************** *** 1201,1206 **** --- 1201,1207 ---- { CONF_LOCOP, RPL_STATSOLINE, 'o'}, { CONF_SERVICE, RPL_STATSSLINE, 'S'}, { CONF_VER, RPL_STATSSLINE, 'V'}, + { CONF_BOUNCE, RPL_STATSSLINE, 'B'}, { 0, 0, 0} }; *************** *** 1351,1356 **** --- 1352,1360 ---- timeofday - acptr->firsttime); } break; + case 'b' : case 'B' : /* B lines */ + report_configured_links(cptr, parv[0], CONF_BOUNCE); + break; case 'c' : case 'C' : /* C and N conf lines */ report_configured_links(cptr, parv[0], CONF_CONNECT_SERVER| CONF_ZCONNECT_SERVER|
Attachment:
pgp00000.pgp
Description: PGP signature