/*********************************************************************** Nefarious IRCu ChangeLog 2006-08-22 Neil Spierling * include/ircd_struct.h: Bumped up fakehost size. * ircd/m_oper.c: I think is the cause of the OPER crash bug. (fixed) 2006-08-22 Neil Spierling * include/client.h: Bumped up dnsblhost size. * ircd/s_user.c: Tweaked a couple of snprintf's, these could be causing the burst bug. 2006-07-27 Alex Schumann * ircd/s_user.c: Thwart unlikely buffer overrun if a user matched a _LOT_ of rbls with long names. * ircd/m_topic.c: Fix buffer overrun in /topic with host in topic set and a 30 char nick. This leads to a crash, and memory corruption. It is advised everyone either upgrade to this build or set F:NICKLEN:29 or lower immediately. 2006-07-23 Alex Schumann * ircd/Makefile.in: Stop overwriting ircd.motd and similar files on make install... 2006-07-21 Neil Spierling * ircd/parse.c: Add some logging for missing prefix errors. 2006-07-11 Neil Spierling * ircd/gline.c: Tweaked username to realusername. * ircd/shun.c: Tweaked username to realusername. 2006-07-10 Alex Schumann * include/patchlevel.h: bumping this trunk to 1.1 2006-07-11 Neil Spierling * ircd/gline.c: Dont check GlineIsBadChan() here, its done else where. 2006-07-11 Neil Spierling * ircd/version.c.SH: Use md5sum that comes with nefarious. (again opps). 2006-07-11 Neil Spierling * configure: Ran autoconf. * configure.in: Added check for getopt.h * include/md5.h: A lot of systems dont seem to come with md5sum. This messes up the output in INFO, so heres a small md5sum program. * ircd/Makefile.in: Compile md5sum.c into md5sum at the start of complimation. * ircd/md5sum.c: See md5.h entry. * ircd/version.c.SH: Use md5sum that comes with nefarious. 2006-07-11 Neil Spierling * config.h.in: Ran autoheader. * configure: Ran autoconf. * configure.in: Removed nick glines. They never worked properly and it made the code damn hard to read. * doc/example.conf: Added feature HIS_SHUN_REASON. On by default, the shun reason will NOT be displayed to the target(s) when they are shunned. * doc/readme.features: Added HIS_SHUN_REASON. * include/gline.h: See configure.in entry. * include/ircd_features.h: See example.conf entry. * include/shun.h: Removed nick bits. * ircd/gline.c: See configure.in entry. Also grabbed a fresh copy of gline.c and readded our extra bits just to be safe. * ircd/ircd_features.c: See example.conf entry. * ircd/m_nick.c: See configure.in entry. * ircd/m_svsnick.c: See configure.in entry. * ircd/Makefile.in: Ran make depend. * ircd/s_debug.c: See configure.in entry. * ircd/s_err.c: See configure.in entry. * ircd/s_user.c: Make use of HIS_SHUN_REASON here. * ircd/shun.c: Redone using the fresh gline.c, shuns dont include nicknames now as that code is quite dodgy. * ircd/whocmds.c: See configure.in entry. 2006-07-10 Neil Spierling * ircd/m_mark.c: Woops one too many %s's. * ircd/s_user.c: No need to send it out anymore as we fully burst silences. 2006-07-10 Neil Spierling * ircd/m_silence.c: Send out the usual silence notice if a server or service adds a silence for you. 2006-07-10 Neil Spierling * ircd/m_oper.c: Apply an old fix with remote opering that was never applied to the trunk. * ircd/send.c: Silences apply to channel messages and notices. This needs a wee bit more testing *hint hint*. 2006-06-05 Neil Spierling * ircd/s_serv.c: Burst silences on link. 2006-06-05 Neil Spierling * ircd/m_silence.c: Send all ignores to all servers. This needs testing on our own testnet, committing so that the others can try it. Dont use this revision for a day or 2 atleast please. * ircd/send.c: Fixed a warning. 2006-06-03 Alex Schumann * ircd/m_exempt.c: experimental patch for exempt crash bug * ircd/m_silence.c: doesn't core anymore, but needs improvement to burst properly. Currently locally REMOVING a silence bursts, but not setting one locally.... 2006-05-25 Alex Schumann * ircd/send.c: Made blines work to override umode +d for privmsgs starting with that prefix, and removed the previous (broken) offchannel cmdchar support. 2006-05-24 Alex Schumann * ircd/m_topic.c: fixed using wrong ident field for topic set 2006-05-22 Neil Spierling * include/patchlevel.h: Bumped patchlevel. 2006-05-22 Neil Spierling * include/handlers.h: Added decleration for ms_svsinfo. * include/msg.h: Added SVSINFO (SI). * ircd/Makefile.in: Added m_svsinfo.c * ircd/m_svsinfo.c: Services only command to change a users real name / info line. * ircd/parse.c: Added SVSINFO. 2006-05-22 Reed Loden * ircd/m_burst.c: Clean-up the "fix" somewhat and use a different method of checking. 2006-05-22 Neil Spierling * ircd/m_burst.c: Possibly fixed a bug were testing on our testnet, will know for sure when we update the testnet. + fix fix :) -rubin 2006-05-22 Neil Spierling * ircd/m_silence.c: Allow servers to set servers, we can now do centralized silence lists in X3. * ircd/s_conf.c: Tweaked one of rubin's comments. 2006-05-21 Alex Schumann * ircd/s_conf.c: Improved dnsbl support for more than 8 bit return values, such as zz.countries.nerd.dk. Added error when using 040 x line syntax with 050 to log (no rank). 2006-04-11 Neil Spierling * configure: Something updated this at some point, autoconf most likely. * ircd/channel.c: If your +e exempted then you can get past +ilkr now. If your able to get an exempt then you should be able to get past these modes. 2006-02-22 Alex Schumann * configure: new version from output of above * configure.in: Added check for __res_mkquery in addition to res_mkquery as some 64bit linux distros seem to only have the hidden one. * config.h.in: setup define for res_mkquery __ prefix * ircd/res.c: Added define for res_init and res_mkquery functions 2006-02-12 Alex Schumann * ircd/s_stats.c: Applied a patch from muer to fix spacing problem in stats v. 2006-01-20 Reed Loden * ircd/m_account.c: Add missing breaks, more sanity checks, whitespacing changes, and cleaned-up protocol_violation() reply. * ircd/ssl.c: Whitespacing changes and use of |unsigned int| instead of |int|. 2006-01-08 Alex Schumann * ircd/ssl.c: attempted to make the ssl write code default to retrying instead of killing clients in unknown/unhandled circumstances. trying to fix 'the ssl bug'. 2005-10-28 Neil Spierling * include/s_conf.h: GCC 4.x compile fixes. * ircd/s_conf.h: GCC 4.x compile fixes. 2005-10-03 Neil Spierling * include/version.h: Declare othertext; * ircd/m_info.c: Display md5sums only to remote info queries. * ircd/version.c.SH: md5sums go into othertext now. * Commit 1336 Change: * ircd/m_join.c: Fixed a bug with FEAT_CREATE_CHAN_OPER_ONLY. 2005-10-03 Neil Spierling * ircd/Makefile.in: Send the source path when generating version information. * ircd/version.c.SH: .12 Style md5sum output in INFO. 2005-10-03 Neil Spierling * ircd/m_whois.c: Fixed a bug with WHOIS. Should of realised this before instead of just reverting. 2005-10-03 Neil Spierling * ircd/Makefile.in: Ran make depend. * Undernet Updates, see Changelog. 2005-09-08 Neil Spierling * ircd/m_topic.c: Some changes to topic so that Nefarious wont core when it gets a 0.4.0 style topic from a server. There will probably be some oddness (nothing major) if you have 0.4.0 servers and 0.5.0 servers but that will clear itself as the network updates itself. 2005-08-30 Neil Spierling * ircd/s_user.c: Trialing without an assert. 2005-08-29 Neil Spierling * ircd/m_topic.c: Fixes with handling topic bursts containing the setter. 2005-08-27 Neil Spierling * include/s_user.h: Added extra param for determining if a sethost is comming from a server or not. (set_hostmask) * ircd/m_sethost.c: Updated set_hostmask calls. * ircd/s_user.c: Update set_hostmask calls aswell as the function itself. 2005-07-28 Neil Spierling * README: Small change to test svn mails. 2005-07-20 Alex Schumann * ircd/channel.c: Fix : in multi-line bursts. Update comment about buffer below. 2005-07-15 Neil Spierling * ircd/channel.c: Bump up a buffer. 2005-07-15 Neil Spierling * ircd/m_svspart.c: As with the svsjoin commit before, dont use this revision yet. Only committing it so i can update my other servers easy for testing. Just a few changes. 2005-07-14 Neil Spierling * ircd/channel.c: Fixed exempt sending bug, if there are no bans, just exempts. Then an channel is bursted like this: AS B #rah 1121309805 ANAAD:o :% ~ *!*@exempt.com The ircd handles it fine on netbursts as far as i can tell. X2 also handles it fine, however X3 will need to be changed. As for other services, im not sure who else supports nefarious non p10 exempts. 2005-07-07 Neil Spierling * Changelog.nefarious: Updated CVS_VERSION bits. * ircd/version.c.SH: Updated CVS_VERSION bits. 2005-07-07 Neil Spierling * ircd/m_svsjoin.c: Few changes, dont use this revision yet. Only commiting so that i can update the testnet easily to test this out. 2005-06-23 Neil Spierling * include/client.h: Doxyfy'ed. * include/crule.h: Doxyfy'ed. * include/dbuf.h: Doxyfy'ed. * ircd/client.c: Doxyfy'ed. * ircd/crule.c: Doxyfy'ed. * ircd/dbuf.c: Doxyfy'ed. 2005-06-23 Neil Spierling * Most taken from Undernet IRCu 2.10.12, of course modified where nessecary. * include/class.h: Doxyfy class.h. * include/IPcheck.h: Doxyfy IPcheck.h. * ircd/class.c: Doxyfy class.c. * ircd/IPcheck.c: Doxyfy IPcheck.c. 2005-06-21 Neil Spierling * Topic tracking updates and wildcard searching in LIST. Both from .12 * Below By Michael Poole * include/channel.h: Delete MODE_LISTED and is_listed(). Replace ListingArgs.chptr with ListingArgs.bucket. Move declaration of list_next_channels() to.. * include/hash.h: here, and drop the "nr" argument. * ircd/channel.c: Remove redundant scan of local clients for channels being listed. Delete list_next_channels() function. * ircd/hash.c: Add list_next_channels() here, revising to not use MODE_LISTED and to use ListingArgs.bucket instead of chptr. Also decide when to stop sending RPL_LISTs based on a half-full sendq. * ircd/m_burst.c, ircd/s_misc.c: Delete mention of MODE_LISTED. * ircd/m_list.c: Delete mention of MODE_LISTED. Unconditionally call list_next_channels(sptr). * ircd/s_bsd.c: Remove the "nr" argument to list_next_channels(). * ircd/Makefile.in: Update dependencies (for hash.c). * Below By Andrew Miller * include/channel.h (ListingArgs): Add the wildcard member. * ircd/m_list.c (param_parse): Add support for channel wildcards. * ircd/m_list.c (show_usage): Document the new format. * ircd/hash.c (list_next_channels): Check channel wildcard in list. 2005-06-19 Neil Spierling * ircd/s_debug.c: Backported a couple of .12 things for debugging and stats purposes. 2005-06-18 Neil Spierling * doc/example.conf: Added new feature EXEMPT_EXPIRE, default set to 172800 seconds. * include/ircd_features.h: Added FEAT_EXEMPT_EXPIRE. * include/ircd_struct.h: Added lastseen to dnsbl exempt list struct. * include/mark.h: Added new MARK type for sending out updated last seen exempt times. * ircd/ircd_features.c: Added FEAT_EXEMPT_EXPIRE. * ircd/m_exempt.c: Added functions for processing the exempt list for updating and expiring where nessecary. * ircd/m_mark.c: Do a process_exempts if we get an updated last seen time, process_exempts will only do the updating bits and not the expiring bit. * ircd/s_err.c: Added %Tu to RPL_DNSBLEXEMPTLIST. * ircd/s_user.c: Run process_exempts on connect against a clients real host and ip address. * ircd/s_serv.c: Send out the lastseen time on burst so all servers are in sync. 2005-06-10 Neil Spierling * ircd/s_user.c: Small bug fix with MARK's not being sent for users who are exempting via class or loc methods (dnsbl scans). 2005-05-09 Neil Spierling * include/querycmds.h: Added conncount. * ircd/m_lusers.c: Display conncount with highest connection notice. * ircd/s_user.c: Increment conncount on each connect. 2005-05-09 Neil Spierling * doc/example.conf: Added feature ERR_OPERONLYCHAN. * include/ircd_features.h: Added feature ERR_OPERONLYCHAN. * include/ircd_reply.h: Added struct for message formatting. * ircd/ircd_features.c: Added feature ERR_OPERONLYCHAN. * ircd/ircd_reply.c: Added functions for formatting messages. * ircd/m_join.c: Apply formatting for ERR_OPERONLYCHAN. * ircd/s_err.c: Turned ERR_OPERONLYCHAN reply to %s. 2005-05-09 Neil Spierling * doc/example.conf: Added rank field to X:Lines. * include/client.h: cli_dnsbl holds the highest rank dnsbl, cli_dnsbls hold all the dnsbls matched in a char format, and cli_sdnsbls is a structure containing all the matched dnsbls. cli_dnsbls is generated off this for user in WHOIS. * ircd/mark.h: Added MARK_DNSBL_DATA. * ircd/s_conf.h: Added rank field into the blline struct. * ircd/channel.c: Check all matched dnsbls from the cli_sdnsbls struct for bans and exempts. * ircd/m_mark.c: Added MARK_DNSBL_DATA so we can send and recieve multiple dnsbls, one per send. MARK_DNSBL has been adjusted, removing the cli_dnsbl field and the reason field. * ircd/m_whois.c: If cli_dnsbls is empty then generate a new list from cli_sdnsbls. It will only be empty on a remote server after it has linked. Once its generated it will not be generated again. * ircd/s_conf.c Added rank field and functions to add, find and remove from the cli_sdnsbls struct. * ircd/s_err.c: Added rank field to STATSXLINE. * ircd/s_misc.c: Clean up the cli_sdnsbls struct on quit. * ircd/s_serv.c: Burst MARK_DNSBL and MARK_DNSBL_DATA. * ircd/s_stats.c: Added rank field to STATSXLINE. * ircd/s_user.c: Generate a cli_dnsbls list and burst MARK_DNSBL and MARK_DNSBL_DATA. 2005-05-08 Neil Spierling * doc/example.conf: Added DNSBL d flag for rejecting clients. * include/client.h: Added ClearDNSBLAllowed(), Is/SetDNSBLDenied(). * ircd/s_conf.c: If a client is matched on a line containing a d flag then dont allow the client through even if matched on another line. We then set the denied flag so that they cant be allowed on any further line. 2005-05-05 Neil Spierling * ircd/m_invite.c: Some fixes to the invite syntax, needs some further testing over multiple servers. If it works out fine then i will consider applying it to the 0.4.0 cvs branch. 2005-04-26 Neil Spierling * ircd/m_nick.c: Removed code that shouldnt of been added in the last commit. 2005-04-25 Neil Spierling * doc/example.conf: Shun F:Lines. * doc/readme.shun: readme.gline modified. * include/client.h: Shun privs. * include/handlers.h: Declerations for m/s_shun etc. * include/ircd_features.h: Declerations for added features. * include/ircd_struct.h: Added variable to hold the shun reason. * include/msg.h: Added SHUN. * include/numeric.h: Added numerics for shun. * include/shun.c: Declerations. * ircd/client.c: Make use of the new privs for shun. * ircd/ircd_features.c: Added new features for shun. * ircd/m_nick.c: Do a shun check here aslong as the user has a host. * ircd/m_shun.c: Copy of m_gline.c modified. * ircd/Makefile.in: Added m_shun.c && shun.c. * ircd/parse.c: For most commands check to see if the user is shunned or not. While we are at it to an expiry check too. * ircd/s_debug.c: Make some debugging stats avail for shuns. * ircd/s_err.c: Added numerics. * ircd/s_serv.c: Burst shuns on links. * ircd/s_stats.c: Added stats S. * ircd/s_user.c: Check shuns on connect && send a notice if so. * ircd/shun.c: Main functions for SHUN, based off gline.c with nickgline code and minus the channel gline code. 2005-04-25 Neil Spierling * include/patchlevel.h: Bump to 0.5.0-dev. * ircd/channel.c: Send who set the topic when bursting topics. * ircd/m_topic.c: When a topic comes in with the person who set the topic (ms_topic), make sure we make the topic set by that person when parsing it. No more not knowing who actually set the topic when a server splits and rejoins. 2005-04-19 Neil Spierling * Undernet sync. 2005-04-10 Neil Spierling * include/patchlevel.h: 0.4.0 Release time.. yes seriously. 2005-04-11 Reed Loden * ircd/m_invite.c: Fixed crash bug due to a missing parameter for the ERR_ACCOUNTONLY reply. 2005-04-10 Reed Loden * configure: Ran autoconf (regenerated). * configure.in: Added --with-optimization from .12 and added some added AS_HELP_STRING() invokes to clean up ./configure --help. * README: Updated documentation. * ircd/m_exempt.c: Changed "Removed" to "removed". * ircd/version.c.SH: Added missing closing bracket. 2005-04-04 Neil Spierling * configure: regenerated. * configure.in: Adjusted the version in preperation for the upcomming release. This version on affects configure stuff. Also note that this change does not mean Nefarious is released, we are just making preperations. * README: Small cleanup. * README.Cygwin: Important notice added. * ircd/version.c.SH: Added Rubin. 2005-04-03 Neil Spierling * doc/readme.log: Added DNSBL Section. * include/ircd_log.h: Added DNSBL logging type. * ircd/ircd_log.c: See above. * ircd/m_exempt.c: Log dnsbl stuff. * ircd/m_mark.c: As above. * ircd/s_auth.c: As above. * ircd/s_conf.c: As above. * ircd/s_user.c: As above. 2005-04-02 Reed Loden * include/s_auth.h: Added prototypes for DNSReply struct and auth_dnsbl_callback() function (used in ircd/res.c). * include/supported.h: Renamed +A to +a. * ircd/ircd_features.c: Made the FEAT_OPER_FORCE_OPMODE default to TRUE (people were having a hard time figuring this out). * ircd/m_account.c: Performed some miscellaneous whitespacing. Removed some unnecessary lines at EOF. * ircd/m_mode.c: Fixed a GCC warning and made the logic in an if statement a lot more readable. * ircd/m_svsnick.c: Performed some miscellaneous whitespacing. * ircd/res.c: Removed unneeded prototype now that it is handled in include/s_auth.h (where it should have been done earlier). Performed some miscellaneous whitespacing. * ircd/s_conf.c: Performed some miscellaneous whitespacing and grammatical changes. 2005-04-03 Neil Spierling * include/client.h: Added ClearDNSBLMarked(). * ircd/s_user.c: If a user has loc'ed and is marked then skip marking their host and unmark them. Their normal hidden host (style 1) should kick in and work fine. 2005-04-01 Alex Schumann * doc/example.conf: added F:EXTENDED_ACCOUNTS * doc/readme.features: added F:EXTENDED_ACCOUNTS * ircd/m_account.c: Redid m_account() to move backward compatability code to an F line. The old way was overrunning the parv array. Added tons of protocol validity checks. * ircd/m_mode.c: Fixed a core when +k users set bans. Thanks to Jaden for discovering this on the production net... :/ 2005-03-31 Alex Schumann * ircd/m_account.c: check for null in decode_auth_id (crash on pLaYa's net) 2005-03-31 Neil Spierling * ircd/channel.c: Fixed a bug with style 2 and banning sethost users. Also applied to exempts. * ircd/s_conf.c: Few unused vars removed. 2005-03-29 Alex Schumann * ircd/ircd_alloc.c: remove test code never ment to be committed. * ircd/res.c: do not cache certain types of ip aliases when the lookup is for an rbl. This appears to solve the false positives with sorbs. (and added): Also dont find them either. The cache appears to be working right now. gonna upgrade afternet. * ircd/s_conf.c: Rewrite of find_blline from nearly scratch. not yet well tested but committed to put on air* and look at. * ircd/s_conf.c: tested all but the bitmap part, and here made it work. * ircd/ssl.c: added EBUSY and EAGAIN to errno's not to die on. 2005-03-30 Neil Spierling * ircd/s_auth.c: Woops changed the wrong one. * ircd/s_conf.c: Turn dhname strtok loop into a strtok_r loop. Also turned dhname into a normal char. 2005-03-30 Neil Spierling * ircd/m_svsnick.c: Bug fix: NICK was being sent twice to users. 2005-03-30 Neil Spierling * ircd/s_auth.c: Turned a static char into a normal char. * ircd/s_conf.c: Bug fix with S:Lines. * ircd/s_err.c: Bug fix with S:Lines (reeds fault). * ircd/ssl.c: Couple of lines moved so it will compile. 2005-03-28 Alex Schumann * ircd/s_auth.c: reformatted some stuff so i could read it. Trying to figure out why RBL stuff is so broken :/ * ircd/s_conf.c: Several conf line clear_* functions were freeing memory but not re-terminating the global head. Someone please look at this and tell me if im missing something... 2005-03-27 Alex Schumann * ircd/s_bsd.c: Applied a connection fix from .12 may help ssl * ircd/ssl.c: Save errno before Debug() calls. 2005-03-28 Neil Spierling * ircd/querycmds.c: Fixed the reading of the tune file, LUSERS will come out properly now. 2005-03-26 Reed Loden * include/numeric.h: Swap RPL_STATSSLINE to numeric 245 (other IRCds use this). * ircd/m_oper.c: Renamed +A to +a. * ircd/s_err.c: Renamed +A to +a. * ircd/s_user.c: Renamed "b:line" to "B:line" in a comment. 2005-03-26 Neil Spierling * ircd/channel.c: Dont destroy channels when -z is removed for now. If your wondering why drop into #evilnet. Its a complicated issue that there isnt an easy way to solve it at the moment. 2005-03-23 Reed Loden * .cvsignore: Revert inadvertent addition of configure to the cvsignore list. * include/ircd_features.h: Renamed FEAT_CHMODE_A to FEAT_CHMODE_a. * ircd/channel.c: Renamed MODE_ADMINONLY from +A to +a. Performed some miscellaneous whitespacing and grammatical changes. * ircd/ircd_features.c: Renamed FEAT_CHMODE_A to FEAT_CHMODE_a. * ircd/ircd_signal.c: Removed excess lines at EOF. * ircd/m_account.c: Fixed a bug where if the account name began with 'M' or 'U', bad things would happen (only if sending service does not support LOC). == should have been !=. :/ * ircd/m_burst.c: Renamed MODE_ADMINONLY from +A to +a. * ircd/m_clearmode.c: Added MODE_ADMINONLY to the list of modes to be cleared. * ircd/m_exempt.c: Miscellaneous whitespacing and grammatical changes. * ircd/m_join.c: Renamed MODE_ADMINONLY from +A to +a. * ircd/m_mark.c: Miscellaneous whitespacing and grammatical changes. * ircd/map.c: Removed excess lines at EOF. * ircd/s_stats.c: Fixed a bug that was causing FEAT_STATS_C_IPS not to work. * ircd/s_user.c: Renamed MODE_ADMINONLY from +A to +a. 2005-03-22 Alex Schumann * ircd/s_user.c: Dont send null host in mark, send "notmarked" to keep param count right. ..now with works! * ircd/s_serv.c: Dont send null host in mark, send "notmarked" to keep param count right. ...now with works! 2005-03-23 Neil Spierling * ircd/channel.c: Ok -z is hopefully fixed now. * ircd/m_mode.c: If you are using mode_parse it could result in a destroy_unregistered_channel if you are doing a -z. 2005-03-22 Alex Schumann * ircd/channel.c: sv: You cant destroy that chptr its used more down farther in that function... (as state.chptr) * ircd/m_mark.c: fixed some parv confusion * ircd/s_conf.c: added an assert for flags * ircd/s_user.c: properly initalise flagbuf. 2005-03-22 Neil Spierling * ircd/channel.c: Fixed a small issue with -z'ing an empty channel. (Non crash bug). Wont know for sure till the rest of the test net is updated, currently ive done testing with 2 servers seperatly and the bug is fixed. 2005-03-22 Neil Spierling * ircd/channel.c: Added a missing check for persist (doesnt fix a known non critical bug) * ircd/m_mark.c: Added a %s to CMD_MARK. * ircd/s_user.c: Added a %s to CMD_MARK. 2005-03-21 Alex Schumann * ircd/s_conf.c: attempting to fix crash bug 2005-03-14 Neil Spierling * ircd/m_exempt.c: Small fix. 2005-03-14 Neil Spierling * ircd/s_user.c: Added NICKLEN to the inital length of host and ip check for dnsbl exempts. Changed HOSTLEN to SOCKIPLEN for the ip mask. 2005-03-14 Neil Spierling * ircd/m_exempt.c: Needed changes for our web exempt module. Send notices if the exemption is already there when adding or isnt there when trying to remove move it. Also fixed a bug with syncing exempts when removing them. * ircd/s_user.c: Check both nick!user@host and nick!user@ip for exemptions as apache doesnt usually resolve hosts so it will be giving us ips in the exemption module on the website. 2005-03-11 Reed Loden * include/patchlevel.h: Changed 0.3.0 to 0.4.0-dev so as not to confuse people that can't see why the tarball is different from CVS. * ircd/Makefile.in: Ran "make depend". * ircd/ircd_relay.c: Swapped a strlen() check for the EmptyString() macro. * ircd/m_account.c: Added UserStats.authed incrementer (moved from s_user.c). * ircd/s_auth.c: Cleaned-up some whitespacing. * ircd/s_user.c: Corrected a spelling typo and removed broken UserStats.authed incrementer. 2005-03-03 Neil Spierling * ircd/ircd_relay.c: If a stripped message (+S) is 0 in length then dont send it. Found by pLaYa. 2005-03-02 Neil Spierling * ircd/s_conf.c: Added some sanity checks. 2005-03-01 Alex Schumann * ircd/ssl.c: Added some Debug() info to try and track down the Write error: 0 during netsplit bug for ssl users. 2005-03-01 Neil Spierling * ircd/s_user.c: Dont display RPL_HOSTHIDDEN if we are setting the dnsblhost. 2005-03-01 Neil Spierling * ircd/m_fakehost.c: Allow any server to set a fakehost. * ircd/m_mark.c: Search for a nick now, also send a nickname now. * ircd/s_serv.c: Send a nickname in MARK. * ircd/s_user.c: Any marking commands are to be done after the N token! Send +x's to the client and other servers so that they hide the clients host with the dnsblhost. Send a nickname in MARK. 2005-03-01 Neil Spierling * ircd/m_account.c: Temp debugging stuff. * ircd/m_mark.c: Temp debugging stuff. * ircd/s_user.c: Adjusted CMD_MARK some wierdness going on here. 2005-03-01 Neil Spierling * ircd/m_mark.c: Handle new parm plus send out MARK to any other servers. * ircd/s_user.c: Send the dnsblhost along to other servers. * ircd/s_serv.c: Send the dnsblhost along to other servers. 2005-03-01 Neil Spierling * ircd/Makefile.in: Ran make depend. 2005-02-28 Neil Spierling * doc/example.conf: Added new feature DNSBL_MARK_FAKEHOST. Default TRUE. When true a client who has been marked will get their dnsbl host placed in their fakehost. * include/ircd_features.h: Added FEAT_DNSBL_MARK_FAKEHOST. * ircd/ircd_features.c: Added DNSBL_MARK_FAKEHOST. * ircd/m_account.c: If a client is marked, if they have a fakehost set, if their fakehost matches their dnsbl host, and if DNSBL_MARK_FAKEHOST is enabled then ClearFakeHost when a valid account is set. Clients can then use normal host hiding. They can still be banned via dnsblname.host.com in channels. * ircd/s_user.c: Set the dnsblhost to the fakehost and enable it and hide the user if DNSBL_MARK_FAKEHOST is TRUE/ 2005-02-28 Neil Spierling * ircd/m_exempt.c: If we are recieving new exemptions during a netburst then dont spit out notices over adding.. this could cause a large flood. (nb = netburst, nm = normal). * ircd/s_serv.c: send along nb on the end of a cmd_exempt when bursting exemptions. 2005-02-28 Neil Spierling * include/handlers.h: Added new handlers for exempt command. * include/ircd_struct.h: Structure for exemptions plus a function decleration.. keeping it here with the exemption structure. * include/msg.h: Added stuff for EXEMPT command. * include/numeric.h: Two new numerics for exemption listing. * ircd/Makefile.in: Added m_exempt.c. * ircd/m_exempt.c: New file, opers can now add exemptions. * ircd/parse.c: EXEMPT command stuff. * ircd/s_err.c: Numeric stuff. * ircd/s_serv.c: Burst exempts on links. * ircd/s_user.c: Mark a client if they are exempted and let them in. 2005-02-27 Neil Spierling * configure: Regenerated. * configure.in: Stop configure if the user doesnt have SSL when trying to enable it. * doc/Configure.help: Removed, old. * doc/exaconf.2: Removed, not in use. * doc/iauth.txt: Removed, not in use. * doc/linux-poll.patch: Removed, old. * doc/readme.cvs: Updated with our cvs information. * doc/readme.indent: Removed, not needed. * doc/readme.www: Removed, not needed. 2005-02-26 Neil Spierling * ircd/m_whois.c: Display dnsbl status even if its disabled on the local server. 2005-02-25 Reed Loden * ChangeLog.nefarious: Cleaned-up Rubin's ChangeLog entry. * include/s_conf.h: Added GlobalBLCount global (from s_misc.h). * include/s_misc.h: Removed bllinecount global. * ircd/m_nick.c: Somewhat alphabetized #include list. * ircd/m_svsnick.c: Added #include "gline.h" to fix a warning when using NICKGLINES. * ircd/parse.c: Use QuakeNet's methodology when dealing with MFLG_SLOW (puts some checks on what the oper is doing). * ircd/s_auth.c: Renamed bllinecount to GlobalBLCount. * ircd/s_conf.c: Renamed bllinecount to GlobalBLCount (and used it!). 2005-02-25 Alex Schumann * ircd/s_auth.c: Add check for IsDNSPending(auth) in addition to IsDoingAuth(auth) before freeing auth. 2005-02-25 Neil Spierling * ircd/s_auth.c: Couple of debug statements so the if statements are worthwhile. 2005-02-25 Neil Spierling * ircd/s_auth.c: Don't decrement in the loop where we check for multiple ips in the reply; do it before. Implemented .12's header code.. much simpler. Also added another reply for dnsbls. 2005-02-24 Neil Spierling * ircd/s_auth.c: Check every dnsbl. * ircd/s_conf.c: If the client has already been marked return 1. 2005-02-24 Neil Spierling * ircd/client.h: Added a count to the client struct for counting down dnsbls as we scan through them on connect. * ircd/s_misc.h: Global int for the total amount of X:Lines. This is updated on start and rehashes. * ircd/s_auth.c: Set the client dnsbl pending for the whole scan then count down the total in the client struct till it reaches 0. Once its 0 we are able to release the client auth safely and are able to clear dnsbl pending. * ircd/s_conf.c: Update bllinecount on start and rehash. 2005-02-23 Neil Spierling * ircd/s_conf.c: Somehow find_blline was being called with missing parameters, the results were quite nasty. 2005-02-22 Neil Spierling * ircd/s_serv.c: We only want to send dnsbl info to the linking server. * ircd/s_user.c: Send MARK from the server not the client. 2005-02-21 Reed Loden * ircd/s_err.c: Oops, forgot to remove the old entries. 2005-02-21 Reed Loden * ChangeLog.nefarious: Redid Rubin's ChangeLog entry. * config.h.in: Ran autoheader. * configure: Regenerated through autoconf. * configure.in: Redid humor stuff and removed second -lssl. * include/client.h: Miscellaneous whitespacing changes. * include/msg.h: Miscellaneous whitespacing changes. * include/numeric.h: Renumbered some of the RULES numerics. Miscellaneous whitespacing changes. * ircd/Makefile.in: Correctly alphabetized m_wallvoices.c and ran make depend. * ircd/channel.c: Added nu_dnsblhoste and renamed sfd to sde in ban exemptions. Added nu_dnsblhost to is_banned(). Swapped DNSBL checks to use the added variables. * ircd/engine_epoll.c: Change a size_t to socklen_t to match getsockopt prototype, so it compiles without warning on amd64 (Backported from u2.10.12). * ircd/s_err.c: Renumbered some of the RULES numerics. 2005-02-21 Neil Spierling * config.h.in: Removed KEY defines. * configure: Regenerated. * configure.in: Removed cloak key stuff. * include/ircd_defs.h: Define the cloak keys here now. * ircd/hosthiding.c: Removed some defines. Keeping the random number function for now. 2005-02-21 Neil Spierling * doc/example.conf: Updated X:Lines with new flags/name bits. * include/client.h: Added 2 new flags for dnsbl's for marking and allowing clients. Added junk for X:Line flags also. * include/handlers.h: Added define for ms_mark. * inclide/ircd_struct.c: Added dnsblhost entry to the client struct. * include/mark.h: New file, just general mark stuff. * include/msg.h: Added stuff for the new MARK command. * include/numeric.h: Added new numeric RPL_WHOISDNSBL (339). * include/s_conf.c: Adjusted blline struct for flags and name support. * ircd/Makefile.in: Added m_mark.c. * ircd/channel.c: Check the dnsblhost for banning and excepting. * ircd/m_mark.c: New command, used for marking clients on remote servers with information. In this case DNSBL information. * ircd/m_whois.c: Do something with RPL_WHOISDNSBL. * ircd/parse.c: Added MARK command. * ircd/s_conf.c: Properly handle dnsbl flags and the new name bit. Set the right flags on clients if we needed to. * ircd/s_err.c: Updated the stats reply line for X:lines. Also added RPL_WHOISDNSBL. * ircd/s_serv.c: Burst dnsbl information with MARK. * ircd/s_stats.c: Updated the stats reply line for X:lines. * ircd/s_user.c: Mark the client hostname if nessecary. If the client is allowed then also let them in even if they are on a dnsbl. Also send out a MARK to all servers. 2005-02-18 Reed Loden * config.h.in: Ran autoheader. * configure: Ran autoconf. * configure.in: Backported va_copy checks from u2.10.12. * include/ircd_features.h: Renamed FEAT_LOC_DEFAULT_NICK to FEAT_LOC_DEFAULT_SERVICE. * include/ircd_snprintf.h: Added backported va_copy #ifdefs. * ircd/ircd_features.c: Renamed FEAT_LOC_DEFAULT_NICK to FEAT_LOC_DEFAULT_SERVICE. * ircd/m_oper.c: Miscellaneous whitespacing changes. * ircd/m_pass.c: Renamed FEAT_LOC_DEFAULT_NICK to FEAT_LOC_DEFAULT_SERVICE. Miscellaneous whitespacing changes. 2005-02-18 Alex Schumann * include/ircd_features.h: Added FEAT_LOC_DEFAULT_NICK. * ircd/ircd_features.c: Added FEAT_LOC_DEFAULT_NICK (default: "AuthServ"). * ircd/m_pass.c: Added improved login-on-connect syntax and fixed a bug. 2005-02-11 Reed Loden * config.guess, config.sub: Synched to timestamp 2005-02-10. * ircd/engine_kqueue.c, ircd/fileio.c, ircd/ircd_log.c, ircd/send.c: Backport of FreeBSD 5.3 fixes from u2.10.12. * ircd/m_svsnoop.c: Removed unnecessary #include for ircd_features.h. * ircd/s_user.c: Synched with QuakeNet +kX patch (+X now allows oper to change nick while banned in a channel). 2005-02-10 Reed Loden * include/ircd_features.h: Removed FEAT_MOTD_LAST_CHANGED due to problems. * ircd/gline.c: Backport of u2.10.12 fix for problem when glining +TEST instead of +*@TEST. Part of fix is originally from QuakeNet Asuka. * ircd/ircd_features.c: Removed FEAT_MOTD_LAST_CHANGED due to problems. * ircd/m_endburst.c: If the channel has already been "nuked", we can't remove a mode from it. This was found when using ElectricFence and has yet to be reported to Undernet. * ircd/m_fakehost.c: Cleaned up code and removed unnecessary brackets. * ircd/m_invite.c: +R (AccountOnly) now stops unauthed users from inviting people that have umode +R set. Patch from QuakeNet. * ircd/m_kick.c: Fixed a warning due to missing parentheses. * ircd/m_mode.c: Fixed a warning due to uninitialized variable. * ircd/m_svsjoin.c: Cleaned up code (optimized a bit) and removed the check for check_target_limit() as it is for local clients only and does not apply to us. * ircd/m_userip.c: Synched with QuakeNet HIS_USERIP patch. * ircd/motd.c: Removed offending code that caused problems when running ElectricFence. This removes FEAT_MOTD_LAST_CHANGED. * ircd/s_conf.c: Synched with QuakeNet sethost patch (allows IP addresses to be wildcarded). * ircd/s_user.c: Removed code concerning FEAT_MOTD_LAST_CHANGED. * ircd/whocmds.c: Synched with QuakeNet HIS_USERIP patch. 2005-01-31 Reed Loden * include/client.h: Added new FLAG_WHOIS (+W) aka WHOIS_PARANOIA. Cleaned up some whitespacing. * include/supported.h: Added +W to usermode list. * include/ircd_features.h: Added FEAT_OPER_WHOIS_PARANOIA. * ircd/channel.c: Changed a comment. * ircd/ircd_features.c: Added FEAT_OPER_WHOIS_PARANOIA (default: FALSE) * ircd/m_whois.c: Implemented FEAT_OPER_WHOIS_PARANOIA under the SeeOper() if check. * ircd/s_user.c: Added FLAG_WHOIS (+W) and gave FEAT_OPER_WHOIS_PARANOIA control over it. 2005-01-31 Neil Spierling * ircd/channel.c: Trash excepts when destroying channels (+z). 2005-01-30 Reed Loden * include/channel.h: Added a comment for MODE_PERSIST. * include/s_conf.h: Cleaned up whitespacing. * ircd/channel.c: Moved MODE_PERSIST. Cleaned up whitespacing. Cleaned up some MODE_PERSIST code as to fend off future problems. * ircd/ircd_features.c: Removed FEAT_READ from FEAT_LUSERS_AUTHED. * ircd/m_oper.c: Cleaned up whitespacing. * ircd/s_misc.c: Removed check for FEAT_LUSERS_AUTHED. * ircd/s_user.c: Removed check for FEAT_LUSERS_AUTHED. Changed a hardcoded 512 to BUFSIZE. 2005-01-30 Neil Spierling * doc/example.conf: Added b:lines (lowercase b) for prefix'ed commands to be redirected to the specified server. Stats b F:Line added also but not in use yet. * include/channel.h: Added MODE_PERSIST (+z). * include/ircd_features.h: Fixed a bug in the F:lines. Added stats b F:line. * include/numeric.h: Numeric for stats b. * include/s_conf.h: GlobalForwards decleration. * include/send.h: sendcmdto_channel_butone adjusted to support a prefix. * ircd/channel.c: Handle MODE_PERSIST. * ircd/ircd_features.c: Added stats b F:Line. * ircd/ircd_relay.c: Updated sendcmdto_channel_butone usage. * ircd/m_endburst.c: Add empty channels which contain +z. * ircd/m_kick.c: No change really just the same as .12. * ircd/m_mode.c: No change really just the same as .12. * ircd/m_wall*.c (except m_wallops.c): Updated sendcmdto_channel_butone usage. * ircd/s_conf.c: Read and handle b:lines. * ircd/s_err.c: Added numeric for stats b. * ircd/s_numeric.c: Updated sendcmdto_channel_butone usage. * ircd/send.c: Updated main sendcmdto_channel_butone to look for prefix's and foward messages if needed. 2005-01-29 Reed Loden * include/ircd_features.h: Added FEAT_CHMODE_Z and FEAT_LUSERS_AUTHED. * include/querycmds.h: Added UserStats.authed for stats on all authenticated (IsAccount()) users. * include/supported.h: Added some checks for the halfops stuff. Added Z to the list of chmodes. * ircd/channel.c: Renamed MODE_SSLONLY (orig +z) to +Z. +z will now become MODE_PERSIST (from GameSurge). * ircd/ircd_features.c: Marked FEAT_HALFOPS, FEAT_EXCEPTS, and FEAT_BREAK_P10 as FEAT_READ (read-only feature). Added FEAT_CHMODE_Z (default: TRUE) and FEAT_LUSERS_AUTHED (read-only feature with default: FALSE). * ircd/m_burst.c: Renamed MODE_SSLONLY (orig +z) to +Z. Put uppercase modes in alphabetical order. * ircd/m_clearmode.c: Renamed MODE_SSLONLY (orig +z) to +Z. * ircd/m_ircops.c: Removed unneeded reply. Swapped out some commented code for remote IRCOPS (not yet used). * ircd/m_join.c: Renamed MODE_SSLONLY (orig +z) to +Z. Put uppercase modes in alphabetical order. * ircd/m_lusers.c: Added support for an alternate form of the /LUSERS reply as requested by Rubin (RFE 1112215). Instead of showing invisible clients, authed (+r) clients are now shown. This, of course, is default FALSE with FEAT_LUSERS_AUTHED. * ircd/m_oper.c: Cleaned up whitespacing. Added comment. * ircd/s_debug.c: Renamed the USE_SSL notifier ('z') to 'Z'. * ircd/s_err.c: Allowed the word "invisible" to be dynamically changed (now a variable -- %s). * ircd/s_misc.c: Added support for the new FEAT_LUSERS_AUTHED. * ircd/s_user.c: Added support for the new FEAT_LUSERS_AUTHED. * ircd/version.c.SH: Updated copyright date to 2002-2005. 2005-01-28 Reed Loden * include/supported.h: Reordered modes (specifically admin [A]). * ircd/channel.c: Removed broken code and replaced it with boring, but working!, code. Cleaned up whitespacing. * ircd/m_oper.c: Changed default snomask for admin back to normal oper default. * ircd/m_swhois.c: Removed parameter checking as it is unnecessary. Correctly forward swhois messages. * ircd/s_serv.c: Burst swhois messages. * ircd/send.c: Updated file location. 2005-01-28 Reed Loden * include/ircd_features.h: Added FEAT_HIS_USERIP. * ircd/channel.c: Commented out broken code (I'll fix it sometime; sorry y'all). * ircd/ircd_features.c: Added FEAT_HIS_USERIP (default: FALSE). * ircd/m_check.c: Fixed several warnings in new QuakeNet code. * ircd/m_invite.c: Added invite timestamps (from u2.10.12). Removed duplicate code. * ircd/m_userip.c: Added HIS_USERIP from QuakeNet. * ircd/s_err.c: Added RPL_WHOISSPECIAL (320). 2005-01-28 Neil Spierling * ircd/m_oper.c: Switched a couple of things. 2005-01-27 Reed Loden * doc/example.conf: Removed FEAT_DISALLOW_CHMODE_L. The new features have yet to be added. * include/client.h: Added PRIV_REMOTEREHASH, PRIV_CHECK, and PRIV_SEE_SECRET_CHAN. Renamed OpIsGlobal/OpIsAdmin to OIsGlobal/OIsAdmin. * include/handlers.h: Added ms_swhois handler. * include/ircd_features.h: Added FEAT_SWHOIS and FEAT_CHMODE_*. Renamed FEAT_DNSBL_TEST_N_WALLOP to FEAT_DNSBL_WALLOPS_ONLY. Removed FEAT_DISALLOW_CHMODE_L. * include/ircd_struct.h: Added pointer to swhois message. * include/msg.h: Added SWHOIS token (SW). * include/numeric.h: Added RPL_WHOISSPECIAL (320). * ircd/Makefile.in: Added m_swhois.c and ran make depend. * ircd/channel.c: Removed FEAT_DISALLOW_CHMODE_L and added support for the new FEAT_CHMODE_* stuff. * ircd/client.c: Added PRIV_REMOTEREHASH, PRIV_CHECK, and PRIV_SEE_SECRET_CHAN. Cleaned up whitespacing. * ircd/ircd_features.c: Added FEAT_SWHOIS and FEAT_CHMODE_*. Renamed FEAT_DNSBL_TEST_N_WALLOP to FEAT_DNSBL_WALLOPS_ONLY. Removed FEAT_DISALLOW_CHMODE_L. * ircd/m_check.c: Swapped a feature check to a privilege check. * ircd/m_ircops.c: Changed to a hybrid format for /IRCOPS output. * ircd/m_links.c: Fixed a bug in which FEAT_HIS_LINKS_SCRAMBLED was not being considered. Thanks to Protium (CaptKirk`/Maximus) for finding this. * ircd/m_mode.c: Cleaned up whitespacing. * ircd/m_oper.c: Attempted to clean-up code. I think there are problems with this code, so it needs a second look. One thing: Why is SetRemoteOper() called AFTER client_set_privs()? * ircd/m_rehash.c: Implemented PRIV_REMOTEREHASH. * ircd/m_set.c: Cleaned up whitespacing. * ircd/m_svsjoin.c: SVSJOIN now calls m_join(). * ircd/m_svspart.c: Cleaned up whitespacing. * ircd/m_swhois.c: Added SWHOIS support (new file). * ircd/m_whois.c: Cleaned up whitespacing. Moved around some replies. Implemented SWHOIS. Implemented PRIV_SEE_SECRET_CHAN. * ircd/parse.c: Added SWHOIS support. * ircd/s_conf.c: Cleaned up whitespacing. Optimized code. Removed unnecessary variables (were causing warnings). * ircd/s_user.c: Added SWHOIS support. Cleaned up whitespacing. Optimized code. Fixed a potential core bug (sptr -> acptr). Renamed FEAT_DNSBL_TEST_N_WALLOP to FEAT_DNSBL_WALLOPS_ONLY. 2005-01-28 Neil Spierling * include/check.h: Quakenet updates, flags added. * ircd/gline.c: Quakenet updates, few nick gline changes. 2005-01-28 Neil Spierling * doc/example.conf: Changed RECORD to REPLY for X:Lines. * include/ircd_features.h: Added an undocumented F:Line for testing the new DNSBL stuff (FEAT_DNSBL_TEST_N_WALLOP). * ircd/ircd_features.c: See above. * ircd/s_conf.c: Make use of the new line, send a wallop if an connecting client is listed on an dnsbl set in the X:Lines. 2005-01-28 Neil Spierling * doc/example.conf: Updated X:Lines entry. * ircd/s_conf.c: Only check the last octet of the ip. Added support for comma seperate replies for RECORD replies. General cleanup, removed debugging stuff. 2005-01-26 Neil Spierling * doc/example.conf: Updated X:Lines for type support. Added in F:Lines for dnsbl loc rejection notices. * include/ircd_features.h: Added DNSBL_LOC_EXEMPT_N_ONE and DNSBL_LOC_EXEMPT_N_TWO. * include/s_conf.h: Added type to blline struct. * ircd/ircd_features.c: Same as ircd_features.h. * ircd/s_conf.c: Added support for Bitmask dnsbl's. * ircd/s_err.c: Extended RPL_STATSXLINE so that the type can be displayed. * ircd/s_stats.c: See above. * ircd/s_user.c: Make use of the two new features. 2005-01-24 Neil Spierling * ircd/m_ircops.c: Differ between irc admins and irc operators in the output. 2005-01-24 Neil Spierling * doc/example.conf: Added missing REMOTE_OPER. * ircd/ircd_relay.c: Extended ERR_CANNOTSENDTOCHAN replies to include a reason for some replies. * ircd/m_oper.c: Implemented remote oper for admins. * ircd/m_topic.c: ERR_CANNOTSENDTOCHAN extension. * ircd/m_wallchops.c: ERR_CANNOTSENDTOCHAN extension. * ircd/m_wallhops.c: ERR_CANNOTSENDTOCHAN extension. * ircd/m_wallvoices.c: ERR_CANNOTSENDTOCHAN extension. * ircd/s_err.c: Allow extra information to be added to ERR_CANNOTSENDTOCHAN. 2005-01-24 Neil Spierling * ChangeLog.nefarious: Hey its jan not decemeber :). * doc/example.conf: Added DISALLOW_CHMODE_L to prevent normal users using the mode. Default FALSE * ircd/channel.c: Allow servers to set exempts even if disabled, prevents desyncs. Disallow channel mode +L to normal users. * include/ircd_features.h: Same as example.conf. * ircd/ircd_features.c: Same as example.cinf. 2005-01-20 Neil Spierling * doc/example.conf: Dropped DNSBL_LOC, merged with DNSBL_LOC_EXEMPT. * include/ircd_features.h: Same as above. * ircd/ircd_features.c: Same as above. * ircd/s_user.c: Same as above. Also fixed a small issue with users still being prompoted for their authserv details after they successfully auth with LOC. 2005-01-20 Neil Spierling * doc/example.conf: Added new feature DNSBL_LOC. If enabled along with LOGIN_ON_CONNECT, anyone matching on a DNSBL will be given a chance to bypass being rejected by logging into the services via login on connect. Im tempted to combine this with DNSBL_LOC_EXEMPT. * include/ircd_features.h: Added FEAT_DNSBL_LOC. * ircd/ircd_features.c: Added DNSBL_LOC, default FALSE. * ircd/s_user.c: Added code for DNSBL_LOC. See example.conf entry above for what it does. The notice will be F:Lined later most likely. 2004-12-16 Reed Loden * include/channel.h: Removed the MyConnect() restraint from IsSSL() as it is no longer needed. * ircd/channel.c: Fixed compile error and hopefully corrected (for the final time) the annoying +z permission denied bug. * ircd/m_rehash.c: Added SSL pem reopening support where it was missing and restricted special commands to one character server names only. * ircd/s_conf.c: Reopen the SSL pem file on rehash. 2004-12-15 Reed Loden * configure: Ran autoconf. * configure.in: Added base for what will later become checks for gnuTLS. * include/channel.h: Added prototype for SetAutoChanModes() and commented on the MODE_PARSE_ISHALFOP define. * include/ircd_features.h: Added FEAT_AUTOINVISIBLE. * include/ssl.h: Added base for what will later become options for different SSL programs (OpenSSL/gnuTLS/etc.). * ircd/channel.c: Fixed a bug in the ban code in which halfops could not set bans and fixed a bug in +z/+O/+A code in which services (+k) could not set +z/+O/+A (thanks Maximus@Protium). * ircd/ircd_features.c: Added FEAT_AUTOINVISIBLE (default: FALSE) from QuakeNet. * ircd/m_create.c: Don't allow a client to join a channel multiple times (patch from Entrope). * ircd/m_join.c: More work from QuakeNet on AutoChanModes (added SetAutoChanModes() to run when someone creates a chan). * ircd/m_mkpasswd.c: Moved ':' to correct location (found by Rubin). * ircd/s_err.c: Add "BADCHAN:" to ERR_BADCHANNAME notice and added patch from QuakeNet to make error messages more friendly. * ircd/s_user.c: Optimized code, cleaned up whitespacing, and added FEAT_AUTOINVISIBLE (from QuakeNet asuka). 2004-12-15 Neil Spierling * doc/example.conf: Updated X:Line entry. * ircd/s_auth.c: Use hname instead of the host from the host to ip reply. Debugging stuff added also. * ircd/s_conf.c: Only support one reply per X:Line, temp fix for now. Damn entries list would get truncated after the first read. Tried everything to get around it being truncated. Debugging stuff added also. 2004-12-10 Neil Spierling * doc/example.conf: Added OPER_WHOIS_SECRET. * include/client.h: Added ClearAccount(). * include/ircd_features.h: Added FEAT_OPER_WHOIS_SECRET. * include/s_user.h: Added unhide_hostmask(). * ircd/ircd_features.c: Added OPER_WHOIS_SECRET, default TRUE. * ircd/m_account.c: Added two new flags. M for renaming an account (AZ AC AZAAA M newaccount). And U for removing an account (AZ AC AZAAA U). * ircd/m_whois.c: If OPER_WHOIS_SECRET is TRUE then show +s channels for opers. * ircd/s_user.c: Added unhide_hostmask to unhide an account based hidden host. Works with Account removal. 2004-11-20 Reed Loden * ircd/channel.c (SetAutoChanModes): Fixed a warning in QuakeNet's code by casting (int)chan_flags to (unsigned int*). 2004-11-19 Reed Loden * configure.in: Changed AC_PREREQ's dnl to correctly say '2.57'. * include/channel.h: Changed the order of the memory locations. * ircd/gline.c: Incorporated fix from QuakeNet in gline_list() (vulcan already had it semi-fixed, but just not completely). * ircd/ircd_features.c: Changed FEAT_ANNOUNCE_INVITES default to FALSE. * ircd/m_server.c: Removed unnecessary assignment of 'host'. * ircd/m_whois.c: Fixed problem where opers could see all +s channels in WHOIS (opers get too curious/lazy; use services!), did miscellaneous whitespacing changes, and some optimizations. * ircd/s_conf.c: Fixed problem where the C:line name was being used instead of the M:line name and removed all mentions of "N:lines". * ircd/s_serv.c: Removed unnecessary close(fd). 2004-11-14 Neil Spierling * include/client.h: Fix for 64bit systems, from QuakeNet. * ircd/channel.c: Fixed a reply issue with ACCCHAN (+M). 2004-11-01 Neil Spierling * README.Cygwin: Updated instructions. * ircd/m_oper.c: Added some missing send_reply's for remote opering. 2004-10-23 Neil Spierling * Code by Entrope. * include/client.h: Move sentalong from send.c to struct Connection. * ircd/m_invite.c: Modified the way invites are sent with announcments enabled. * ircd/send.c: Delete sentalong array and replace with references to con_sentalong(). 2004-10-23 Neil Spierling * Tagged stable for AfterNET (Afternet-0_4_0-Stable). 2004-10-20 Neil Spierling * doc/example.conf: Added new feature DNSBL_LOC_EXEMPT. * doc/readme.features: Documented DNSBL_LOC_EXEMPT. * include/ircd_features.h: Added FEAT_DNSBL_LOC_EXEMPT. * ircd/ircd_features.c: Added DNSBL_LOC_EXEMPT (Default FALSE). * ircd/m_join.c: Commented out the auto voice code for flexable keys for now. Its broken somewhat and im still working on a fix. Flexable keys work fine without it, people getting into a chan using a it just wont get a auto voice if its +m. * ircd/s_user.c: If DNSBL_LOC_EXEMPT is TRUE then if a user who gets a positive match on a DNSBL check logs in using LOC they will get past the DNSBL rejection. Adjusted the format message to use realhost instead of host. Modified exit_client_msg, other servers wont return protocol errors now. Use user->username as cli_username isnt set yet. 2004-10-18 Reed Loden * include/ircd_reply.h: Removed MAXLEN as it is no longer used. * include/ircd_struct.h: Replaced MAXLEN with BUFSIZE. * ircd/ircd_reply.c: Replaced MAXLEN with BUFSIZE. * ircd/m_account.c: Couple of changes for optimization. * ircd/m_invite.c: Miscellaneous whitespacing changes. * ircd/m_trace.c: Changed some code to work with u2.10.11 due to changes in u2.10.12. * ircd/s_auth.c: Removed unneeded initialization. * ircd/s_conf.c: Replaced RPL_REDIR with RPL_BOUNCE. * ircd/s_user.c: Miscellaneous whitespacing changes, replaced sptr with acptr (causes a core otherwise), and attempted to fix problem with exit_client_msg() with DNSBL. * ircd/support.c: Updated header. * include/numeric.h, ircd/gline.c, ircd/m_burst.c, ircd/m_trace.c, ircd/s_err.c: Couple of backports of .12 code (and fixes). 2004-10-20 Neil Spierling * README: Added BOPM to list. * doc/example.conf: Updated X:Line entry with new format. * include/client.h: Drop url and name. * include/ircd_reply.h: Message formatting declerations. * include/ircd_struct.h: Drop url and name. * include/s_conf.h: Drop url and name and just use reply. * ircd/channel.c: Warning cleanup. * ircd/ircd_reply.c: Added a new function from BOPM for formatting a message (replacing %i with an IP for example). * ircd/m_account.c: Auto host hide with LOC fixed. * ircd/m_pass.c: Warning cleanup. * ircd/s_auth.c: Only send "Checking your IP against DNS ban lists" done this as a way to get around the multiple notice issue with more than one DNSBL. Adjusted the length of the DNSBL auth notice, was getting blank lines in xchat. * ircd/s_conf.c: Warning cleanup. Drop url and name and just use reply. * ircd/s_err.c: Shaved off a uneeded %s. * ircd/s_stats.c: Removed name section off RPL_STATSXLINE. * ircd/s_user.c: Format the DNSBL rejection message using format_dnsbl_msg and reject the client. 2004-10-18 Alex Schumann * ircd/m_account.c: modded LOC code to resolve some bugs with it. * patches/loc.srvx2.diff: The changes necessary to our srvx2 to support this. Probably very similar for srvx. 2004-10-18 Neil Spierling * patches/README: Updated with loc patch info etc. * ircd/channel.c: Typo fix, -A works now (tested). * ircd/m_mkpasswd.c: Replaced &me with sptr in the password reply. * ircd/m_account.c: Only use hide_hostmask if we are using style 1. Fixed a bug with AC's being transit'ed. Only set a hidden host if they dont already have one set and only set it if we are using style 1. 2004-10-17 Reed Loden * Finally committed my work... Look down a bit in ChangeLog to see changes. * ircd/channel.c: Removed redundant code. * ircd/m_mkpasswd.c: Replaced &me with sptr in error reply. * ircd/m_oper.c: Miscellaneous whitespacing change. * ircd/s_conf.c: Changed 'O' to "O" to fix warning. 2004-10-18 Neil Spierling * Note login on connect code by Alex Badea * doc/readme.login-on-connect: Readme file describing how things work with login on connect. * include/client.h: added con_loc to struct Connection for login-on-connect (aka LOC). * include/ircd_defs.h: added ACCPASSWDLEN define for maximum account password length. * include/ircd_features.h: Added login on connect F:Line and removed verified account ones. * include/s_misc.h: added LOC counter to ServerStats. * include/ircd_struct.h: added struct LOCInfo. * ircd/ircd_features.c: new feature FEAT_LOGIN_ON_CONNECT * ircd/list.c (dealloc_connection): make sure con_loc is free'd. * ircd/m_account.c: Added AC message sub-types to allow authentication requests/replies to travel across the net; handle LOC replies. Verified account code removed. * ircd/s_user.c (register_user): handle LOC requests; allow multiple calls (for LOC retries), using FLAG_CHKACCESS * ircd/s_user.c (hide_hostmask): only send RPL_HOSTHIDDEN to registered clients, since we might be called by LOC before registration. * ircd/m_pass.c: store auth information for LOC. * ircd/s_bsd.c (add_connection): set FLAG_CHKACCESS on new local clients. * ircd/s_misc.c (tstats): report login-on-connect counter from ServerStats. 2004-10-18 Neil Spierling * ircd/channel.c: Applied a small fix posted on sourceforge for CIDR bans and freebsd (also applied to exempts). 2004-10-17 Neil Spierling * ircd/ircd_relay.c: Dont block bold and underline for +c, as +c is only for blocking colours. 2004-10-16 Neil Spierling * doc/readme.features: Major update, file should be up to date with current features now. Im sure theres spelling or grammar mistakes in there probably. Ill give it a decent read on Monday on my day off. Im sure reed will get all pedantic before then tho :P 2004-10-15 Neil Spierling * doc/example.conf: Added features AUTOCHANMODES and AUTOCHANMODES_LIST, (Quakenet) * include/ircd_features.h: Same as example.conf entry above. (Quakenet) * include/s_conf.h: Declare find_conf_cidr. (Quakenet) * ircd/channel.c: Don't hide QUIT messages from channel services. (Quakenet) Added SetAutoChanModes function plus call it if the necessary lines are enabled on a first time JOIN. (Quakenet) Added support for CIDR channel bans and exempts. (Quakenet) * ircd/m_create.c: Dont allow a client to rejoin if its already in the channel. * ircd/m_account.c: Added needed %s, plus fixed a bug with b0rked ACCOUNT messages being sent out. * ircd/m_oper.c: Call find_conf_cidr if the other methods to check the conf fail etc. (Quakenet). * ircd/s_conf.c: find_conf_cidr Function etc. (Quakenet). 2004-10-03 Neil Spierling * ChangeLog.nefarious: Updated my email address. * README: Updated my email address. * ircd/ircd_relay.c: Quakenet updates. * ircd/hosthiding.c: Updated my email address. * ircd/s_conf.c: Dont parse "include" lines fully, gets an ugly I:Line without this continue. Probably would cause issues for connecting clients. * ircd/version.c.SH: Updated my email address. * patches/README: Updated my email address. 2004-09-29 Neil Spierling * configure: Reran autoconf again. * configure.in: Ran autoscan against the src, picked up a bunch of stuff thats not being checked for, also added package name, version and bug report address. * config.h.in: Regenerated (header added back in after). 2004-09-29 Neil Spierling * configure: Reran autoconf. * config.h.in: Added header and define back in. We will have to add this everytime we run autoheader (unless i actually read the man page properly as there may be a way of preserving it). 2004-09-29 Neil Spierling * acinclude.m4: Cleaned up some AC_DEFINE's, dont need acconfig.h now. * aclocal.m4: Regenerated (aclocal). * config.h.in: Regenerated (autoheader). 2004-09-27 Neil Spierling * include/supported.h: Fixed a client parsing issue. 2004-09-20 Neil Spierling * ircd/channel.c: Only use flexable keys if its enabled and the key is set and valid on a join. * ircd/m_join.c: Send out CMD_MODE to other servers. 2004-09-25 Reed Loden * doc/example.conf, include/ircd_features.h, ircd/channel.c, ircd/client.c, ircd/ircd_features.c, ircd/m_oper.c, ircd/s_user.c: Renamed FEAT_OPERLEVELS to FEAT_OPERFLAGS. * include/client.h, ircd/channel.c, ircd/m_burst.c, ircd/m_oper.c, ircd/m_whois.c, ircd/s_user.c: Renamed IsAnAdmin() to IsAdmin(). * ircd/m_whois.c: Optimizations. * ircd/s_conf.c: Changed "O" to 'O'. 2004-09-16 Reed Loden * ChangeLog.nefarious: Added some info I had forgotten (and removed stuff that is now in Undernet's repository). * include/client.h: Added comment to CHFL_HALFOP. * ircd/iauth.c: Updated file location. * ircd/ircd_alloc.c, ircd/os_bsd.c, ircd/os_generic.c, ircd/os_linux.c, ircd/os_openbsd.c, ircd/os_solaris.c: Removed excess lines after EOF. * ircd/m_topic.c: Optimized some code. * ircd/s_auth.c: Optimized some code and moved around stuff. * ircd/s_conf.c: Miscellaneous whitespacing changes and optimization of some code. * ircd/s_user.c: Miscellaneous text/whitespace changes and support for automatic changing of hidden hosts if FEAT_OPERHOST_HIDING is TRUE. * Synched with u2.10.11.07(pre4) as per 2004-09-15. 2004-09-16 Neil Spierling * Include feature from WhatNET's IRCd (WhatIRCd) (http://coder-com.whatnet.org). * doc/example.conf: Added includes section. * ircd/s_user.c: Modified read configuration file functions to handle includes. 2004-09-13 Neil Spierling * Undernet sync. 2004-09-13 Neil Spierling * include/channel.h: Added MODE_ADMINONLY. * include/numeric.h: Added ERR_ADMINONLYCHAN. * include/supported.h: Added A to channel mode string. * ircd/channel.c: Added MODE_ADMINONLY, only allow admins to set it and admins can only join +A channels. * ircd/m_burst.c: MODE_ADMINONLY added for net rider checks. * ircd/m_join.c: Small addition for MODE_ADMINONLY. * ircd/s_err.c: See supported.h entry. 2004-09-13 Neil Spierling * ircd/m_whois.c: Small bug fix, display +s channels for opers now in WHOIS's (prefixed with *). * doc/example.conf: Renamed OPLEVELS to OPERLEVELS. * include/ircd_features.h: See above. * ircd/client.c: See above + let global opers set wide glines if enabled. * ircd/m_oper.c: See above. * ircd/s_user.c: See above. * doc/example.conf: New F:lines added OPLEVELS, WHOIS_OPER, WHOIS_ADMIN, and WHOIS_SERVICE. * include/client.h: Fluff for oper levels added. * include/ircd_features.h: see example.conf entry. * include/s_conf.h: Some more fluff. * include/supported.h: Added A to usermode string. * ircd/client.c: Modified privs, give admins certain privs if OPLEVELS is enabled, if it isnt then give the privs to global opers. * ircd/ircd_features.c: See example.conf entry. * ircd/m_oper.c: Make the client an admin if they are supposed to be an admin. Only works for local opering, not remote opering. * ircd/m_whois.c: Use the WHOIS_ output. * ircd/s_conf.c: Fluff for reading the flags from the conf. * ircd/s_err.c: Small tweak to STATSOLINE for displaying oper flags. * ircd/s_stats.c: Display the flags if needed or otherwise the port (used for other lines). * ircd/s_user.c: Clear the admin flag if OPLEVELS is disabled. This is also done in m_oper.c. * configure: Reran autoconf. * configure.in: Add -Wno-long-long to CFLAGS on BSD systems. * ircd/ircd_relay.c: Minor fix, thought i had put it in the place originally. Fixed now. * ircd/m_join.c: Small bug fix. 2004-09-12 Neil Spierling * ircd/Makefile.in: Remove version.c on a make install, makes life easier for keeping track of CVS version when coding. * More bug fixes, see ChangeLog. * ircd/gline.c: Bug fix (see ChangeLog). * doc/example.conf: Added ANNOUNCE_INVITES. * include/ircd_features.h: Same as example.conf entry. * include/numeric.h: Added RPL_ISSUEDINVITE (345). * include/send.h: Modified sendcmdto_channel_butserv_butone, added sendcmdto_channel_servers_butone. * ircd/channel.c: Bug fix (see ChangeLog), sendcmdto_channel_butserv_butone updates. * ircd/gline.c: sendcmdto_channel_butserv_butone updates. * ircd/ircd_features.c: Same as example.conf entry. * ircd/m_burst.c: sendcmdto_channel_butserv_butone updates. * ircd/m_invite.c: Added announce invites feature. * ircd/m_kick.c: sendcmdto_channel_butserv_butone updates. * ircd/m_topic.c: sendcmdto_channel_butserv_butone updates. * ircd/s_err.c: see numeric.h entry. * ircd/s_user.c: sendcmdto_channel_butserv_butone updates. * ircd/send.c: sendcmdto_channel_butserv_butone updates. * include/supported.h: Added STATUSMSG (isupport), and CHANNELLEN. 2004-09-11 Neil Spierling * ircd/s_auth.c: Small bug fix, was sending the wrong header. * ircd/parse.c: Fixed bug with commands like /1 or /2 being accepted, which had wierd sideaffects. Fix by Entrope. * doc/example.conf: Added X:Lines stuff. Added features, DNSBL_CHECKS. DNSBL_EXEMPT_CLASS. HIS_STATS_X. * include/client.h: Misc DNSBL client declerations. * include/ircd_features.h: Added new features (see example.conf). * include/ircd_struct.h: Couple of new entries in the User struct for dnsbl url and name if a user is matched on a DNSBL. * include/numeric.h: Added numeric for stats X (240). * include/s_auth.h: DNSBL pending set/is/clear stuff. * include/s_bsd.h: release_dnsbl_reply decleration. * include/s_conf.h: blline struct and declerations. * ircd/ircd_features.c: Added new features (see example.conf). * ircd/list.c: DNSBL tweaks. * ircd/s_auth.c: Main functions for checking hosts if they are active on a DNSBL. * ircd/s_conf.c: Functions for building and clearing the blline struct. Also a function for searching the blline struct. * ircd/s_err.c: Added numeric for stats X (240). * ircd/s_stats.c: Added /stats X. * ircd/s_user.c: Check if a user is marked as ab active dnsbl, if so then reject them. 2004-09-08 Reed Loden * configure: Ran autoconf. * doc/example.conf: Added FEAT_RESTARTPASS and FEAT_DIEPASS. * include/client.h: Fixed +z (problem was that SSL is local to each server, not global). * include/ircd_features.h: Added FEAT_RESTARTPASS, FEAT_DIEPASS, and FEAT_XTRAOP_CLASS. * include/msg.h: Changed from spaces to tabs like everything else. * include/opercmds.h: Added oper_password_match() prototype. * include/querycmds.h: Added tunefile prototypes. * include/s_conf.h: Changed find_csline() from a char* to an int. * include/s_misc.h: Removed tunefile prototypes. * include/s_serv.h: Removed rules_send() and opermotd_send() prototypes. * include/supported.h: Added #define clearchanmodes for CLEARMODE's default modes. * ircd/Makefile.in: Ran "make depend". * ircd/channel.c: Corrected spelling errors, and did some miscellaneous whitespacing changes. * ircd/fda.c, ircd/fda_t.c, ircd/filoio.c, ircd/gline.c, ircd/m_proto.c, ircd/table_gen.c, ircd/uping.c, ircd/whowas.c: Removed excess lines after EOF. * ircd/hosthiding.c: Miscellaneous changed in whitespace. * ircd/ircd.c: Added header for querycmds.h and removed excess line(s) after EOF. * ircd/ircd_features.c: Added FEAT_XTRAOP_CLASS (default: 0), FEAT_RESTARTPASS (default: NULL), and FEAT_DIEPASS (default: NULL). * ircd/ircd_relay.c: Allowed non-+R people to talk to themselves and removed excess line(s) after EOF. * ircd/m_clearmode.c: Added header for supported.h, miscellaneous changes, spelling corrections, changed char *control to use #define clearchanmodes. * ircd/m_defaults.c, ircd/m_get.c, ircd/m_gline.c, ircd/m_reset.c, ircd/m_settime.c, ircd/map.c: Removed unneeded headers. * ircd/m_die.c: Added FEAT_DIEPASS and removed unneeded headers. * ircd/m_invite.c, ircd/m_set.c: Removed unneeded headers and excess line at EOF. * ircd/m_oper.c: Changed from opermotd_send() to m_opermotd(). * ircd/m_opermotd.c: Added opermotd_send() (moved from s_serv.c). * ircd/m_opmode.c: Used cli_name(sptr) instead of sptr->cli_name. * ircd/m_restart.c: Added FEAT_RESTARTPASS and removed unneeded headers. * ircd/m_rules.c: Added rules_send() (moved from s_serv.c). * ircd/m_svsnick.c: Removed unneeded function (still in m_nick()). * ircd/m_wallhops.c: Used a better way of displaying '%'. * ircd/m_whois.c: Removed redundant MyConnect() check. * ircd/querycmds.c: Added tunefile stuff (moved from s_serv.c). * ircd/s_conf.c: Changed find_csline() from a char* to an int and changed what it returns (0 -> 1). * ircd/s_serv.c: Miscellaneous changes, removed rules_send(), opermotd_send(), and tunefile stuff (moved to their respective files), and changed from [s]rand() to [s]random(). * ircd/s_user.c: Fixed find_csline(), changed some whitespacing issues, allowed non-+R people to talk to themselves, added XTRAOP_CLASS (default: 0), and fixed problem with +B letting a user set +s. * ircd/version.c.SH: Moved some stuff around and added a list of very helpful testers. 2004-09-03 Neil Spierling * doc/example.conf: Added feature TPATH (default "ircd.tune"). * include/ircd_features.h: Added FEAT_TPATH. * include/s_misc.h: Function declerations. * ircd/ircd.c: Load tune file upon ircd launch. * ircd/ircd_features.c: Added TPATH. * ircd/s_serv.c: savetune and loadtune functions. * ircd/s_user.c: Update the tune file when user counts go up above the highest known count. 2004-09-02 Neil Spierling * ircd/m_wallhops.c: Couple of fixes with displaying "%". % was being duplicated on each server the msg went to. 2004-09-02 Neil Spierling * ircd/m_burst.c: Warning cleanup. * ircd/m_check.c: Warning cleanup. * ircd/m_join.c: Warning cleanup. * ircd/m_server.c: Warning cleanup. * ircd/m_svsnick.c: Uncommented some code + made it work. * ircd/ssl.c: Warning cleanup. 2004-09-02 Neil Spierling * doc/example.conf: typo fix. * ircd/ircd_features.c: typo fix. 2004-09-02 Neil Spierling * doc/example.conf: Added FEAT_MAX_CHECK_OUTPUT. * include/ircd_features.h: Added FEAT_MAX_CHECK_OUTPUT. * ircd/ircd_features.c: Added FEAT_MAX_CHECK_OUTPUT, default 1000. * ircd/m_check.c: Actually use FEAT_MAX_CHECK_OUTPUT. 2004-09-02 Neil Spierling * Sync with u2.10.11.07(pre1) as per 2004-08-31 (2 Commits). * include/client.h: Is/SetVerifiedAccount stuff. * include/ircd_features.h: F:Lines for verified accounts, default FALSE. * include/numeric.h: Two numerics added, one for error replies and the other for WHOIS replies. * ircd/ircd_features.c: F:Lines for verified accounts, default FALSE. * ircd/m_account.c: Re added verified accounts. 2004-08-31 Neil Spierling * include/s_user.h: do_nick_name can be called outside of m_nick.c now. * ircd/m_join.c: Fixed up a feature check. * ircd/m_nick.c: Same as s_user.h. * ircd/m_svsnick.c: Commented out some code thats not even being used. Not deleted for now as reed may still be using it. Added an #include for IRCD_MIN. 2004-08-30 Reed Loden * include/supported.h: Alphabetized the channel/user mode lists. * ircd/m_burst.c: Swaped to .12's version of the anti-netrider with exceptions code. Added support for +O and +z in the anti-netride and exceptions code. * ircd/m_svsnick.c: Added some basic sanity checks. 2004-08-27 Reed Loden * doc/example.conf: Added FEAT_CREATE_CHAN_OPER_ONLY (restricts the creation of new channels to oper only) (default: FALSE). * include/ircd_features.h: Added FEAT_CREATE_CHAN_OPER_ONLY. * ircd/ircd_features.c: Added FEAT_CREATE_CHAN_OPER_ONLY (default: FALSE). * ircd/m_ircops.c: Reduced the number of IsAnOper() checks by checking it one time and setting a variable (int oper). * ircd/m_join.c: Implemented FEAT_CREATE_CHAN_OPER_ONLY, corrected some indenting, and changed MODE_REGONLY to MODE_ACCONLY in the FEAT_FLEXABLEKEYS check. * ircd/s_user.c: /SETHOST now ignores hosts that change nothing. 2004-08-28 Neil Spierling * doc/example.conf: Added new feature FLEXABLEKEYS. When TRUE, a user joining a channel with the correct key can get past +rliOMm. * include/ircd_features.h: Added new feature FLEXABLEKEYS. * ircd/channel.c: Made FLEXABLEKEYS work. * ircd/ircd_features.c: Added new feature FLEXABLEKEYS. * ircd/m_join.c: Made FLEXABLEKEYS work. If the channel is +m or +M, then autovoice the user. 2004-08-27 Reed Loden * Sync with u2.10.11.07(pre1) as per 2004-08-27. 2004-08-25 Reed Loden * doc/example.conf: Renamed FEAT_EXTENDED_CHECKCMD to FEAT_CHECK_EXTENDED and added FEAT_NOTHROTTLE. * include/ircd_features.h: Renamed FEAT_EXTENDED_CHECKCMD to FEAT_CHECK_EXTENDED, moved FEAT_DEFAULT_UMODE, and added FEAT_NOTHROTTLE. * ircd/IPcheck.c: Added FEAT_NOTHROTTLE to replace the NOTHROTTLE #ifdef (default: FALSE). * ircd/ircd_features.c: Renamed FEAT_EXTENDED_CHECKCMD to FEAT_CHECK_EXTENDED, moved FEAT_DEFAULT_UMODE, and added FEAT_NOTHROTTLE. * ircd/m_check.c: Corrected a couple of code inconsistances. * ircd/m_ircops.c: Miscellaneous whitespace changes and let opers see other opers' idle time. * ircd/m_oper.c: Flip-flop'd an 'if' check. 2004-08-25 Neil Spierling * doc/example.conf: Added new feature CHECK_EXTENDED. * include/check.h: Added new parm to checkusers. * include/ircd_features.h: Added FEAT_CHECK_EXTENDED. * ircd/ircd_features.c: Added FEAT_CHECK_EXTENDED (default: TRUE). * ircd/m_check.c: A few CHECK updates: Extended information with FEAT_CHECK_EXTENDED An update for flags with CHECK. Small F:Line tweak for EXCEPTS. Small bug fix with displaying modes in CHECK output. 2004-08-25 Neil Spierling * ircd/ssl.c: Generate an error message when a client connects to a SSL port on a normal connection (non-SSL). 2004-08-24 Neil Spierling * ircd/s_bsd.c: SSL bug fix, was causing cores. 2004-08-23 Neil Spierling * ircd/s_serv.c: Burst AWAY messages on links. 2004-08-23 Neil Spierling * Last 2 commits removed (one with no changelog). 2004-08-23 Neil Spierling * include/map.h: Added an extra var to map_update for removing a server. * ircd/m_server.c: Updated map_update() call. * ircd/map.c: if map_update is called with a 1 then the server will thats being updated will be removed. This really drops the need for the cache time stuff. I'll see how this goes. * ircd/s_misc.c: Save as m_server.c entry. * ircd/s_serv.c: Save as m_server.c entry. 2004-08-23 Neil Spierling * doc/example.conf: Added F:Lines for HIS_MAP_SCRAMBLED, HIS_LINKS_SCRAMBLED and HIS_SCRAMBLED_CACHE_TIME. * include/ircd_features.h: Same as above. * include/map.h: Declerations etc. * ircd/Makefile.in: Compile map.c. * ircd/ircd_features.c: Same as the example.conf entry. * ircd/m_links.c: Use the scrambled links code if its enabled and the user is not an oper. * ircd/m_map.c: Same as above. * ircd/m_server.c: Updated the map on new links. * ircd/map.c: File containing functions for scrambled maps/links. * ircd/s_misc.c: Update the map on splits. * ircd/s_serv.c: Update the map on links. 2004-08-21 Neil Spierling * ircd/m_ircops.c: Tweak to IRCOPS HIS stuff. * ircd/m_oper.c: Small tweak to yesterdays bug fix. 2004-08-20 Neil Spierling * ircd/m_oper.c: Bug fix, allow an oper to "remote oper" on the server he/she is on. (user on irc.abc.com, /oper irc.abc.com user pass) 2004-08-20 Neil Spierling * doc/example.conf: Added lines for HIS_IRCOPS and HIS_IRCOPS_SERVERS. * include/ircd_features.h: Same as above. * ircd/ircd_features.c: Same as above. * ircd/m_ircops.c: If HIS_IRCOPS is TRUE then don't let normal users use IRCOPS. If HIS_IRCOPS_SERVERS is TRUE then if a normal user can use IRCOPS the opers server will not display. HIS_SERVERNAME will be displayed instead. 2004-08-19 Neil Spierling * ircd/s_user.c: Bug fix for with default umodes, the mode(s) were being sent out to other servers before the nick was even sent out. 2004-08-17 Neil Spierling * ircd/os_linux.c: Bug fix for fedora systems. This should fix the `_SC_CLK_TCK' undeclared error. 2004-08-15 Neil Spierling * ircd/s_user.c: Bug fix for setting +B, the server was letting any user set +B. Reported by CaptKirk. 2004-08-13 Neil Spierling * ircd/s_user.c: Bug fix for DEFAULT_UMODE, dont know why I added the clearhiddenhost part in the first place. When +x was auto set and a user logged in, their hidden host wasn't being set. This fixes that. 2004-08-13 Neil Spierling * patches/halfops.srvx2.diff: Removed a couple of unneeded debugging bits I added while creating the patch. Small code fix also. 2004-08-12 Neil Spierling * patches/banexempts.srvx2.diff: Changed strcat to strncat. 2004-08-11 Neil Spierling * ircd/channel.c: This should fix the issue with parting a +M channel while your not logged in. Previously it would return a cannot send to channel error with some data beside it. 2004-08-11 Neil Spierling * patches: Added new directory for services patches * patches/README: General patches readme plus listings of all patches and what they do. * patches/banexempts.srvx2.diff: Afternet SRVX2 banexempts patch. * patches/halfops.srvx2.diff: Afternet SRVX2 halfops patch. 2004-07-12 Reed Loden * include/patchlevel.h: Bumped for release (0.3.0). * ircd/version.c.SH: Add '-' to separate lines. 2004-07-11 Reed Loden * ChangeLog: Added entry from Vampire- that we forgot. * ChangeLog.nefarious: Added some fluff. * Doxyfile: Removed "Daemon" from Nefarious IRCu name. * README: Updated list of IRCds we borrowed code from. * include/channel.h: Removed unneeded prototypes. * include/ircd_features.h: Changed ASUKA_* to OPER_* with the exception of CHECK which was changed to just "CHECK". Removed SPAMBOT_CHECKS and added STATS_C_IPS. * include/ircd_struct.h, include/version.h: Miscellaneous whitespace/placement changes. * ircd/Makefile.in: Ran "make depend". * ircd/ircd_features.c: Changed ASUKA_* to OPER_* with the exception of CHECK, which was changed to just "CHECK". Removed SPAMBOT_CHECKS and added STATS_C_IPS. * ircd/m_check.c, ircd/m_ircops.c, ircd/m_nick.c, ircd/s_user.c: Changed ASUKA_* to OPER_* with the exception of CHECK, which was changed to just "CHECK". * ircd/m_check.c, ircd/m_topic.c: Optimized several halfop related checks. * ircd/s_debug.c: Added characters for NICKGLINES and SSL. * ircd/s_stats.c: Added FEAT_STATS_C_IPS (default: FALSE) to let opers see the IPs in C:lines. * ircd/version.c.SH: Used a cleaner way to get cvs_version. 2004-07-12 Neil Spierling * include/numeric.h: Removed CVS_VERSION. * include/version.c: Added char cvs_version. * ircd/m_version.c: Removed CVS_VERSION reply. Send out the CVS version with RPL_VERSION. * ircd/version.c.SH: Used some cat grep n awk action to get the CVS version out of ChangeLog.nefarious and throw it into a char like creation, version, etc. 2004-07-08 Neil Spierling * doc/example.conf: Added feature BADUSER_URL, gives the user a url to go to when they get an invalid username error upon connect. * include/ircd_features.h: Added fluff for BADUSER_URL. * include/numeric.h: Added new numeric for CVS version reply RPL_CVS_VERSION. * ircd/ircd_features.c: Added fluff for BADUSER_URL. * ircd/m_version.c: Send out the cvs version of CVS_VERSION to a user. * ircd/s_err.c: fluff for RPL_CVS_VERSION. * ircd/s_user.c: Do something with BADUSER_URL, send it out with an invalid username error. 2004-07-08 Neil Spierling * ircd/ircd_features.c: Fixed up bug in HIS_NETSPLIT. * ircd/m_version.c: Added nessecary include for CVS_VERSION. 2004-07-08 Neil Spierling * doc/example.conf: Bumped up the max excepts to 45. Adjust various HIS lines to TRUE. * ircd/ircd_features.c: Bumped up the max excepts to 45. Adjust various HIS lines to TRUE. 2004-07-08 Neil Spierling * include/ircd_features.h: Added feature to disable target limiting. * include/patchlevel.h: Bumped patchlevel. * ircd/ircd_features.c: Added feature to disable target limiting. * ircd/s_user.c: Added feature to disable target limiting. 2004-07-08 Neil Spierling * ircd/m_topic.c: Possibly fixed that crash with HOST_IN_TOPIC. 2004-07-08 Neil Spierling * ircd/m_wallchops.c: Fixed an issue where notices that you sent would be echoed back to you. * ircd/m_wallhops.c: Same as above. * ircd/m_wallvoices.c: Same as above. 2004-07-08 Neil Spierling * doc/example.conf: Default HOST_IN_TOPIC to false, had a seg fault on a network where it had been working fine for a week. * ircd/ircd_features.c: Same as above, will be working on a fix. 2004-07-08 Neil Spierling * ircd/m_account.c: Quick fix. 2004-07-08 Neil Spierling * ircd/channel.c: Odd fix for +z, adding brackets to the check if the user is connected via SSL or is a server. Also done this to the +h and +O checks for now. Just in case. Allow halfops to be set if its comming from a server (burst), even if halfops is disabled, will prevent desynchs. This will be removed when i have rewritten my VCTRL code. Once its rewritten we will be able to check whats enabled on link and deny the link if things are not set right. 2004-07-08 Neil Spierling * doc/example.conf: Removed verified accounts code, will be re added later. * doc/readme.login-on-connect: Readme detailing login on connects. While the code isnt 100% added yet (wont be till 0.4 or so), admins can see what the functions will do. * include/client.h: Removed verified accounts code, will be re added later. * include/ircd_features.h: Removed verified accounts code, will be re added later. * include/numeric.h: Removed verified accounts code, will be re added later. * ircd/ircd_features.c: Removed verified accounts code, will be re added later. * ircd/m_account.c: Removed verified accounts code, will be re added later. Added first part of login on connect code. * ircd/m_whois.c: Removed verified accounts code, will be re added later. * ircd/s_err.c: Removed verified accounts code, will be re added later. * ircd/s_user.c: Removed verified accounts code, will be re added later. 2004-07-07 Neil Spierling * ircd/m_whois.c: Reverted verified accounts code back. * ircd/s_err.c: Reverted verified accounts code back. 2004-07-07 Neil Spierling * include/ircd.h: Include ircd_struct.h instead of struct.h. * include/ircd_struct.h: Old struct.h. * include/struct.h: Renamed to ircd_struct.h. * include/support.h: Removed MIN define. * ircd/ircd_features.c: Include ircd_struct.h instead of struct.h. * ircd/ircd_log.c: Include ircd_struct.h instead of struct.h. * ircd/ircd_snprintf.c: Include ircd_struct.h instead of struct.h. * ircd/jupe.c: Include ircd_struct.h instead of struct.h. * ircd/list.c: Include ircd_struct.h instead of struct.h. * ircd/m_burst.c: Include ircd_struct.h instead of struct.h. * ircd/m_invite.c: Include ircd_struct.h instead of struct.h. * ircd/m_links.c: Include ircd_struct.h instead of struct.h. * ircd/m_quit.c: Include ircd_struct.h instead of struct.h. * ircd/m_sethost.c: Include ircd_struct.h instead of struct.h. * ircd/m_settime.c: Include ircd_struct.h instead of struct.h. * ircd/m_silence.c: Include ircd_struct.h instead of struct.h. * ircd/m_stats.c: Include ircd_struct.h instead of struct.h. * ircd/m_userhost.c: Include ircd_struct.h instead of struct.h. * ircd/m_userip.c: Include ircd_struct.h instead of struct.h. * ircd/Makefile.in: Rename struct.h's to ircd_struct.h. * ircd/numnicks.c: Include ircd_struct.h instead of struct.h. * ircd/opercmds.c: Include ircd_struct.h instead of struct.h. * ircd/parse.c: Include ircd_struct.h instead of struct.h. * ircd/res.c: Include ircd_struct.h instead of struct.h. * ircd/s_auth.c: Include ircd_struct.h instead of struct.h. * ircd/s_bsd.c: Include ircd_struct.h instead of struct.h. * ircd/s_conf.c: Include ircd_struct.h instead of struct.h. * ircd/s_debug.c: Include ircd_struct.h instead of struct.h. * ircd/s_misc.c: Include ircd_struct.h instead of struct.h. * ircd/s_numeric.c: Include ircd_struct.h instead of struct.h. * ircd/s_serv.c: Include ircd_struct.h instead of struct.h. * ircd/s_stats.c: Include ircd_struct.h instead of struct.h. * ircd/s_user.c: Include ircd_struct.h instead of struct.h. * ircd/send.c: Include ircd_struct.h instead of struct.h. * ircd/userload.c: Include ircd_struct.h instead of struct.h. * ircd/whocmds.c: Include ircd_struct.h instead of struct.h. * ircd/whowas.c: Include ircd_struct.h instead of struct.h. 2004-07-05 Neil Spierling * ircd/channel.c: Removed some unnessecary checks * ircd/m_burst.c: Removed some unnessecary checks 2004-07-05 Neil Spierling * include/patchlevel.h: Bumped the patchlevel, so we can differ between who has +he and who doesnt. Should be a bump after every major commit. 2004-07-05 Neil Spierling * doc/example.conf: Default halfops to false, suggestion by Rubin. * ircd/ircd_features.c Default halfops to false, suggestion by Rubin. 2004-07-05 Neil Spierling * README: Added Whatnet's ircd in as we got the halfops code from their ircd ty ty. * doc/example.conf: Added in all the new F:Lines * include/channel.h: Halfop / Except fluff. * include/handlers.h: Fluff for WALLHOPS. * include/ircd_features.h: Fluff for the new features. * include/list.h: struct for excepts. * include/msg.h: WALLHOPS fluff (WV). * include/numeric.h: New numerics added for excepts and half ops. * include/send.h: Fluff for WALLHOPS. * include/supported.h: Added in except and half op stuff. Now we still send it EVEN if the functions are disabled. The code is important because if you enable say half ops after clients have connected the clients will not know how to parse the +h stuff and now screw up. * ircd/Makefile.in: Added m_wallhops.c * ircd/channel.c: So many changes/additions. Added in half ops and excepts. * ircd/ircd_features.c: Added in fluff for the new F:Lines. * ircd/m_burst.c: New code to handle excepts and half ops, to burst excepts its done like this: S BURST #channel 87654321 +modes clients:ohv :%ban1 ~ except1 The ~ is a seperator, its not a ban or an except. * ircd/m_check.c: Code to understand excepts and half ops. * ircd/m_clearmode.c: Same as above. * ircd/m_invite.c: Allow half ops to invitre. * ircd/m_kick.c: Allow half ops to kick users but not ops. * ircd/m_mode.c: Halfop stuff. * ircd/m_names.c: Show a % in the NAMES output for half oped users. * ircd/m_topic.c: Allow half ops to change the topic. * ircd/m_wallchops.c: Know what WALLHOPS are. * ircd/m_wallhops.c: New command WALLHOPS, just like WALLCHOPS and WALLVOICES. * ircd/m_wallvoices.c: Know what WALLHOPS are. * ircd/m_whois.c Show a % in the WHOIS output for half oped users. * ircd/parse.c: WALLHOPS fluff. * ircd/s_debug.c: Debug code for excepts. * ircd/s_err.c: Added in the new numerics. * ircd/s_user.c: Halfops stuff. * ircd/send.c: WALLHOPS stuff. * ircd/whocmds.c: Show a % in the WHO output for half oped users. 2004-07-03 Reed Loden * include/channel.h, include/client.h, ircd/channel.c, ircd/m_join.c, ircd/m_part.c: Rip out Dianora's anti spambot code. This works better when used as a service. * include/numeric.h: Change nefarious to Nefarious. * ircd/m_whois.c: Modify how RPL_WHOISVERIFIED is sent. * ircd/s_err.c: Modify what RPL_WHOISVERIFIED says. * ircd/version.c.SH: Fix whitespacing and copyright text. 2004-07-03 Reed Loden Neil Spierling * ircd/channel.c: Actually fixed the problem with MODE_OPERONLY and MODE_SSLONLY not bursting correctly. 2004-07-02 Reed Loden * ChangeLog.nefarious: Various indent, spacing, etc. changes. * config.guess: Updated to timestamp 2004-06-11. * config.sub: Updated to timestamp 2004-03-12. * include/channel.h: Move MODE_NOLISTMODES to 0x200000. * include/ircd_defs.h: Move #define AUTOJOIN_CHANNEL to bottom part of file. * include/motd.h, include/struct.h: Moved MAX_DATE_STRING from struct.h to motd.h. * include/msg.h: Correct indent/spacing with CREDITS and COPYRIGHT. * include/patchlevel.h: Bump patchlevel (0.2.1). * include/supported.h: Correct chmode 'L' placement. * ircd/channel.c: Fix bug related to +O and +z chmodes that caused the IRCd to call send_notoper(). * ircd/listener.c: Make encrypted (SSL) ports display 'E' instead of 'C'. * ircd/m_burst.c: Burst MODE_NOLISTMODES. * ircd/m_clearmode.c: Correct chmode 'L' placement. * ircd/m_copyright.c: Correct indent/spacing. * ircd/m_ircops.c: Revert to version in which opers cannot see services (works better for now until I figure out another way). * ircd/motd.c: Correct indent/spacing and add #include . * ircd/s_user.c: Correct indent/spacing. * ircd/ssl.c: Correct indent/spacing. * ircd/version.c.SH: Correct indent/spacing and add current maintainers of IRCu. 2004-06-23 Neil Spierling * include/ircd_features.h: Changed spambot check feature to FALSE. * include/patchlevel.h: Bumped patchlevel (0.2.0). * include/supported.h: Added L to CHANMODES. * ircd/ircd_features.c: Changed spambot check feature to FALSE. 2004-06-21 Neil Spierling * ircd/m_rehash.c: Added new flag "s" so that an ircd.pem file can be reloaded. 2004-06-21 Neil Spierling * ircd/m_topic.c: Fixed potential crash; don't want to do the user@host for a topic coming from a server (in topic bursts). 2004-06-20 Neil Spierling * tools/makepem: Added basic support for users who already have an existing SSL certificate they wish to use. 2004-06-20 Neil Spierling * ircd/s_user.c: Don't let unregistered users send B:Line'd commands. 2004-06-20 Neil Spierling * include/channel.h: Bumped up the size of topic_nick more so it can hold a user's ident and a !. * ircd/m_topic.c: Must of been tried when I done the host in topic stuff. Added the display of a users ident, so now the output looks like this: [03:03] * Set by gandalf!BigDaddy@306cb8dc.15ce75d4.jet.net.nz on Sun Jun 20 02:28:41 2004-06-19 Neil Spierling * doc/example.conf: Added new F:Line. * include/ircd_features.h: Added FEAT_TIME_IN_TIMEOUT. * ircd/ircd_features.c: Added FEAT_TIME_IN_TIMEOUT (default FALSE). * ircd/ircd.c: Display the amount of time since the last ping in the time in the Ping Timeout message. 2004-06-19 Neil Spierling * doc/example.conf: Added new F:Line. * include/ircd_features.h: Added FEAT_HOST_IN_TOPIC. * ircd/ircd_features.c: Added FEAT_HOST_IN_TOPIC (Default TRUE). * ircd/m_topic: Made FEAT_HOST_IN_TOPIC useful, if it's enabled the host will be added to topic_nick (See Below). RFE 975655. 2004-06-19 Neil Spierling * include/channel.h: Bump up the size of topic_nick so it can hold a host. * ircd/m_topic.c: When a topic is set, add the host into topic_nick so that when a topic is displayed the full user@host is in the Set by part. Eg: [09:45] * Set by gandalf@36df16fa.25b5c948.jet.net.nz on Sat Jun 19 09:34:55 2004-06-19 Neil Spierling * doc/example.conf: Added feature DEFAULT_UMODE. * doc/readme.features: Documented new feature. * include/ircd_features.h: Replaced feature AUTOHIDE with DEFAULT_UMODE. * ircd/ircd_features.c: Replaced feature AUTOHIDE with DEFAULT_UMODE (default "+"). * ircd/s_user.c: Took out the AUTOHIDE stuff and put in some code to handle DEFAULT_UMODE. 2004-06-19 Neil Spierling * include/channel.h: Added MODE_NOLISTMODES (+L). * include/supported.h: Added new mode into the string of channel modes. * ircd/channel.c: Added fluff for the new mode. If the user doing the /list is not an oper and the channel currently being processed has +L set then the modes will not be displayed beside the topic. Feature idea/request from Bell (AfterNET). * ircd/m_clearmode.c: Added fluff for MODE_NOLISTMODES. 2004-06-19 Neil Spierling * ircd/res.c: Send out a notice for a resolver restart. * ircd/s_user.c: Restart the resolver upon a rehash; patch from Fredrik Söderblom (froo). 2004-06-18 Neil Spierling * ircd/m_account.c: Fixed small issue. 2004-06-18 Neil Spierling * doc/example.conf: Added features NOTVERIFIED (string msg) and VERIFIED_ACCOUNTS (default: FALSE). * include/client.h: Added FLAG_VERIFIED, IsVerified and SetVerified. * include/ircd_features.h: Added features NOTVERIFIED and VERIFIED_ACCOUNTS. * include/numeric.h: Added RPL_WHOISVERIFIED (340) and ERR_NOTVERIFIED (538). * ircd/ircd_features.c: Added features NOTVERIFIED and VERIFIED_ACCOUNTS. * ircd/m_account.c: Added new paramater to AC, "v" aka verified; syntax: "sNumeric AC tNumeric account timestamp v" Note: the code will have to change once we start having the need for more than one flag, ie "vgra". * ircd/m_whois.c: Spit out whether a user is or isn't verified in the WHOIS output. * ircd/s_err.c: Added RPL_WHOISVERIFIED (340) and ERR_NOTVERIFIED (538). Fixed a few numbers I never noticed before. * ircd/s_user.c: Only allow +x'ing for users who are verified when VERIFIED_ACCOUNTS is TRUE. Note that VERIFIED_ACCOUNTS only works with hosthiding style 1. 2004-06-17 Neil Spierling * tools/zBounce/*: Major sync of zBounce off the main zBounce project CVS. 2004-06-17 Neil Spierling * README: Updated my email address + bumped date. * doc/example.conf: Added feature SPAMBOT_CHECKS, defaults to TRUE. * include/channel.h: Added spambot check settings, will look into making some of these F:Lines at some point. * include/client.h: Stuff for spambot checks added into the Client structure. * include/ircd_features.h: Added feature SPAMBOT_CHECKS. * ircd/channel.c: Added main function for the spam bot checks. RFE 972232. Note: patch was written by Diane Bruce . * ircd/ircd_features.c: Added feature SPAMBOT_CHECKS, defaults to TRUE. * ircd/m_join.c: Bump up the counts for the spambot checks. * ircd/m_nick.c: Unrelated change, remove a var not in use. * ircd/m_part.c: If SPAMBOT_CHECKS is TRUE and the client isnt an oper then check for spambot warnings. 2004-06-16 Neil Spierling * ircd/s_user.c: Only send the cipher notice to SSL users only! 2004-06-16 Neil Spierling * configure: Regenerated configure. 2004-06-16 Neil Spierling * configure.in: Added a macro to for kerberos includes. Should fix SSL errors. configure will be regenerated and committed in 5 mins on another box. * include/ssl.h: Cleaned up a bit and added in declerations for some new functions. * ircd/IPcheck.c: SSL Clean up. * ircd/s_user.c: Notice a connecting user with SSL what cipher they are connected via. * ircd/ssl.c: Added functions used for fetching ciphers for a client who is connected via SSL. 2004-06-16 Neil Spierling * include/handlers.h: Add copyright function declerations. * include/msg.h Add COPYRIGHT fluff. * include/version.h: Added copyrighttext char. * ircd/Makefile.in: Added in m_copyright.c * ircd/m_copyright.c: File containing nessecary code for copyright command. * ircd/parse.c: Added in COPYRIGHT command fluff. * ircd/version.c.SH: Added GPL/Copyright text. 2004-06-16 Neil Spierling * include/msg.h: Added CREDITS fluff. * ircd/parse.c: Added CREDITS command, simply calls the m_info, etc. functions. 2004-06-15 Neil Spierling * doc/example.conf: Added in feature MOTD_LAST_CHANGED (default FALSE). * include/ircd_features.h: Added in feature MOTD_LAST_CHANGED. * include/struct.h: Added in MAX_DATE_STRING, will possible change to a different .h file. * ircd/ircd_features.c: Added in feature MOTD_LAST_CHANGED. * ircd/motd.c: Set the last modified date of ircd.motd into a char for use in s_user.c. * ircd/s_user.c: if MOTD_LAST_CHANGED is enabled then send out a notice to connecting users before the motd is displayed. The notice contains the date of when the motd was last modified (RFE 972238). 2004-06-15 Neil Spierling * doc/readme.features: Documented FEAT_GEO_LOCATION. * include/ircd_features.h: Added in FEAT_GEO_LOCATION. * ircd/ircd_features.c: Added in FEAT_GEO_LOCATION (default NULL). * ircd/s_err.c: Modified RPL_CREATION, reworded it a bit and added in GEO_LOCATION. * ircd/s_user.c: Modifed RPL_CREATION so it sends out GEO_LOCATION if its defined in ircd.conf (RFE 972237). 2004-06-11 Rubin * ircd/m_nick.c: Removed X* nick blocking code for AfterNET 2004-06-10 Reed Loden * include/patchlevel.h: Bump patchlevel (0.1.0). * ircd/m_ircops.c: Allow opers to view all opers including services; allow users to see non-+k users (remove FEAT_SERVICES_TLD). * ircd/s_user.c: Fix bug with sethost not being sent in burst. 2004-06-08 Reed Loden * ircd/m_check.c, ircd/m_userhost.c, ircd/m_userip.c, ircd/m_whois.c, ircd/s_user.c, ircd/whowas.c: Clean-up of FEAT_HOST_HIDING_STYLE code and various other code clean-ups. * ircd/m_ircops.c: Quick fix for weird behavior due to uninitialized variable; disable use of ms_ircops() for now; fixed it again. * ircd/m_topic.c, ircd/s_user.c: Fix warnings. * ircd/m_svsnick.c: Update copyright. * tools/linesync/linesync.conf: Add 'F' to ALLOWED_LINES. * Sync with u2.10.11.07(pre1) as per 2004-06-08. 2004-06-07 Reed Loden * ChangeLog.nefarious: Correct a couple of things. * configure: Regenerate using autoconf. * configure.in: Correct a typo. * config.h.in: Correct a typo. * include/gline.h: Change value of GLINE_MAX_EXPIRE if NICKGLINES are enabled. * include/ircd_features.h: Add asuka's HIS_USERGLINE. * ircd/gline.c: Clean-up some code and spacing. * ircd/ircd_features.c: Change default FEAT_BADCHAN_REASON value. Add asuka's HIS_USERGLINE. * ircd/m_gline.c: Add asuka's HIS_USERGLINE. * ircd/m_nick.c: Clean-up some code and spacing. * ircd/m_sethost.c: Revert an unneeded "fix" as I had already fixed it. ;P * ircd/m_topic.c: Fix topicburst. * ircd/random.c: Remove unneeded #include. 2004-06-06 Neil Spierling * configure.in: Added --disable/enable-nickglines; used throughout the ircd in ifdef's. * configure: Reran autoconf. * config.h.in: Added NICKGLINES. * doc/example.conf: Added F:Line for BADCHAN_REASON. * doc/readme.gline: Nickgline documentation included. * include/gline.h: Added nessecary declarations etc for Nick Glines. * include/ircd_features.h: Added FEAT_BADCHAN_REASON. * ircd/gline.c: Added Nick Glines. Stats G will now display Badchans, Realname glines aswell as normal glines (just like GLINE (with no parameters). Added FEAT_BADCHAN_REASON, allows admins to specify the reason given in a kick message on users when a channel is badchanneled. e.g.: User was kicked by server (This channel has been banned (oper reason)... The "This channel has been banned" bit is customizable via FEAT_BADCHAN_REASON. * include/ircd_features.c: Added FEAT_BADCHAN_REASON. * ircd/m_nick.c: Nickgline stuff added - don't let normal users use glined nicks. * ircd/s_err.c: Nickgline stuff added. * ircd/whocmds.c: Nickgline stuff added. 2004-06-04 Reed Loden * Corrected all warnings. * Added fakehost (from GameSurge) support. * Redid lots of code. * ircd/Makefile.in: Run "make depend". * ircd/m_check.c: Fix bug with cli_ip (from QuakeNet). * ircd/m_ircops.c: Add ms_ircops() to allow services to send an /IRCOPS to a user. * ircd/m_sethost.c: Fix bug with uninitialized variable (from QuakeNet). * ircd/m_svsnick.c: Add SVSNICK support as requested by CaptKirk` (Quarantined/Protium). Will add F:lines later. 2004-06-01 Reed Loden * Sync with u2.10.11.07(pre1). * Add beware's (Bas Steendijk) fix for ban matching. 2004-04-11 Neil Spierling * aclocal.m4: Added some extra macros for checking for the executable extension (handy for windows) + reran autoconf. * configure.in: If the host is a cygwin system then hide autoimport stuff; also reran autoconf. * ircd/Makefile.in: Use the extension found via the exta aclocal macros, chmod ircd properly in windows. 2004-04-05 Neil Spierling * ircd/ircd.c: Added a few more optional parameters to the ircd, they will make life easier for users using the ircd under windows. 2004-02-16 Neil Spierling * doc/example.conf: Updated with new F:Lines. * include/ircd_features.c: Updated with new F:Line (see below). * ircd/hosthiding.c: Functions required for HOST_HIDING_STYLE 2. * ircd/ircd_features.c: Added FEAT_QUOTES, FEAT_POLICY_NOTICE, FEAT_CMD_RULES, FEAT_HOST_HIDING_STYLE, and FEAT_CMD_OPERMOTD. Took read only status off a new path F:Lines. * ircd/m_oper: FEAT_CMD_OPERMOTD support added. * ircd/m_opermotd: FEAT_CMD_OPERMOTD support added. * ircd/m_rules.c: FEAT_CMD_RULES support added. * ircd/m_server.c: Display IP in unauthorised connection notices. * ircd/m_svsnoop.c: Services only command, can completely disable all O:Lines. * ircd/s_user.c: FEAT_QUOTES and FEAT_POLICY_NOTICE support added. 2004-02-15 Reed Loden * More work on merging BoxenIRCu and evilnet IRCu including fixing bugs. If I have time, I'll add a full ChangeLog later. 2004-02-15 Neil Spierling * configure.in: Added in some humor. Epoll checks fixed. OpenSSL checks improved. * configure: Regenerated off configure.in. * doc/example.conf: Updated with new F:lines. * doc/ircd.quotes: Random quote file. * doc/ircd.opermotd: OPERMOTD template. * doc/ircd.rules: RULES template. * doc/ircd.motd: MOTD template. * ircd/Makefile.in: Run makepem at the end of make, makepem will exit if SSL is disabled. * ircd/ircd_features.c: New F:lines for AUTOJOIN and a few more paths. * ircd/m_gline.c: Allow for gline lengths to be specified as ie 1d2m1s. * ircd/m_jupe.c: Allow for jupe lengths to be specified as ie 1d2m1s. * ircd/m_opermotd.c: MOTD for opers only. * ircd/m_rules.c: Network Rules output. * ircd/s_err.c: Various replies added for RULES and OPERMOTD. * ircd/s_user.c: AUTOJOIN functionality added (off by default). Random quotes added. Policy notice added. * ircd/s_serv.c: Various functions added for rules, opermotd and random quotes. * ircd/support.c: Added dgets function. Added is_timestamp. Added ParseInterval. 2004-02-14 Reed Loden * Renamed everything to nefarious as per merger between BoxenIRCu and evilnet IRCu. * Synched with u2.10.11.07(pre1). * config.guess, config.sub: Updated to latest svn version from savannah.gnu.org. * include/ircd_features.h, ircd/ircd_features.c: Moved some new features down to the "nefarious features" block. 2003-12-07 Reed Loden * include/patchlevel.h: Bump patchlevel. * ircd/m_pass.c: Fix core caused by no password. * ircd/m_svspart.c: Forgot size of array. 2003-12-06 Reed Loden * ircd/ircd_features.c: Send notice to "from", also. * ircd/ircd_relay.c: Remove redundancy in client_can_send_to_channel() checks. * ircd/m_check.c: Send real host to opers. * ircd/m_ircops.c: Ignore services. * ircd/m_join.c: Fix local channel if statement. * ircd/m_nick.c: Remove unneeded asuka text. * ircd/m_opmode.c: Remove excess line at EOF. * ircd/m_svspart.c: Call m_part() and have it do the job instead of actually parting the user. * ircd/m_wallchops.c: Don't see WALLCHOPS to sender. * ircd/m_whois.c: Don't send NETWORK with RPL_WHOISSERVICE. * ircd/s_err.c: Don't send NETWORK with RPL_WHOISSERVICE and reformat RPL_WHOISACCOUNTONLY. * ircd/s_user.c: Send 004 in the correct order (thanks cnix), fix checks on new asuka commands, and other miscellaneous stuff. * ircd/whocmds.c: Fixed bug where a channel of +n user is leaked via WHO (synched from QuakeNet repository). * Sync with u2.10.11.06.(pre3). 2003-11-24 Reed Loden * include/ircd_features.h: Add FEAT_REMOTE_MOTD. * include/motd.h: Increase normal remote motd from 3 to 5 lines. * ircd/ircd_features.c: Add FEAT_REMOTE_MOTD (default off). * ircd/ircd_xopen.c: Remove excess line at EOF. * ircd/m_mkpasswd.c: Randomize the seed a bit more and get rid of the include of crypt.h since it is not even needed. * ircd/m_oper.c: Did more work and fixed more bugs. * ircd/motd.c: Add REMOTE_MOTD. 2003-11-25 Matthias Crauwels * ircd/m_oper.c: Fixed some bugs in remote oper 2003-11-23 Reed Loden * Sync with u2.10.11.06.(pre2). * Fix lots of bugs. * Add MODE_STRIP (+S) and MODE_NOAMSG (+T). (credits to NetGamers/SiRVulcaN) * Rename MODE_SSLONLY to +z. * Add a lot of ASUKA stuff that is disabled by default for various other networks that use nefarious. Most of these required that I redo other things so they would work properly. - Check - XtraOp - HideChans - HideIdle * Add FEAT_OPER_LOCAL_CHANNELS so when local channels are disabled, opers can still join. * ircd/channel.c: Fix modestuff in /list (thanks IK). * ircd/m_clearmode.c, ircd/m_opmode.c: Use cli_user(tmp->user)->server instead. 2003-11-04 Reed Loden * Sync with u2.10.11.05 release. * include/handlers.h, include/msg.h, ircd/Makefile.in, ircd/parse.c: Rename SAJOIN/SAPART to SVSJOIN/SVSPART. * ircd/Makefile.in: Run "make depend". * ircd/m_ircops.c: Fix problem when using /ircops server.* where the total number of IRCops was always the number of network opers and not just the number on the specific server. * ircd/m_svsjoin.c: Instead of using FindClient and FindUser, use findNUser; also changed other various stuff. * ircd/m_svspart.c: Instead of using FindClient and FindUser, use findNUser; also changed other various stuff. * ircd/m_wallchops.c: Send a copy of the wallchops back to the sender. * ircd/m_wallvoices.c: Send a copy of the wallvoices back to the sender. * ircd/numnicks.c: Remove excess lines at EOF. * ircd/s_user.c: Redo some various stuff, add a missing '}', and don't let sethost'ed users walk through bans. 2003-11-02 Reed Loden * doc/readme.features: Update documentation. * ircd/gline.c: Use ircd_snprintf instead of strcpy. * ircd/ircd_features.c: Add missing comma (found by Kingpin). * ircd/s_user.c: Only show nick change notices if the user is on that specific server. * ircd/version.c.SH: Add missing comma (found by Amy). 2003-10-31 Reed Loden * doc/readme.features: Update documentation. * doc/example.conf, doc/ircd.conf.sample: Update documentation. * include/ircd_features.h: Add FEAT_SERVICES_TLD and FEAT_HIS_STATS_b. * include/numeric.h: Add RPL_STATSBLINE (229). * ircd/gline.c: Fix issue where some g-lines were not getting the "G-lined ()" prefix. * ircd/ircd_features.c: Add FEAT_SERVICES_TLD and FEAT_HIS_STATS_b. * ircd/m_burst.c: Allow global opers to netride. * ircd/m_clearmode.c: Add more modes to the default clearmode. * ircd/m_ircops.c: Use FEAT_SERVICES_TLD instead of ".Services" so that other networks using nefarious ircd can change it more easily. * ircd/m_trace.c: Remove excess lines at EOF. * ircd/parse.c: Backport Dianora's complete rewrite of parse.c. * ircd/s_conf.c: Formatting changes. * ircd/s_err.c: Add RPL_STATSBLINE (229). * ircd/s_stats.c: Add /stats B support. * ircd/s_user.c: Remove unneeded code. * ircd/version.c.SH: Add cnix's header line change. 2003-10-27 Reed Loden * include/ircd_string.h, ircd/ircd_string.c: Remove ircd_strrcmp() macro and use an ircd_strrcmp() function instead. * ircd/m_ircops.c: Redo .Services stuff yet again. * ircd/s_user.c: Fixed a very annoying core by changing several sptr's to acptr's. 2003-10-26 Reed Loden * ircd/m_ircops.c: Fix .Services stuff. 2003-10-25 Reed Loden * Sync with u2.10.11.05pre5.(part).(whois) * ircd/gline.c: Added missing "continue;" so badchanneling works properly. * ircd/ircd_features.c: Update hidden hosts as per voting results. * ircd/m_info.c: Added missing comma. 2003-10-23 Reed Loden * include/patchlevel.h: Bump patchlevel. * ircd/gline.c: Add IK's fixes. * tools/linesync/linesync.conf: Update linesync information. 2003-10-19 Reed Loden * ircd/gline.c: Incorporate IK's complete rewrite of the gline quit reason parser and add consideration for when a service does the gline but the reason does not start with a '<'. 2003-10-18 Reed Loden * include/ircd_string.h: Add an ircd_strrcmp() macro. * ircd/gline.c: Tidy up clsk's fix and remove redundancy by using refactoring (plus fix it). (thanks IK!) * ircd/m_ircops.c: Completely hide any opers on servers ending in ".Services". 2003-10-18 Alan Alvarez * ircd/gline.c: Fix memory going out of bounds by allocating memory on the heap. 2003-10-12 Jochen Meesters * ircd/m_rehash.c: Small fix. 2003-10-07 Reed Loden * ircd/gline.c: New way of doing gline quit reasons as requested by Rubin. (made by clsk, modified by myself) 2003-10-02 Reed Loden * include/handlers.h, ircd/m_rehash.c, ircd/parse.c: Added remote rehash support. (made by clsk, modified by myself) NOTE: NOT TESTED YET! * ircd/m_ircops.c: More formatting changes. * ircd/m_quit.c: If MODE_COLOUR is on, don't let people use color in quits. 2003-09-30 Reed Loden * ircd/match.c, ircd/m_ircops.c, ircd/s_user.c: Fixed bugs. * ircd/m_ircops.c: Formatting changes. * ircd/ircd_relay.c: Oops... block NOTICES, not PRIVMSGS. :p 2003-09-29 Reed Loden * ircd/s_user.c: Send out a connexit notice for the nick change before cli_name(sptr) is overwritten with the new nick. (requested by royalsexy) * Sync with u2.10.11.05. * Fix a silly bug in the old version of IRCOPS. New version coming soon (as soon as clsk finishes with his bug fixes). * Added MODE_NONOTICE (Yet Another QuakeNet Mode[tm]). * Completely new IRCOPS version made mostly by clsk and modified a bit by myself. 2003-09-27 Reed Loden * Got rid of a lot of the HEAD_IN_SAND stuff. * Changed IsColorChannel to IsColor and added a check for colors in quit/part msgs when MODE_NOCOLOUR is on. -wasted * Reverted map and links back to original. * IRCOPS now only shows globals and idle time has been added. 2003-09-05 Reed Loden * Added a lot and fixed a ton. I'll finish this ChangeLog entry later when I have more time. 2003-08-25 Martijn Smit * include/channel.h, ircd/channel.c, ircd/m_invite.c, ircd/m_join.c: Don't allow users to use color codes with /invite and move color dection to a function for further use. 2003-07-15 Mathieu Rene * include/s_user.h, ircd/s_user.c: Fixed a warning by removing a "const" qualifier. 2003-07-15 Reed Loden * Added and modified some more of SiRVulCaN's patches. - +M ACCOUNT Only Channel Mode - Local/Global LUSERS Counts - RPL_REDIR Connection Redirection (R:lines) - SVSJOIN Command (services only) - SVSPART Command (services only) * Messed with the REMOTEOPER macros again. * Added MODE_OPERONLY and MODE_SSLONLY. * Modded SSL stuff to use #ifdef USE_SSL. * Added some SSL macros and another reply in whois. * Did some work on configure/aclocal/etc. stuff. * Added B:lines from ircu-eden. * Added FEAT_HIS_MAP_CRIPPLED and FEAT_HIS_LINKS_CRIPPLED from ircu-eden. * ircd/s_auth.c: Modify AUTH_TIMEOUT from 30 to 8. * Sync with u2.10.11.05: Unwrap the connected counter in ip_registry_check_local() before returning. * As per Math's recommendation, removed umode +S. Now, SSL users are only kept track of via FLAG_SSL. * Actually do SetSSL() on SSL users. * Renamed q:lines to R:lines because they stand for "Redirection lines". * Stomped out several compiler warnings. * Oops, forgot doc/readme.features. 2003-07-05 Reed Loden * ircd/s_user.c: Fixed a problem of when an oper was +xh and did -h, it gave the oper FEAT_HIDDEN_HOST and not FEAT_HIDDEN_OPERHOST. * ircd/s_auth.c: Modify AUTH_TIMEOUT from 60 to 30. 2003-07-04 Reed Loden * Happy Fourth of July! * Changed some of Math's REMOTEOPER code to use macros. 2003-07-01 Martijn Smit * Added OPERHOST_HIDING and HIDDEN_OPERHOST. 2003-07-03 Reed Loden * Fix bugs in m_mkpasswd.c and m_ircops.c. * Revert parse.c to old version because db's new one is b0rked. * Removed login-on-connect. * Modified operhost patch to use "? :" construct rather than if and else. * Changed default server port and hidden host. * Backported some patches from u2.10.12. (FEAT_LOCAL_CHANNELS and brand new parse.c) * Added some fixes from asuka. * ircd/m_topic.c (do_settopic): If chan +m and -t don't let +b people set topic. (found by OUTsider but he had a broken patch) * Add a SSL fix from OUTsider. * Fix a typo in s_user.c made by Isomer. * Sync with u2.10.11.05... 2003-06-19 Reed Loden * Fixed the annoying assignment from incompatible pointer type warning bug. (thanks IK) 2003-06-15 Reed Loden * Fix more bugs. 2003-06-13 Reed Loden * It's Friday the 13th! *BOO* * Oops, forgot to commit makepem. * Synched Kev's fix of m_settime.c. * Fix bugs. 2003-06-12 Reed Loden * Added asuka's noquitparts. * Added OUTsider's botsupport. (no targetlimits/floodlimits/chanlimits) * Allow opers to see all channels in /whois. * Modified asuka's +c to reply with 480 on nocolour. * Added whoisservice (shows if client is +k). * Added OUTsider's whoisaccountonly (shows if client is +R). * Modified some FEAT_NEFARIOUS stuff. * Added asuka's opersendq patch (which was made by me). * Added several patches from SiRVulCaN. (/ircops, /mkpasswd, warn_change, chmodeslist) 2003-06-11 Reed Loden * Added SiRVulCaN's modified patch of Vampire-'s SSL patch. 2003-06-08 Reed Loden * Added two patches from ULtimaTe_. * Added some IRCu fixes from asuka. * Added asuka's topicburst (which in turn was made by Vampire-). * Added badnicks for X and then fixed it. (thanks IK and Rubin) * Added support for FEAT_HIS_STATS_u and FEAT_HIS_STATS_w. * Added several of my own patches that are still waiting to be committed to main IRCu CVS repository. 2003-05-10 Reed Loden * Synched to current u2_10_11_05. * Removed ASUKA's delayedjoin. * Removed S:lines to get ready for ASUKA's sethost. * Added ASUKA's sethost (not tested!!). * Fixed several bugs in sethost. NOTE: Need to tell QuakeNet Dev-Com about these bugs. * include/ircd_features.h, ircd/ircd_features.c: Added HIS_GLINE (default off). * ircd/gline.c: Fixed bugs in syncing. * ircd/s_user.c: Fixed gcc warning. 2003-01-21 Reed Loden * ircd/gline.c: Fixed nasty error due to missing ending bracket. * ircd/m_topic.c: member should have been sptr. * ircd/s_user.c: Forgot to change a FEAT_BOTSERVICE_CLASS to FEAT_BOT_CLASS. * Removed MODE_REGISTERED. 2003-01-15 Reed Loden * Added several ASUKA patches: delayedjoin, cC, accountonly, topicburst (needs to be fixed), and parts of badchan. * ircd/m_join.c: Added reason to BADCHAN kick message. * ircd/m_oper.c: Changed "No O: Lines" to "No O:line". * Added an edited version of OUTsider's botservice patch for use on Bots.*. * Renamed +r (REGONLY) to +R. * Added MODE_REGISTERED (+r) for when services are moved off of channels. * Removed SVSNICK since it's not what I have in mind. The new cloaking system will be started on soon. 2003-01-14 Mathieu Rene * ircd/m_oper.c: Added remote OPER capability * ircd/m_join.c: Send reason instead of RPL_BANNEDFROMCHAN when attempting to join a BADCHAN'd channel + allow wildcards in badchans. * ircd/m_set.c: Added remote SET support * ircd/parse.c: Addes ms_set reference * ircd/table_gen.c: Forbid * in a channel name since this will break wildcards * ircd/client.c: Send privileges according to the defaults rather than using a hardcoded list. * ircd/ircd_features.c: Added a new feature: REMOTE_OPER, default to TRUE * include/client.h: Added FLAG_REMOTEOPER * include/ircd_features.h: Added a new feature: REMOTE_OPER, default to TRUE * include/msg.h: Added CMD_SET definition * include/handlers.h: Added ms_set prototype 2003-01-13 Mathieu Rene * ircd/m_oper.c: Isolated OPER Authentication procedure * ircd/m_svsnick.c: Fixed stuff that didnt compile * ircd/s_conf.c: Fixed stuff that didnt compile 2003-01-11 Reed Loden * Add SVSNICK (several files modified). * ircd/s_conf.c: Make S:lines only work on users and not servers. 2003-01-10 Reed Loden * Add something from u2.10.12. 2003-01-09 Reed Loden * Sync to release version of u2.10.11.04. * include/patchlevel.h: Fix patchlevel so it fits. :P * ircd/ircd.c: Use FEAT_NEFARIOUS instead of another #define. * ircd/version.c.SH: Added nefarious to the list. 2003-01-06 Mathieu Rene * ircd/m_privs.h (ms_privs): Added REMOTE privs support * include/handlers.h: Added ms_privs definition * include/msg.h: Added CMD_PRIVS * ircd/parse.c: Added ms_privs reference * ircd/ircd.c: Added #ifndef NOPIDFILE in the pidfile lock, for testnets 2003-01-01 Reed Loden * Sync of UnderNet IRCu. * ircd/ircd_features.c: Default CONFIG_OPERCMDS to TRUE. * ircd/m_links.c, ircd/m_map.c: Removed the part about CFV-165. 2002-12-30 Reed Loden * More work and syncing of UnderNet IRCu. * ircd/m_account.c: FLAGS to FLAG. * ircd/m_whois.c: Forgot an ending ')', again. 2002-11-23 Aaron Catella * ircd/channel.c: allow non-member channel services to PRIVMSG, NOTICE, WALLCHOPS, and WALLVOICE. * ircd/m_invite.c: allow non-member channel services to INVITE users. * ircd/m_kick.c: allow non-member channel services to KICK users. * ircd/m_topic.c: allow non-member channel services to change TOPICs. 2002-12-29 Reed Loden * Added main AfterNET defaults. Full ChangeLog coming soon. 2002-12-28 Mathieu Rene * ircd/s_user.c (set_user_mode): Allow remote mode for a user by a server. * ircd/m_opmode.c (m_opmode): Blocked opmode for registered channels. * ircd/m_clearmode.c (m_clearmode): Blocked clearmode for registered channels. 2002-12-28 Reed Loden * Imported u2_10_11_04 into CVS. ***********************************************************************/ #define CVS_VERSION "$Id: ChangeLog.nefarious 1755 2006-08-26 09:07:53Z sirvulcan $"