IRCu ChangeLog.10

-- Released 2.10.10.pl15 no matter who's doing the killing or where. Previously, differences in QUITs and in the messages sent to the killed client could help make a  partial map of the network; now that these messages are all uniform, there is no way to tell. -Kev parameter limit imposed by the RFC -Kev interpreted as a prefix -Kev hopcount of 0 if user is using /who on him/herself -Kev /whois ; correct spelling of HEAD_IN_SAND_IDLETIME to  HEAD_IN_SAND_WHOIS_IDLETIME -Kev bad. Now only include user@host when sptr is a client. -Kev pl14 broke my script. Fixed. -Kev server -Kev origins -Kev as appropriate; the latter required the modifications to sendto_match_butone -Kev PRIVMSG or NOTICE -Kev numerics to clients are remapped to come from the local server :/ -- Isomer (/whois now uses the second parameter for which server to use, ie:  /whois  will query 's server.) -- Released 2.10.10.pl14 (You got any issues with that punk?) know -- Kev names -- Kev wallusers to servers. isolates wallops entirely. No server notices sent by wallops. -- Isomer -- Released 2.10.10.pl13 -- Released 2.10.10.pl12 --- Released 2.10.10.pl11.(release) and make hub hiding more reliable --Isomer --Isomer -- Isomer zombie; fixes an overrun where we generate a huge number of spaces in the names reply without length-checking them properly -- Kev --Isomer --Isomer Information was previously available via /trace, however tended to flood you off if you weren't on a good connection. Requested by Mr_RIP -- Isomer --- Released 2.10.10.pl10 '/names 0' now returns verbose listing, '/names' simply returns ENDOFNAMES. Disallow harmfull /names usage. --Gte proxies --Isomer. add changes for new code to s_user.c, ircd.c --Bleep If connection is from localhost use the server alias for the client host. --Bleep follow same mechanism --Bleep values. --Bleep since we never want to display it there is really no reason to have the info. --Bleep code. Add note to members in client struct that aren't used for any remote client code, didn't want to actually move them this close to release (paranoia) --Bleep address display. --Bleep --Bleep name from the M:line anyhow, (redundant information) --Bleep turn off asserts and heap checking code. Moved host name dns query for listener virtual host ports to dead code and use me.name for the listener name (no sense in looking up the name if we don't want to display it). Change direct bump of unknowns in s_bsd.c to Count_newunknowns(UserStats) for consistency. --Bleep reverse DNS mismatch. Fixed bug in s_auth that that caused incorrect counts for unknown clients. Replaced missing server notice for SNO_IPMISMATCH. --Bleep the hostname in the conf if no one knows it. --Bleep lost C:line in s_conf.c (I don't think I've ever seen this happen) --Bleep online user to discover the real hostname or IP address of any connected or unconnected server listed in the configuration. This applies to opers and regular users. The name in the M:line is the name used for connecting and all informational messages. --Bleep it looks like a fully loaded server may not be able to handle a net break without shedding a few clients. --Bleep server hosts or IP addresses to users now. This needs to be verified. Changed version to u2.10.10 per Isomers suggestion. --Bleep This almost completes the IP address hiding changes for alpha, there are still a few stats commands available to users that will show the server addresses, but they can be easily disabled or only show '*'s to non-opers. --Bleep find the "meg a minute" problem, using the debug allocator on the production network with more than 1000 clients on a server may cause problems if you don't have a lot of memory. (This does not seem to be a problem with non-debug builds) --Bleep others, and the information that was shown about them was inconsistant. list is not an effective way to gain information anyway. Reformatted and touched up readme.who as well. --Isomer added stuff to 'TODO' --Isomer stuff with mirc anymore, needs discussion --Isomer --Isomer m_ping, and fixed Makefile bug using bsdmake. --Isomer Set receive and send buffers in correct order to enable flow control for clients and support fat pipes better for servers. Finally got it right :) See Stevens "Unix Network Programming" v1 p 191-193  --Bleep  is sane. --Bleep  usage for sillyness. --Bleep  local, file descriptor is only in local client struct  --Bleep  FIXME code from table_gen, readd FIXME code to channel.c,  I hope I got this right. --Bleep  off when using Solaris compiler --Bleep  have it available for new conf parser development --Bleep  bogosity in poll macros. --Bleep  of XXX:o:v doesn't send XXX: if no modes set. --Bleep  multiple outstanding dns query core. --Bleep  when burst line is created. --Gte  --Bleep  change --Bleep  anti-hack stuff is already done in version.c anyhow.  "Shhh..., don't tell the admins ( .)( .) you're being watched"  --Bleep  bug where server would core on sending a server notice --Isomer  server --Bleep  bug found by Jesus --Bleep  and IsUPing/GetUPing/SetUPing macros --Bleep  allow X SILENCE X +*@*.com or X C #blah 947477407 core the server. --Bleep finished or tested. --Bleep servers set a channel mode. --Isomer a chptr instead of the first member, and special case'd +k users (see comment in code for more details) --Isomer rules --Bleep this temp made possible a bug where if a client lower in the list managed to exit a client higher in the list, a dangling reference to the already exited client would be left in the local_cptr array. Found by Quantum by loading 100's of clones with the same nick. --Bleep lists. --Isomer lchanmode patch update --Bleep broadcast to directed message (bug fix). --Bleep allow compile option WALLOPS_OPER_ONLY for networks that want to disable wallops for users. --Bleep --Gte no... -- Isomer change code to use new struct. --Bleep conditional. --Bleep the branches. --Bleep if a dbuf allocation fails, attempt to flush all send buffers except for the one we are trying to build (we're twiddling with the list etc..) if the allocation fails a second time, _then_ bail. --Bleep call flush connections to free up some buffers (safe here). --Bleep spectacularly --Bleep a dbuf the first time, this may prevent the server from dropping connections during netbursts. --Bleep the character attribute changes --Bleep connections to server ports. --Bleep removed portnum and server_port global variables, server port in M:lines is ignored, server ports now need to be defined in the P:lines. Add SERVER_PORT config option to allow: '/connect server.net.dom' without specifying the port. --Bleep default server port for outgoing connections in m_connect. --Bleep put Nemesi's table generation code and macros back in, the tables are now automagically generated whenever the table_gen.c file is modified, use a slightly different mechanism to get the tables in the executable. Add reference data file to test dir for character attributes. --Bleep auth reply undernet rules checking. --Bleep test, fixed a couple bugs, fixed username bug in server NICK processing --Bleep commit for review, still a bit more to do --Bleep --Bleep work on prototype handler for new parser. --Bleep --Bleep start cleaning up handlers --Bleep and whowas.c --Bleep --Bleep --Bleep add new command handlers --Bleep const fixups for send.c --Bleep clean up file scope buffer mess. --Bleep cleanup --Bleep to use same algorithm with different formatting functions --Bleep --Bleep --Bleep new parser. --Bleep Add new file for pong messages, convert ping and pong to use numerics. Test pings and pongs on testnet. Fix numeric nick bug in channel.c. --Bleep minor bug in ping handling. --Bleep fix string formatting bug in m_kill --Bleep clean up local client registration for nicks. --Bleep add user_set_away function. --Bleep message formatter. --Bleep kill originated from --Bleep checked --Gte and renamed ircd_strtok --Bleep --Bleep still a bit broken yet, more to come. --Bleep s_err.c, s_serv.c, s_user.c, s_misc.c: Add Isomers passivelag0-1.patch fixed minor bug in macros --Bleep added Membership struct for channel associations, change user/channel lookups to use new struct. --Bleep a bit, new function find_no_nickchange_channel --Bleep message handlers --Bleep p10 patch --Bleep links --Bleep depending on client status. --Bleep whocmds.c, whowas.c: Add Isomers p10ify patch, tokenize server to server commands --Bleep generation, patch level is now set in patchlevel.h by simply bumping the number in the PATCHLEVEL string. --Bleep --Bleep runmalloc was core dumping on squits and unable to handle or detect double frees, the memory debug code can be disabled by  compiling with NDEBUG defined --Bleep move code out to new function (make_zombie) --Bleep "Write error to blah: Socket not connected" bug --Bleep More socket code cleanup, move file descriptor to local part of client struct, use cptr->error to handle the errno of any socket error, fix bug in IPcheck that ends up only disallowing every 256th clone, Add more ipcheck forgiveness to s_user.c (needs work). Changed IPcheck_local_connect and IPcheck_connect_fail interfaces to use struct in_addrs instead of client structs to allow delaying the allocation of the client struct till after the check was done. Added can_send function to send.c (should be called before work is done but right now it's called just before trying to send (needs work)) to turn it on (NO_INVITE_NETRIDE) --Bleep messages do not cause connecting server to spew ERR_REGISTER_FIRST messages at the server it's connecting to. --Bleep END_OF_BURST, EOB_ACK, PRIVMSG and NOTICE Server to Server. About 8-10% Bandwidth saving on BURSTS. --Gte use enumeration for IO results. --Bleep in poll. --Bleep patch. Use numeric 005 RPL_ISSUPPORT to convey server features to clients. --Bleep name to determine different user@host for nick collides. --Isomer to be left in client hash table after a name change. Discovered by Quant and Isomer. --Bleep table code changes, thanks Quant and Isomer --Bleep clients --Isomer from 283/284 to 346/347 to match IRCnet numerics --Bleep Add badchan patch by WildThang --Bleep Add lchanmode patch by David M --Bleep of it is, the server builds and connects to other servers, but thats as far as it's been tested so far. --Bleep removed BOOT_INETD/BOOT_CONSOLE code, unused non-functional --Bleep removed BOOT_OPER/STAT_MASTER code, original patch by Isomer --Bleep changes. fix logic bug that caused the first client that matched the mask to be  returned regardless of whether or not it's name matched, this can result in wierd problems where the wrong server/client could be returned from the hash table lookup. Removed code that moved client to head of hash table chain for it's bucket when it's looked up, if the hash table is working reasonably well this just wastes cpu. from hash table, added assert for hnext == 0 in list.c to make sure that client was actually removed from the hash table before freeing it's memory. these things are handled by porting layer code. behavior some code from opercmds.c needs to be moved here still every client connected. the log should ever exceed 512 bytes, but it doesn't hurt to be paranoid. b) adds /invite to list the channels you're currently invited to.   c) adds lotsa new numerics --Isomer more readable, fix bug introduced by name changes status for listeners (P:lines) be set on a single interface or multiple interfaces (multi-homed hosts) conf line code. be checked for worse case situations on server connects stats l command, use CurrentTime instead accumulate the server port on a rehash auth queries during the auth check so the reference count doesn't get borked in the IPcheck code. cleanup check_server, check_client (still not completely tested, may be   a bit buggy yet). establishment for servers and clients, release reference count for the dns reply and set the socket buffer size to IRCD_READBUF_SIZE for servers and 2K for clients. to think it was a client port listener. established. the auth module expects connections not to be linked anywhere and owns the client struct until it's done. translation, hopefully they will be a bit easier to maintain. fix port update bug (needed to call mark_listeners_closing before initconf) conditions. On server startup a no-memory handler is installed which calls server_restart if an allocation fails. Allocations are now checked in the memory allocation functions. Added asserts after every allocation to verify for debug. globals, const correctness fixes, add ircd_string code, rework network code, use dns callbacks, removed a lot of redundant code in progress, prepare for adding auth module the last place they belonged was in the network code... feh ircd_strncpy function support this removes a number of comparisons that were unneeded in    code that should run reasonably fast. to separate compilation units, os generic contains the original code (start here). decls. The functions are complex enough that inlining just bloats the code other xopen library calls, moved crypt to ircd_xopen. Removed s_ping. There are much better tools available that actually work correctly. The s_ping code was a waste of resources, and has historically given incorrect results (it never worked correctly). build on Solaris, still have some warnings there. TODO: wrap crypt and things that depend on _XOPEN_SOURCE in their own file so it doesn't bother the network code. let the automatic stuff take care of it, it does it better than humans. dependencies, rename MIN and MAX to IRCD_MIN IRCD_MAX all headers in   C files are sorted, removed as many duplicate includes as I could find (dozens) general cleanups. Mutter the correct runes to get the protoype for crypt included where it was needed. support for unreliable signals. add config dir to include path
 * 1) ChangeLog for ircu2.10.10
 * 2) $Id: ChangeLog.10 440 2002-12-29 02:55:36Z pierreg0 $
 * 3) Insert new changes at beginning of the change list.
 * 1) $Id: ChangeLog.10 440 2002-12-29 02:55:36Z pierreg0 $
 * 2) Insert new changes at beginning of the change list.
 * 1) Insert new changes at beginning of the change list.
 * Fiddle with /KILL and various exits to make the user experience uniform,
 * Split ISUPPORT numeric into two numerics, so as not to exceed the 15
 * Turn on HEAD_IN_SAND_REMOTE...oops -Kev
 * Send prefixed error messages to other servers, so ERROR doesn't get
 * Reverse sense of HEAD_IN_SAND_WHO_HOPCOUNT to do what was intended; use a
 * Allow a user to see his/her own idle time without having to do
 * Fix a missing ')' in the idle time stuff -Kev
 * Include ircd_policy.h in whocmds.c -Kev
 * Fixed bug in idle time, thanks hektik -- Isomer
 * Update 005 to be compliant with other networks -- Isomer
 * Hide hop count -- Isomer
 * Hide idletime unless you explicitly ask for it -- Isomer
 * /wallops and /wallusers would dump core because of the previous change--my
 * /wallops and /wallusers would leave out the user@host--noticed because
 * Fix several compile warnings, including the one in table_gen.c -Kev
 * Fix a bug in m_silence.c that rendered it uncompilable -Kev
 * Hopefully make mode clears during bursts appear to originate from local
 * Fix several things to send server<->server protocol messages with numeric
 * Rework directed notices and mass-messages to use numerics and tokens
 * Redefined how sendto_match_butone works, since it's only used with
 * Bumped patchlevel to pl15(development) -Kev
 * Corrected reverse-sense of HEAD_IN_SAND_REMOTE test in m_whois -Kev
 * Clean up logic in m_whowas, corrected numeric reply -Kev
 * Finally fixed /whois to tell you what your own server is -Kev
 * Clean up logic in add_banid with some well-placed DupString's -Kev
 * Hide which server performed a nick collision kill -- Isomer
 * To allow for remote whois not giving away the remote server, all remote
 * All remote queries are disabled for users, except /whois -- Isomer
 * Fixed /who showing server name -- Isomer
 * Fixed burst showing linking server -- Isomer
 * Fixed burst bans showing linked server -- Isomer
 * Fixed /whowas showing server name -- Isomer
 * Changed (then fixed) /LINKS to output an empty links list -- Isomer
 * Make netsplit server notice say the right thing
 * Final fix for HEAD_IN_SAND_WHOIS_SERVERNAME
 * Fix a bug with implementation of HEAD_IN_SAND_NETSPLIT
 * Permit users to find out what server they're on, since they already
 * Added HEAD_IN_SAND_WHO_SERVERNAME to cover final source of server
 * Fixed wallops, wallusers now sends wallops to local clients,
 * Added host to /kill messages -- Isomer
 * Fixed whois (opers can see server names) -- Isomer
 * Implement walluser -- Bleep
 * stats fixed -- Isomer
 * trace disabled from non opers -- Isomer
 * server name removed from whois (but not /who, shrug!) -- Isomer
 * netsplits are now represented with "*.net *.split" -- Isomer
 * Done /links -- Isomer
 * Modifications to map as suggested by nighty -- Isomer
 * Wallops is the only code that uses sendto_ops_butone now, this
 * HEAD_IN_SAND_SNOTICES done -- Bleep
 * HEAD_IN_SAND_WALLOPS done -- Bleep
 * HEAD_IN_SAND_DESYNC done -- Bleep
 * HEAD_IN_SAND_MAP done -- Isomer
 * According to CFV-165, buring our head in the sand to try and
 * hide from DoS - First pass -- Isomer
 * As requested by hop: hidden keys are shown as "*" not "" -- Isomer
 * As requested by Buff: allow admins to *disable* below behavour -- Isomer
 * As requested by Adriel, compile time option to disable mo_wallops
 * Don't allow two copies of the server to start -- Isomer/Kev
 * Release 2.10.10.pl12 before Mr_RIP threatens physical violence -- Isomer
 * Don't 'hubhide' nick's in /trace (oops!) -- Isomer
 * Allow K:line by realname, updated client connection logging -- Gte-
 * ircd/m_join.c: use ERR_BANNEDFROMCHAN instead of ERR_BADCHANNAME -- Kev
 * Fixed G-lined (reason), thanks to dfx -- Isomer
 * Added reason to the "G-lined (reason)" quit messages. -- Isomer
 * Removed 'for nick[1.2.3.4]' from quit messages, they're redundant
 * ircd/s_user.c (hunt_server): add 'No such server' message back
 * ircd/s_bsd.c: remove ALWAYSFLUSH - the problem wasn't ircu's fault
 * ircd/m_names.c (m_names): don't add a space if the user's a
 * added 'ALWAYSFLUSH', if you thought the furgeson flusher was bad...
 * Fixed /USERHOST again. Horribly embarrased.  Thanks again Liandrin
 * Added extra field to /stats Y showing how many people are in that class.
 * Fixed 'BADCHAN' resetting itself to 'Y', reported by Gator --Isomer
 * Released 2.10.10.pl10
 * Backported /names optimisation from 2.10.11.
 * Fixed ERR_NOSUCHNICK bug in userhost, thanks to Liandrin --Isomer
 * Conceal more bugs in IPcheck --Isomer
 * Add 'POST' as a unregistered command to disconnect people abusing web
 * Conceal bugs in IPcheck --Isomer
 * Fix for changing the wrong define --Isomer
 * Fix for the easter buggy. --Isomer
 * Fix for rpong --Run
 * Fix for other IPcheck bug, thanks BLMet. --Bleep
 * Fix for IPcheck bug, rewrite IPcheck from scratch (mostly),
 * Shorten connection timeout for auth queries to 60 seconds
 * Fix for ident bug --Isomer
 * Fix for rping/rpong --Gte
 * Add m_pong to parser handler --Bleep
 * Fix for EXTENDED_NUMERICS bug doh!!! --Bleep
 * Fix for Max Undernet Server bug --Bleep
 * Fix for PRIVMSG<->NOTICE translation from hubs --Bleep
 * Fix for Bogus protocol strings for P9 servers --Bleep
 * Hookup UPING code again, cleanups --Bleep
 * Convert numerics back to mask and shift extended numerics
 * Fixed bogus errno return on Solaris --Bleep
 * Fixed core on RPING bug, tokenized RPING --Bleep
 * Remove add_local_domain entirely, unused --Bleep
 * Merge u2_10_10_beta06 create branch u2_10_10_beta07 --Bleep
 * Remove size_t from socket calls, audit usage of size_t
 * Fix for OSF1, RES_NOALIASES not defined there. --Bleep
 * Don't bother doing hostname lookup or setting me.sockhost
 * Bugfix broken N:line check in chkconf --Maniac
 * Bugfix, fix clients occasionally getting stuck in IPcheck
 * A few little cleanups in check_pings, removed yet another
 * Bugfix, autoconnects displaying server IP address to opers.
 * Remove names from /stats p, since its always the server
 * Unborked throttling. --Bleep
 * Fix two stupid bugs, related to IP mismatch kills. --Bleep
 * Clean up configuration, make it a bit easier for admins to
 * Added option to kill any connecting client with a forward and
 * Added a few more little name tweaks, no sense in looking up
 * Moved to beta archive, bumped patchlevel, fixed message for
 * Finished host hiding changes, it should not be possible for any
 * Removed code in dbuf.c that flushes the dbufs if the server runs out
 * Finish IP address cleanup, alpha should be clean for not displaying
 * Remove server IP address from info line for connecting servers.
 * Fix possible (but not likely) memory leak in debug allocator, couldn't
 * Captialisation fixes, just to keep certain ppl quiet. --Isomer
 * Removed +s channels from /list. They were shown sometimes, but not
 * Added MAP to ISUPPORT, added doc/features.txt --Isomer
 * Added suggestions made by scripters. more info for ISUPPORT, and
 * More TODO items 'done'. P:'s now ignore '*'s.  ping shouldn't do funky
 * Typo fixed. Now I'm annoyed. --Isomer
 * Right, Makefile's gonna work now or I'm going to get REALLY annoyed at it.
 * TODO, m_ping, ircd/Makefile.in: Added note to TODO, added info to
 * s_bsd.c, listener.c, s_user.c, s_serv.c, s_bsd.h:
 * ircd.c (main): added idiot checking to make sure MAXCONNECTIONS
 * send.c: Don't let negative fd's break stuff, audit sentalong
 * send.c (sendto_common_channels): bug fix, code assumed client
 * table_gen.c, channel.c: make FIXME changes, removed
 * Makefile.in: Add purify def, fix so CFLAGS don't error
 * fda.c (fda_free): fix compile error on Solaris --Bleep
 * configure.in: add SunOS case to detect Solaris --Bleep
 * os_solaris.c (os_send_nonb): fix solaris compile error --Bleep
 * exaconf.2: add file from conf design to docs directory to
 * fda.c (fda_free): fix memory leak, doh!!! --Bleep
 * hash.c (addNickJupes): fix buffer overrun --Bleep
 * s_bsd.c (read_message(poll)): fix uninitialized memory read
 * channel.c (send_user_modes): change to send XXX:ov instead
 * s_bsd.c (connect_server): bugfix for connect/rehash/connect
 * channel.c (send_user_modes): bugfix for burst not sending modes
 * m_gline.c: change NumServ(cptr) to NumServ(sptr) found by Gte
 * config-sh.in: add WildThangs BADCHAN config fix --Bleep
 * config-sh.in: add Runs restart bugfix --Bleep
 * Makefile.in: make sure version.c gets regenerated when checksums
 * Makefile.in: remove hash.c/crypt/sums idiocy, all of the ridiculous
 * hash.c (m_hash): fix count bugs --Bleep
 * m_squit.c (mo_squit): fix off by one, /quote SQUIT bug --Bleep
 * ircd_relay.c: oops, changed the wrong one. Fixed previous fix. --Isomer
 * Makefile.in, ircd_relay.c: Fixed 'make depend', added dependancies, fixed
 * m_kick.c (ms_kick): fix core on kick message coming from
 * config.in: remove CRYPT_LINK_PASSWORD option --Bleep
 * doc/readme.www: Applied Runs' doc patch --Bleep
 * client.h: Add member to client struct to try to aggravate the
 * client.h: Remove IsListening macros and flags, add FLAGS_UPUNG
 * m_silence.c, m_create.c: check for IsServer(sptr) don't
 * os_*.c, res.c: clean interface for os_recvfrom_nonb --Bleep
 * uping.c, uping.h: new files for UDP pings, these aren't hooked up yet, or
 * channel.c: find_member_link: Fail fast for Servers, prevents core when
 * channel.c, channel.h, various.c: Changed find_member_link to take
 * ircd/Makefile.in: Changed gnu specific $^ for $< in table_gen
 * INSTALL: Explained about CVS --Isomer
 * example.conf: Point to coder-com@ for help configuring the server. --Isomer
 * INSTALL: Make things a bit more plain. --Isomer
 * s_bsd.c (read_message (poll)): removed local_cptr array using
 * INSTALL: Added instructions for -lcrypt FAQ --Isomer
 * INSTALL: Added instructions for -lresolv FAQ --Isomer
 * INSTALL: Added instructions for making ./configure executable --Isomer
 * numeric.h: Merged in some more numerics that other ircds user --Isomer
 * IPcheck.c: Fix gramatical error to keep pedants happy. --Isomer
 * IPcheck.c: Allow -DNOTHROTTLE for debugging purposes. --Isomer
 * m_stats.c: make stats c available to opers only, TEMP_HACK --Bleep
 * IPcheck.c: Fixed outdated comment. Thanks Quantum --Isomer
 * ircd_reply.c: Fix the fix, silly typo. thanks Bleep --Isomer
 * ircd_reply.c: added check for people without nicks. --Isomer
 * doc/Authors, ircd/version.c.SH: updated /info and maintainer
 * channel.h, channel.c, m_join.c, m_mode.c: add David M's
 * s_auth.c: fix ident bug, comment code for rule. --Bleep
 * m_invite.c (m_invite): Fix syntax error, missing ')'. -- Isomer.
 * m_invite.c (m_invite): tokenize invites, change from accidental
 * m_time.c (m_time): send tokenized time messages --Bleep
 * s_user.c (set_user_mode): Send wallops to everyone by default
 * s_misc.c (exit_one_client): tokenize client quit message to other servers.
 * m_kick.c: you would have thought I'd fix all of them the first time, but
 * m_kick.c: Fixed missing space after TOK_KICK -- Isomer
 * m_burst.c: Fixed netrider kick bugs -- Isomer
 * s_user.c: Bug fix --Bleep
 * s_user.c: only send wallops to opers --Bleep
 * s_user.c: enforced undernet policy. -- Isomer
 * s_user.c: replace user_modes with struct UserMode array
 * s_user.c (set_user_mode): clean up switch statement --Bleep
 * channel.c (set_mode): fixed -k foo bug, extra == 0 typo in
 * dbuf.c (dbuf_alloc): fixed count bug, we _have_ to count it in
 * dbuf.c, send.c, s_bsd.c, send.h: bahh finally did it right,
 * s_bsd.c, send.c: if dbuf_put fails for send or receive buffers,
 * dbuf.c (dbuf_put): back out previous change, afaict it would fail
 * dbuf.c (dbuf_put): call flush_connections(0) if we can't allocate
 * m_privmsg.c: fix IDLE_ON_MSG fix -- Isomer
 * m_privmsg.c, parse.c: fix IDLE_ON_MSG bug --Bleep
 * m_ison.c (m_ison): Temp hack to fix missing null terminator. --Bleep
 * m_nick.c (m_nick): fix null nick reply bug --Bleep
 * ircd_string.c, match.c: fix a couple possible issues with
 * s_auth.c, ircd.c: turn off connection status messages for
 * ircd.c, s_conf.c, m_server.c, ircd.h, s_conf.h:
 * config-sh.in: change PORTNUM to SERVER_PORT now used for
 * example.conf: document changes to M:line for server port --Bleep
 * ircd_chattr.h, ircd_string.h, ircd_string.c, table_gen.c:
 * s_auth.c (check_ident_reply): add function that implements
 * s_misc.c (date): added Runs Y2K patch --Bleep
 * m_privmsg.c: work on server handlers, hookup new code to parser,
 * ircd_chattr.c, m_privmsg.c: Work on privmsg code a bit more,
 * os_bsd.c, configure.in: add os dependency file for bsd
 * m_privmsg.c, ircd_string.c: little cleanups for privmsg
 * m_connect.c, s_conf.c: clean up /connect handling code
 * m_away.c, m_admin.c, m_close.c, m_connect.c:
 * whocmds.c, whowas.c, *.c: split out handlers from whocmds.c
 * s_serv.c, m_*.c: split out handlers from s_serv.c
 * querycmds.c, m_*.c: split out handlers from querycmds.c
 * opercmds.c, m_stats.c, m_connect.c, parse.c, handlers.h, *.c
 * channel.c, m_names.c: new file for names handler --Bleep
 * channel.c, m_list.c: new file for list handler --Bleep
 * channel.c, m_topic.c: new file for topic handler --Bleep
 * channel.c, m_burst.c: new file for burst handler --Bleep
 * channel.c, m_create.c: new file for create handler --Bleep
 * channel.c, m_destroy.c: new file for destroy handler --Bleep
 * channel.c, send.c, m_join.c: new file for join handler,
 * channel.c, m_mode.c: new file for mode command handler,
 * m_silence.c: split out SILENCE handler to a new file,
 * m_ison.c: split out ISON handler to a new file, cleanup --Bleep
 * m_userip.c: split out to new file, change userhost and userip
 * m_userhost.c: split out to new file --Bleep
 * send.c: add new function send_buffer, cleanup godemode ick a bit
 * m_wallchops.c: split out wallchops handler --Bleep
 * m_cprivmsg.c: split out m_cprivmsg and m_cnotice.
 * m_pass.c, s_user.c: split out m_pass, pass message handler
 * m_oper.c: split out m_oper.c from s_user.c, setup to use
 * m_pong.c, m_ping.c, parse.c, s_user.c, channel.c:
 * m_ping.c, s_serv.c, parse.c: new file for pings, fixed a
 * m_nick.c, m_kill.c: clean up nick code for servers, still needs work
 * m_nick.c, s_user.c, ircd_chattr.c: add new file for NICK command,
 * m_away.c, s_user.c, parse.c: split out m_away handlers for client,
 * m_kill.c, ircd_reply: Rework handling of kill from server, add new error
 * m_kill.c (mo_kill): Rework handling for kill from operator on server
 * m_kill.c: new message handler file for kill --Bleep
 * configure.in, ircd/Makefile.in: added automatic os checking to autoconf
 * m_quit.c: new message handler file for quit --Bleep
 * m_privmsg.c: new message handler file for privmsg --Bleep
 * ircd_string.c, support.c, support.h, *.c: moved strtoken to ircd_string
 * channel.c, s_user.c, s_debug.c, send.c, channel.h: finish membership code
 * channel.c, more cleanups of membership code and macros --Bleep
 * channel.c, s_misc.c: more cleanup in channel link code, most likely
 * querycmds.h (Count_remoteclientquits): fix minor bug --Bleep
 * ircd.h, querycmds.h, struct.h, channel.c, list.c, map.c, opercmds.c,
 * channel.h, channel.c, s_user.c, s_debug.c, s_user.c:
 * channel.c, channel.h, s_user.c: cleanup channel and user code
 * parse.c, m_defaults.c: added default handlers and hooked up new
 * *.c, struct.h: added Isomer's passivelag patch and, the second
 * ircd_reply.[ch]: new files for commonly used replies --Bleep
 * m_proto.[ch]: new file for protocol command support, needed for zip
 * client.h, parse.c, msg.h: add code to support multiple message handlers
 * s_bsd.c, packet.c: code cleanup prep for zip links --Bleep
 * channel.c, opercmds.c, ircd.c, s_serv.c, s_user.c, querycmds.c,
 * s_user.c (m_nick): killed goto --Bleep
 * client.h, *.c: moved client stuff to client.h --Bleep
 * version.c.SH, patchlevel.h, .patches: change version string
 * ircd_alloc.c, channel.c: fixup warnings in release build (NDEBUG)
 * fda.h, ircd_alloc.h, fda.c, ircd_alloc.c, fda_t.c: new files,
 * channel.c (remove_user_from_channel): refactor function --Bleep
 * channel.c (m_kick): refactor function a bit, put all checks at top
 * s_bsd.c (completed_connection): fixed stupid
 * struct.h, send.h, send.c, s_bsd.c, IPcheck.c, s_user.c, *:
 * channel.c: Added Isomers netride2.patch, still needs a config option
 * parse.c, msg.h: Added silent ignores for notices so connect progress
 * s_serv.c, s_user.c, channel.c, send.c: Tokenised BURST, NICK,
 * channel.c (m_join): servjoin patch --Isomer
 * ircd_osdep.h, os_*.c, s_bsd.c, send.c: more cleanups in socket code,
 * s_bsd.c: clean up select and poll code a bit more, fixed message pacing bug
 * supported.h, numeric.h, s_user.c, s_err.c: Added Isomers features
 * s_user.c (m_nick): IP differ patch, use IP address instead of host
 * hash.c (hChangeClient): Bug fix. Fixed bug that caused stale entries
 * hash.c (hSeekClient): fixed bug I introduced when reversing my hash
 * opercmds.c (m_lusers): send limited luser info to remote
 * numeric.h, channel.c, s_err.c: Changed invite list numerics
 * config-sh.in, gline.h, numeric.h, gline.c, opercmds.c, s_debug.c, s_err.c:
 * config-sh.in, channel.h, numeric.h, channel.c, s_debug.c, s_err.c:
 * channel.c (cancel_mode): removed incorrect assert --Bleep
 * *.c: removed P9 support, not everything is completely gone but most
 * ircd.h, ircd.c, s_bsd.c:
 * struct.h, ircd.h, ircd.c, s_user.c, s_bsd.c:
 * s_user.c (m_nick): removed redundant check for acptr
 * hash.c (hSeekClient, hSeekChannel): roll back some of hash.c changes
 * hash.c (hSeekClient, hSeekChannel): removed unused variable from previous
 * hash.c (hSeekClient, hSeekChannel): fix compile error from status changes,
 * hash.c, list.c: added code to zero out cptr->hnext when client removed
 * various: misc cleanups
 * support.c: removed dead code
 * configure.in: remove unneeded checks for minix, aix, ansi/posix headers
 * res.c: remove calls to add_local_domain, these were causing incorrect
 * opercmds.c: cleanups in gline code
 * s_bsd.c: increase socket buffers to 65535 for server connections
 * crypt/mkpasswd.c: mutter correct runes to get file to compile without warnings
 * gline.c, gline.h: add new files to attempt to encapsulate glines a bit,
 * opercmds.c (m_gline): fix local gline bug
 * s_conf.c (initconf): add password change on rehash fix
 * s_conf.c (rehash): fix rehash freeing and reloading the motd/rmotd files for
 * ircd_log.c: use 2K fixed buffer instead of vsnprintf, nothing we write to
 * res.c: change resolver timeouts to 5 seconds, per RFC1123
 * channel.c: more little cleanups, no code changes
 * channel.c: a) stops iterating over /invite list
 * ircd_signal.c, ircd.c: fix bug in signals
 * channel.c (can_send) add Isomer's changes
 * channel.c: add send_ban_list, cleanup a few names, reformat some parts to make
 * ircd_chattr.[ch]: add new macro for checking K:line time chars vs comments
 * listener.c (show_ports): add code to show client/server and hidden status
 * s_conf.c: bug fixes, cleanups, add code to set server port and hidden
 * s_conf.c (initconf): add interface selection code to P:lines so ports can
 * s_conf.c: rewrote C/N line code, removed N:lines entirely, clean up server
 * s_conf.c (check_server): move ip checks out of resolved or not so they can
 * res.c (resolver_read): add Isomer's debug info for failed resolver queries
 * opercmds.c (m_stats): remove call to time(0) for each local client in
 * s_conf.c (initconf): only do lookups on C:lines instead of both C/N lines
 * res.c: fix resolver hang bugs
 * s_conf.c (rehash): remove extra semicolin that was causing c/n lines to
 * s_conf.c (rehash): add portnum back to the listener list so we don't loose
 * s_auth.c, listener.c: remove warnings for normal errors
 * s_auth.c, listener.c: use osdep non-blocking calls instead of locals
 * s_auth.c, listener.c: add code for non-blocking recovery for listeners and
 * s_auth.c (auth_error): call IPcheck_connect_fail if the client socket dies
 * numnicks.c: yet another extended numerics bug fix... sheesh
 * s_bsd.c, s_conf.c: move conf line code from s_bsd.c to s_conf.c, cleanup
 * parse.h, parse.c, s_debug.c: remove privmsg logging code
 * numnicks.c (FindXNServer): fix off by one bug
 * common.h, common.c: removed unused files
 * s_bsd.c (net_connect_completed): new function, called after connection
 * channel.c, crule.c: cleanup bogus casts
 * listener.h (add_listener): fix bug that caused server a server port listener
 * s_user.c, s_serv.c: release reference to dns_reply when connection is
 * s_bsd.c (completed_connection): removed call to start_auth for connects
 * listener.c (release_listener): fix inverted assert client exit bug
 * ircd_chattr.c: fix signed/unsigned warnings with Sun Workshop (+w)
 * ircd_chattr.c, ircd_chattr.h: new files for character attributes and case
 * s_conf.c (rehash): fixed logic bug that caused and infinite loop,
 * *.c, runmalloc.[ch]: change the way the server deals with out of memory
 * *.c *.h: move authentication and dns to authentication module rename a few
 * s_bsd.c: finish this stage of net code work
 * *.c, *.h: rewrite select and poll code, add listener.[ch] net.code overhaul
 * s_bsd.h, struct.h: moved client struct macros back into struct.h for now,
 * ircd.c (open_debugfile): removed client for debug file
 * ircd_string.h, ircd_string.c: new files for string processing, add
 * *.c, *.h: rename ircstp to ServerStats
 * *.c, *.h: rename now to CurrentTime
 * listener.h, listener.c: new files for listener ports
 * include/ircd_defs.h: new file for global definitions (HOSTLEN, USERLEN)
 * struct.h: add local_flag to client struct, to make local/remote detection simpler
 * s_bsd.c (read_message): split out separate versions for select and poll
 * s_bsd.h, various source files: remove the rest of the unix domain socket
 * os_*.c, res.c, ircd_osdep.h: add os_recvfrom_nonb for resolver
 * os_*.c, s_bsd.c, s_auth.c, ircd_osdep.h: add os_get_sockname, os_get_peername
 * bsd.h, bsd.c: merge into s_bsd
 * ircd_osdep.h, os_generic.c, os_linux.c, ircd_osdep.h: move os variable stuff
 * s_bsd.c, send.c, struct.h: remove pyr (pyramid) finally
 * res.h, res.c, s_misc.c: cleanup headers/dependencies in res.h
 * match.h: include sys/types.h before netinet/in.h, broken BSD system headers
 * ircd/Makefile.in: remove CFLAGS from link line, use LDFLAGS instead
 * ircd.c: add missing include for sys/socket.h
 * common.h (strChattr, strCasediff): remove pointless non-portable inline
 * ircd_xopen.h, ircd_xopen.c, s_user.c, s_serv.c: porting layer for crypt and
 * s_uping.c, s_uping.h, s_bsd.c, s_misc.c, s_bsd.h, ircd.c, s_debug.c:
 * ircd/s_bsd.c, res.c, s_user.c, s_serv.c: little fixups to allow code to
 * ircd/s_bsd.c: cast option arg to const char* for setsockopt (solaris)
 * ircd/Makefile.in: removed hard coded dependencies for hash.o chkconfig.o,
 * *.c *.h: remove register keywords, attribute macro junk, cleanup
 * *.c *.h: dependency cleanups up to querycmds.c
 * ircd.c, bsd.c, s_bsd.c: move signal handling code to ircd_signal.c
 * ircd_signal.c, ircd_signal.h: new files, use only POSIX signals remove
 * *.h *.c: include guards, dependency cleanups
 * Configure.in, setup-sh.in: include guards, config.h includes setup.h
 * sys.h: include guards, remove hard coded path to config.h
 * s_user.c (hunt_server): fix logic bug
 * numnicks.c (SetServerYXX): fix off by one error
 * multiple files (n2k patch): add code to handle extended numerics