Implement a progressive iauth system.
[ircu2.10.12-pk.git] / ChangeLog
index bf51a871b7f97a773afdd469d6acd3dd26bb5cee..8e6a0fdf77bdcfac34c469f71b538773919e9aae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,782 @@
+2006-02-15  Michael Poole <mdpoole@troilus.org>
+
+       * doc/example.conf: Include new HIS_STATS_IAUTH feature.
+
+       * doc/readme.features: Document the feature.
+
+       * doc/readme.iauth: Rewrite to reflect the new progressive iauth
+       protocol, based on IRCnet's iauth.
+
+       * doc/snomask.html: Document SNO_AUTH server notice flag.
+
+       * include/client.h (FLAG_IAUTHED): Delete.
+       (con_cookie): Delete.
+       (con_unreg): Delete.
+       (con_auth): Make comment capitalization consistent.
+       (con_iauth): Delete.
+       (CLIREG_*): Delete.
+       (cli_unreg): Delete.
+       (cli_cookie): Delete.
+       (cli_iauth): Delete.
+       (con_unreg): Delete.
+       (con_iauth): Delete.
+       (IsIAuthed): Delete.
+       (SetIAuthed): Delete.
+       (SNO_AUTH): New server notice flag.
+       (SNO_ALL): Update to include SNO_AUTH.
+       (SNO_OPER): Update to include SNO_AUTH.
+
+       * include/ircd_auth.h: Delete file.
+
+       * include/ircd_features.h (HIS_STATS_IAUTH): New feature.
+
+       * include/s_auth.h: Rewrite almost everything for new auth system.
+
+       * include/s_user.h (COOKIE_VERIFIED): Delete.
+       (register_user): Remove redundant nick and username arguments.
+
+       * ircd/ircd_auth.c: Delete file.
+
+       * ircd/ircd_features.c (HIS_STATS_IAUTH): New feature.
+
+       * ircd/ircd_lexer.l (PROGRAM): New token in grammar.
+
+       * ircd/ircd_log.c (masks): Add SNO_AUTH flag.
+
+       * ircd/ircd_parser.y (stringlist): Simplify production.
+       (iauthblock): Revise to only include a PROGRAM production.
+
+       * ircd/list.c (make_client): Do not assign to deleted field.
+
+       * ircd/m_cap.c (cap_ls): Use auth_cap_start() instead of
+       cli_unreg().
+       (cap_req): Likewise.
+       (cap_end): Use auth_cap_done() instead of cli_unreg().
+
+       * ircd/m_pass.c (mr_pass): Merge arguments to PASS.  Use
+       auth_set_password() to notify iauth of password.
+
+       * ircd/m_pong.c (mr_pong): Use auth_set_pong() instead of
+       cli_cookie() and cli_unreg().
+
+       * ircd/m_user.c (m_user): Use auth_set_user() instead of
+       cli_unreg(), etc.
+
+       * ircd/s_auth.c: Rewrite most of the infrastructure for the new
+       auth system.
+
+       * ircd/s_conf.c (rehash): Call auth_*() instead of iauth_*().
+
+       * ircd/s_misc.c (exit_one_client): Do not use iauth_exit_client().
+       (exit_client): Use auth_send_exit() instead.
+
+       * ircd/s_stats.c (statsinfo): Include iauth and iauthconf.
+
+       * ircd/s_user.c (clean_user_id): Delete (moved into s_auth.c).
+       (register_user): Remove nick and username parameters; move conf
+       interactions and username validation to s_auth.c.
+       (set_nick_name): Use auth_set_nick() instead of cli_cookie(),
+       cli_unreg(), etc.
+
+       * tools/iauth-test: Implementation of iauth for testing purposes.
+
+2006-02-15  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/ircd_snprintf.c (doprintf): Fix typecast for %hu.
+
+2006-02-15  Michael Poole <mdpoole@troilus.org>
+
+       * include/ircd_signal.h (SigChldCallBack): New typedef.
+       (register_child): Declare.
+       (unregister_child): Declare.
+       (reap_children): Declare.
+
+       * ircd/ircd_signal.c (alloc_crec): New function.
+       (release_crec): New function.
+       (register_child): New function.
+       (do_unregister_child): New function.
+       (unregister_child): New function.
+       (sigchld_callback): New function.
+       (setup_signals): Hook SIGCHLD.
+       (reap_children): New function.
+
+       * ircd/ircd.c (server_restart): Call reap_children() on exit.
+
+2006-02-15  Michael Poole <mdpoole@troilus.org>
+
+       * include/ircd_osdep.h (os_socketpair): Declare.
+
+       * ircd/os_generic.c (is_blocked): New local function.
+       (os_*): Use is_blocked() instead of cut-and-pasted code.
+       (os_socketpair): New function.
+
+2006-02-15  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/match.c (match): Fix backtracking bug after an escape
+       (reported by Michael, I think).
+
+2006-02-04  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/ircd.c (try_connections): Scan all Connect blocks for the
+       earliest hold time (suggested by Michael).
+
+2006-02-04  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_join.c (m_join): Remove #if 0 code and update comment.
+
+       * ircd/m_mode.c (ms_mode): Remove self-op support.
+
+2006-01-12  Michael Poole <mdpoole@troilus.org>
+
+       * include/patchlevel.h (PATCHLEVEL): Update for 2.10.12.pre06.
+
+2006-01-12  Michael Poole <mdpoole@troilus.org>
+
+       * include/patchlevel.h (PATCHLEVEL): Update for release.
+
+2006-01-11  Michael Poole <mdpoole@troilus.org>
+
+       * doc/Makefile.in: Make install target VPATH-safe.
+
+       * doc/example.conf: Comment out example IAuth block.
+
+       * ircd/m_burst.c (ms_burst): Change isdigit() to IsDigit(),
+       silencing a warning on Solaris.
+
+2006-01-09  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/s_user.c (register_user): Do not send +r flag to user when
+       they first connect.
+
+2006-01-09  Michael Poole <mdpoole@troilus.org>
+
+       * include/ircd_features.h (FEAT_ZANNELS): Actually, put it back.
+
+       * ircd/ircd_features.c (FEAT_ZANNELS): Likewise.
+
+2006-01-06  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (mode_process_clients): Do not reveal zombies who
+       are being opped (MODE and KICK crossed).  Reported by coekie.
+
+2006-01-06  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_join.c (ms_join): Wipe out all modes (not just chanops)
+       when replacing a resurrected channel.
+
+       * ircd/convert-conf.c (dupstring): Fix probable off-by-one size
+       passed to memcpy().
+
+2006-01-03  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (modebuf_flush_int): Also send timestamp when &me
+       originates the MODE going to other servers (currently just when a
+       client joins a zannel or uses an A/U password).
+
+2006-01-02  Michael Poole <mdpoole@troilus.org>
+
+       * include/ircd_features.h (FEAT_ZANNELS): Remove.
+
+       * ircd/channel.c (sub1_from_channel): Remove reference to
+       FEAT_ZANNELS.
+
+       * ircd/ircd_features.c (FEAT_ZANNELS): Remove.
+
+       * ircd/m_destruct.c (ms_destruct): Do not try to remove a destruct
+       event for channels that do not have them (created by BURSTing a
+       zannel but not yet destroyed by EOB).
+
+2005-12-31  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_whowas.c (m_whowas): Mention that IP is untracked in WHOWAS.
+       Spotted by Progs.
+
+2005-12-30  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_topic.c: Remove block comment about sptr, cptr, etc.
+       (do_settopic): Add doxygen comment. Move permissions checks..
+       (m_topic): .. to here.  Update doxygen comment.
+       (ms_topic): Update doxygen comment here too.
+
+2005-12-30  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/s_conf.c (conf_debug_iline): Fix display of null passwords.
+
+2005-12-30  Michael Poole <mdpoole@troilus.org>
+
+       * RELEASE.NOTES: Mention removal of HIS_STATS_h.
+
+       * ircd/convert-conf.c (removed_features): Add AUTOHIDE,
+       HIS_DESYNCS and TIMESEC.
+       (get_connect): Do not downcase connection name on insert.
+       (do_feature): Do not upcase feature name (cf HIS_STATS_k).
+
+2005-12-30  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/engine_devpoll.c (engine_loop): Remove bogus assert.
+
+2005-12-31  Perry Lorier <isomer@undernet.org>
+
+       * convert-conf.c: Skip with a warning, H:'s that are missing a
+       corresponding C:
+
+2005-12-28  Michael Poole <mdpoole@troilus.org>
+
+       * ircd-patch: Do not use [ for test, and do not use $[] for expr.
+       (Solaris /bin/sh, among others, have problems with those.)
+
+2005-12-23  Michael Poole <mdpoole@troilus.org>
+
+       * config.guess: Update to current version.
+
+       * config.sub: Likewise.
+
+2005-12-23  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/m_join.c: get rid of MAGIC_REMOTE_JOIN_TS; perform the
+       deop-other-users loop only when creation < channel timestamp or
+       when the channel in question happens to be a zannel; actually deop
+       users, don't just say we are and not do it
+
+       * ircd/m_create.c (ms_create): get rid of MAGIC_REMOTE_JOIN_TS
+
+       * include/channel.h: get rid of MAGIC_REMOTE_JOIN_TS
+
+2005-12-13  Michael Poole <mdpoole@troilus.org>
+
+       * configure.in: Define a macro when compiling on Solaris.
+
+       * ircd/ircd_crypt_native.c (_XOPEN_SOURCE): Turn down to 500 so
+       that Solaris doesn't complain that SUSv3 requires C99.
+
+       * ircd/os_generic.c (_XOPEN_SOURCE): Likewise, but leave it at 600
+       on non-Solaris platforms so that IPv6 stays supported.
+
+2005-12-13  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_join.c (ms_join): Prevent net rides allowed by moving the
+       channel timestamp backwards in time without deopping current ops.
+       (Reported by Wouter Coekaerts.)
+
+2005-12-13  Michael Poole <mdpoole@troilus.org>
+
+       * doc/example.conf: Remove extraneous "Other" Client block.
+
+       * ircd/convert-conf.c (finish_operators): Fix operator precedence
+       bug.
+
+       * ircd/ircd_parser.y (clientclass): Fix typo in error message.
+
+2005-11-27  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/Makefile.in (version.c): version.c also depends on
+       version.h, patchlevel.h and source files.
+
+2005-11-27  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_join.c (m_join): Count a join to a new channel as a
+       target change.
+
+2005-11-19  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/s_stats.c (stats_servers_verbose): Display IPv6 support
+       flag with the other per-server flags.
+
+2005-11-19  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/convert-conf.c (finish_features): Only emit "Features {"
+       once in the converted configuration file.  Display the original
+       input line for each feature line in the output.
+
+2005-11-18  Michael Poole <mdpoole@troilus.org>
+
+       * include/patchlevel.h (PATCHLEVEL): Update for pre05.
+
+2005-11-18  Michael Poole <mdpoole@troilus.org>
+
+       * include/patchlevel.h (PATCHLEVEL): Update for release.
+
+2005-11-15  Brian Cline <brian.cline@gmail.com>
+
+       * doc/example.conf: Add new line for HIS_MODEWHO feature.
+
+       * doc/readme.features: Document new HIS_MODEWHO feature.
+
+       * include/ircd_features.h: Declare new HIS_MODEWHO feature.
+
+       * ircd/channel.c (modebuf_flush_int): Use new HIS_MODEWHO feature
+       to show or hide the server name that performed a channel mode change.
+
+       * ircd/ircd_features.c: Place new HIS_MODEWHO setting in the feature
+       table and give it a default value of true, which will hide the
+       originating server name.
+
+2005-11-16  Michael Poole <mdpoole@troilus.org>
+
+       * doc/example.conf (Features): Mention ZANNELS default.
+
+       * doc/readme.features: Document OPLEVELS and ZANNELS.
+
+2005-11-17  Carlo Wood <run@alinoe.com>
+
+       * include/ircd_features.h (Feature): Add ZANNELS.
+       * ircd/ircd_features.c (FeatureDesc): idem.
+       * ircd/channel.c (sub1_from_channel): Don't keep zannels
+       around when ZANNELS and OPLEVELS are FALSE.
+       * ircd/m_destruct.c (ms_destruct): Use JOIN instead of
+       CREATE to recreate a non-empty channel after DESTRUCT.
+
+2005-11-16  Michael Poole <mdpoole@troilus.org>
+
+       * tools/convert-conf.py: Delete obsolete code.
+
+2005-11-16  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_names.c (m_names): Fix handling of NAMES #a,#b.
+       (ms_names): Likewise.
+
+2005-11-15  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_nick.c (ms_nick): Clarify message when an older nick
+       overrules a newer nick.  When killing a client for a nick
+       collision, make sure to use the numnick as the first argument.
+
+2005-11-14  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (member_can_send_to_channel): After prodding from
+       reed, always allow remote users to send to a channel.  He also
+       pointed out a bug in the first version of this change.
+
+2005-11-14  Carlo Wood <run@alinoe.com>
+
+       * ircd/channel.c (modebuf_flush_int): Fix test for limitdel.
+       (modebuf_mode_uint): Make sure the limit is included as an
+       argument when necessary (and only when necessary) in a bounce.
+
+       * ircd/m_destruct.c (ms_destruct): Generate a mode bounce instead
+       of burst to resynchronize a non-empty destructed channel.
+
+2005-11-14  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (find_no_nickchange_channel): Disallow nick
+       changes by voiceless no-account users on a +r channel.
+
+2005-11-14  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_kick.c (ms_kick): Fix test for whether a client's own
+       server is kicking him.
+
+2005-11-13  Michael Poole <mdpoole@troilus.org>
+
+       * include/patchlevel.h (PATCHLEVEL): Bump for pre04.
+
+2005-11-13  Michael Poole <mdpoole@troilus.org>
+
+       * include/patchlevel.h (PATCHLEVEL): Update for release.
+
+2005-11-13  Carlo Wood <run@alinoe.com>
+
+       * ircd/m_create (ms_create): Accept CREATE for zannels.
+
+       * ircd/m_join.c (m_join): MODE +o for a zannel must come from the
+       server for compatibility with older versions.
+
+2005-11-12  Michael Poole <mdpoole@troilus.org>
+
+       * include/patchlevel.h (PATCHLEVEL): Bump for pre03.
+
+2005-11-12  Michael Poole <mdpoole@troilus.org>
+
+       * include/patchlevel.h (PATCHLEVEL): Update for release.
+
+2005-11-11  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/ircd_res.c (proc_answer): Follow CNAME when doing A
+       and AAAA lookups as well as PTR.
+
+2005-11-07  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (mode_parse_client): Allow clients to specify
+       oplevel in MODE #channel +o.
+       (mode_process_clients): Allow oplevel 999 to deop another 999.
+
+       * ircd/kick.c (m_kick): Allow oplevel 999 to kick another 999.
+
+2005-10-31  Michael Poole <mdpoole@troilus.org>
+       (Based on a patch by Romain Bignon <progs@ir3.org>)
+
+       * ircd/channel.c: Some modes (currently only WASDELJOINS) should
+       not be propagated to remote servers.
+
+2005-10-30  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (mode_parse_apass): Move all send_reply() errors
+       inside an if (MyUser(state->sptr)) test.
+
+       * ircd/m_join.c (m_join): Reorganize zannel join check to match
+       surrounding code.
+
+2005-10-30  Carlo Wood <run@alinoe.com>
+
+       * ircd/channel.c (sub1_from_channel): Delay destruction for -A
+       channels.  They become zombie channels (zannels).
+       (mode_parse_upass): Add duration to ERR_NOMANAGER message.
+       (mode_parse_apass): Likewise.  Unconditionally set the member who
+       sets Apass as oplevel 0.  Clear Upass when clearing Apass.
+       (joinbuf_join): Remove code to pass oplevel in JOIN.
+
+       * ircd/m_burst.c (ms_burst): Handle zannels.
+
+       * ircd/m_join.c (m_join): Handle a join to a zannel.  If the user
+       is joining with ops and/or an oplevel, send those.
+       (ms_join): Stop trying to parse oplevels in JOIN.  Copy join
+       timestamp when a user joins a zannel.
+
+       * ircd/m_mode.c (ms_mode): Never generate HACK3.  Silently allow a
+       user to op himself if he is the only one in a channel.
+
+       * ircd/s_err.c (ERR_UPASSSET): Remove extra space.
+       (ERR_UPASSNOTSET): Likewise.
+       (ERR_NOMANAGER): Add field for channel lifetime.
+
+2005-10-30  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_join.c (m_join): Fix check for OVERRIDE when the real
+       channel key is OVERRIDE.  (Reworked patch from a1kmm.)
+
+2005-10-30  Michael Poole <mdpoole@troilus.org>
+
+       * .cvsignore: Add autom4te.cache.
+
+       * ircd/.cvsignore: Add convert-conf.
+
+       * ircd/test/.cvsignore: Add ircd_match_t.
+
+       * patches/.cvsignore: Add marks.
+
+2005-10-28  Alex Badea  <vamposdecampos@gmail.com>
+
+       * ircd/m_kick.c (ms_kick): Fix format string typo (bug #1339538)
+
+2005-10-17  Diane Bruce  <db@db.net>
+
+       * ircd/ircd_res.c: Don't send retries if the client did
+       not resolve (SERVFAIL); this fixes a bug causing a flurry
+       of retries in this case
+
+2005-10-14  Michael Poole <mdpoole@troilus.org>
+
+       * include/patchlevel.h (PATCHLEVEL): Update to pre02.
+
+2005-10-14  Michael Poole <mdpoole@troilus.org>
+
+       * doc/readme.cvs: Document tag name consistently with the release
+       name.
+
+       * include/patchlevel.h (PATCHLEVEL): Bump patchlevel for release
+       of 2.10.12.01.
+
+2005-10-12  Michael Poole <mdpoole@troilus.org>
+
+       * doc/example.conf: Update documentation to match this change.
+
+       * ircd/client.c (client_set_privs): Make default global oper
+       privileges match what was in 2.10.11.
+
+2005-10-11  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/os_generic.c (os_get_rusage): Make conditional on DEBUGMODE
+       to mitigate bug #1313429.
+
+2005-10-12  Perry Lorier <isomer@undernet.org>
+
+       * include/s_stats.h: Add new "Local" only flag to /stats.
+
+       * ircd/m_stats.c: Consult it.
+
+       * ircd/s_stats.c: Use the flag.
+
+2004-01-04  Kevin L Mitchell  <klmitch@mit.edu>
+
+       * ircd/s_numeric.c (do_numeric): fix a crash when a numeric is
+       sent to a channel...
+
+2005-10-06  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_join.c (m_join): Report too-long channel names as
+       non-existent.
+
+2005-10-05  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_names.c (m_names): Fix format string when forwarding
+       /names -D to other servers.
+       (ms_names): Likewise.  Add support for remote /names -D.
+
+2005-10-05  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/class.c (do_find_class): Fix bug from previous commit.
+
+       * ircd/ircd_parser.y (clientblock): Allow setting Client port.
+
+       * ircd/s_conf.c (check_limit_and_attach): Merge into attach_iline.
+       (attach_iline): Only set FLAG_DOID when we are sure we will attach
+       this Client block to the client. [Credit: Jukka Ollila and others]
+
+2005-10-04  Michael Poole <mdpoole@troilus.org>
+       [Based on a patch by Jukka Ollila]
+
+       * include/class.h (find_class): Rename to do_find_class().
+
+       * ircd/class.c (class_delete_marked): Keep invalid classes in list
+       until next rehash.
+       (add_class): Use new parameter to do_find_class() to allow a class
+       to be "resurrected".
+       (find_class): Rename.
+       (report_classes): Use 'y' instead of 'Y' when reporting invalid
+       classes.
+
+2005-10-01  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_kick.c (ms_kick): If the kick target is join-delayed,
+       only send the KICK to the kicker.  Spotted by Cesar_.
+
+2005-10-01  Michael Poole <mdpoole@troilus.org>
+
+       * include/patchlevel.h (PATCHLEVEL): Update to pre1.
+
+       * ircd/class.c (init_class): Only set default class's ->next
+       pointer when first allocating it.
+
+2005-09-30  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_who.c (m_who): Handle matchsel & WHO_FIELD_ACC when
+       matching users.
+
+2005-09-30  Michael Poole <mdpoole@troilus.org>
+
+       * include/patchlevel.h: Update for release.
+
+2005-09-28  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_kick.c (ms_kick): Use correct oplevel when bouncing a
+       chanop being kicked.
+
+2005-09-26  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/whocmds.c (do_who): Fix uninitialized variable warning
+       about 'chan'.
+
+2005-09-26  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/parse.c (del_msg_element): Only delete empty subtrees, and
+       leave subtrees that may still contain data.
+
+2005-09-26  Michael Poole <mdpoole@troilus.org>
+
+       * include/channel.h (struct ModeBuf): Add mbm_oplevel to args
+       array.
+       (MB_OPLEVEL): New corresponding macro.
+       (modebuf_mode_client): Add corresponding argument.
+
+       * ircd/channel.c (modebuf_flush_int): Adjust worst-case buffer
+       usage to include :999 suffix.  Change format for oplevel passing.
+       (modebuf_mode_client): Set oplevel field in mbuf args array.
+       (struct ParseState): Add oplevel field to cli_change array.
+       (mode_parse_client): Accept and record oplevel suffix from
+       servers; fix it up if we're bouncing a deop.
+       (mode_process_clients): If a valid oplevel was parsed, use it.
+
+       * ircd/m_burst.c (ms_burst): Pass oplevel to modebuf_mode_client().
+
+       * ircd/m_clearmode.c (do_clearmode): Likewise.
+
+       * ircd/m_create.c (ms_create): Likewise.
+
+       * ircd/m_kick.c (ms_kick): Likewise.
+
+2005-09-23  Michael Poole <mdpoole@troilus.org>
+
+       * include/whocmds.h (WHOSELECT_DELAY): Define new constant.
+
+       * ircd/m_who.c (m_who): Accept 'd'/'D' as a way to set
+       WHOSELECT_DELAY, just like 'o' for WHOSELECT_OPER.  Do not skip
+       join-delayed users if WHOSELECT_DELAY is set.
+
+       * ircd/whocmds.c (do_who): Remember membership for shared channel
+       if one exists.  Use it when displaying flags, adding '<' for
+       join-delayed users.
+
+2005-09-22  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (mode_parse_key): Only accept the new key when
+       the current one is empty or "greater" than the new one.
+       (mode_parse_upass): Likewise, for upass.
+       (mode_parse_apass): Likewise, for apass.
+
+2005-09-22  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/gline.c (gline_checkmask): Add missing digit in mask length
+       check.
+
+2005-09-21  Michael Poole <mdpoole@troilus.org>
+
+       * doc/example.conf: Remove confused and outdated references to
+       Martians.
+
+2005-09-20  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/Makefile.in: Regenerate "make depend" dependencies.
+
+       * ircd/test/Makefile.in: Likewise.
+
+2005-09-16  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/m_join.c (last0): fix problem leading to protocol
+       violations on certain combinations of /join 0 from remote servers
+       (probably from local users, too) [bug #1291029]; remove redundant
+       !IsChannelChar() check
+
+2005-09-14  Michael Poole <mdpoole@troilus.org>
+
+       * doc/readme.cvs: Document the branching scheme for 2.10.12.
+
+2005-09-14  Michael Poole <mdpoole@troilus.org>
+
+       * include/patchlevel.h (PATCHLEVEL): Increment to reflect the
+       pre-release code freeze.
+
+2005-09-14  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (find_ban): Fix the sense of another check.
+
+2005-09-13  Michael Poole <mdpoole@troilus.org>
+
+       * include/channel.h (clean_channelname): Remove prototype.
+
+       * ircd/m_invite.c (m_invite): Do not clean channel name; just
+       reject invalid channel names.
+
+       * ircd/m_join.c (m_join): Likewise.
+
+       * ircd/m_mode.c (m_mode): Do not clean channel name.
+
+       * ircd/m_names.c (m_names): Likewise.
+
+       * ircd/m_opmode.c (mo_opmode): Likewise.
+
+2005-09-13  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (find_ban): Revert to older style of comparison,
+       fixing the sense of one check.  Spotted by Alex Badea.
+
+2005-09-13  Alex Badea <vamposdecampos@gmail.com>
+
+       * ircd/ircd.c (try_connections): modify autoreconnect logic to
+       allow FEAT_CONNECTFREQUENCY to be smaller than Class connectfreq
+
+2005-09-13  Alex Badea <vamposdecampos@gmail.com>
+
+       * ircd/s_conf.c (close_mappings): NULL out GlobalServiceMapList,
+       otherwise the linked list has an invalid ending sentinel on rehash
+
+2005-09-12  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (find_ban): Compare ban mask against hostname
+       even when it looks like an IP, to match things like *!*@1.* when
+       users have a hostname like 1.2.3.example.com.
+
+2005-09-12  Michael Poole <mdpoole@troilus.org>
+
+       * RELEASE.NOTES: Note the resolution of ambiguous ipmasks.
+
+       * ircd/ircd_string.c (ipmask_parse): Implement it.
+
+2005-09-12  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_join.c (m_join): If we find an empty key, null out the
+       key pointer.
+
+2005-09-11  Michael Poole <mdpoole@troilus.org>
+
+       * RELEASE.NOTES: Mention the side benefits of this change.
+
+       * include/ircd_string.h (ipmask_parse): Declare function here.
+       (ircd_aton): Becomes a special case of ipmask_parse().
+
+       * include/match.h (check_if_ipmask): Undeclare function.
+       (ipmask_parse): Remove function prototype from this file.
+
+       * ircd/ircd_string.c (ircd_aton_ip4): Add nullable pbits parameter
+       to accept ipmask length.  Rework to fill that in.
+       (ircd_aton): Rework into...
+       (ipmask_parse): this function, which knows how to fill in its own
+       pbits parameter.
+
+       * ircd/m_burst.c (ms_burst): Rely on make_ban() to set the ban
+       flags correctly, to avoid call to check_if_ipmask().
+
+       * ircd/match.c (ipmask_parse_ipv4): Delete function.
+       (check_if_ipmask): Likewise.
+       (ipmask_parse): Delete this version in favor of ircd_string.c's.
+
+       * ircd/test/ircd_in_addr_t.c (ipmask_test): New struct type.
+       (test_masks): New array of ipmask_test.
+       (test_ipmask): Function to run one of those tests.
+       (main): Call test_ipmask().
+
+2005-09-11  Alex Badea <vamposdecampos@gmail.com>
+
+       * ircd/m_ping.c (ms_ping, mo_ping): misplaced chunk of code
+       (probably during the forward port) which broke AsLL; fixed.
+
+2005-09-01  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/gline.c (make_gline): Remove debug output from when IPv6
+       support was being debugged.
+       (do_gline): Likewise.
+       (gline_lookup): Likewise, plus remove redundant code.
+
+2005-09-01  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (joinbuf_join): Ignore joinbuf type when joining
+       0, since no other call passes a null channel.
+
+       * ircd/m_join.c: Remove comment discussing argument meanings.
+       (last0): Make this also handle the JOIN 0 logic, doxyfy.
+       (join0): Merge into last0.
+       (m_join): Doxygenate.  Remove check for join0.  Further
+       reorganize, so new versus old channel handling are moved to just
+       one place each within this function.
+       (ms_join): Doxygenate.  Remove check for join0.
+
+2005-09-01  Michael Poole <mdpoole@troilus.org>
+
+       * RELEASE.NOTES: Bump revision date and highlight this change.
+
+       * include/channel.h (MAGIC_OPER_OVERRIDE): Remove.
+       (can_join): Remove declaration.
+
+       * ircd/channel.c (compall): Remove.
+       (can_join): Remove.
+
+       * ircd/m_join.c (m_join): Remove redundant check for control
+       characters (clean_channelname() will get them). Reorganize initial
+       flags calculation.  Accept channel keys like RFC 1459 says; this
+       requires the old compall()/can_join() logic to modify 'keys', so
+       inline the code and reorganize it.
+
+2005-08-30  Michael Poole <mdpoole@troilus.org>
+
+       * include/channel.h (PASSLEN): Remove; use KEYLEN instead.
+
+       * ircd/channel.c (mode_parse_upass): Likewise.
+       (mode_parse_apass): Likewise.
+       The inconsistency (in clean_key()) was reported by Reed.
+
+2005-08-30  Michael Poole <mdpoole@troilus.org>
+
+       * RELEASE.NOTES: Document +D and +d channel modes.
+
 2005-08-29  Michael Poole <mdpoole@troilus.org>
 
        * include/numeric.h (ERR_NOMANAGER_LONG): Undefine.
@@ -9,6 +788,7 @@
        (mode_parse_key): Use it, and check that keys do not start with :.
        (mode_parse_upass): Likewise, and adjust for ERR_NOMANAGER.
        (mode_parse_apass): Likewise.
+       The key and password changes fix bugs reported by coekie.
 
 2005-08-27  Michael Poole <mdpoole@troilus.org>