Check for missing parameters to iauth messages (SF bug#1685648).
[ircu2.10.12-pk.git] / ChangeLog
index 908bc5fd9ed6c3fa8637de79ff4578874620f04d..97bc4105bdf371398d7a37bfaef36a8bba32dd84 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,92 @@
+2007-03-26  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/s_auth.c (iauth_parse): Check for missing arguments when
+       parsing the iauth message.
+
+       * tests/bug-1685648.cmd: New file to test this.
+
+       * tests/iauth-test: New file to exercise the code path.
+
+       * tests/ircd.conf: Use the iauth-test helper program.
+
+2007-03-26  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_silence.c (forward_silences): Do not try twice to process
+       silences that were both added and deleted.
+
+2007-03-26  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/ircd_parser.y (portblock): Restore old behavior for Port
+       blocks with no host listed.
+
+2007-03-26  Michael Poole <mdpoole@troilus.org>
+
+       * doc/readme.iauth (iauth I): Fix example and syntax.
+
+2007-03-18  Michael Poole <mdpoole@troilus.org>
+
+       * acinclude.m4 (unet_NONBLOCKING): Properly quote function name.
+       (unet_SIGNALS): Likewise.
+       (unet_CHECK_TYPE_SIZES): Likewise.
+       (AC_LIBRARY_NET): Likewise.
+
+2007-03-18  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/m_gline.c (mo_gline): add permissions checks I kept
+       forgetting to add--remote local modifications require
+       FEAT_CONFIG_OPERCMDS and PRIV_GLINE, local G-lines require
+       PRIV_LOCAL_GLINE, and global G-line changes (excluding local
+       activation/deactivation) require FEAT_CONFIG_OPERCMDS and
+       PRIV_GLINE
+
+2007-03-17  Michael Poole <mdpoole@troilus.org>
+
+       * doc/example.conf (CRule): Document the support for multiple
+       server masks in a single CRule block.
+       (Port): Document the optional additional field for vhost entries.
+       Document the support for multiple vhost entries in a single Port
+       block.
+
+       * ircd/ircd_parser.y (USE_IPV4): Shift up by 16 bytes.
+       (USE_IPV6): Likewise.
+       (portblock): Iterate over hosts rather than using the single host.
+       (portitem): Add portvhostnumber alternative production.
+       (portnumber): Check port number here.  If valid, combine address
+       family and port number in "port" variable.  If a port-less item
+       exists in "hosts", set its port number.
+       (portvhost): Prepend mask to "hosts" list.
+       (portvhostnumber): New production.
+       (cruleblock): Iterate over hosts rather than using the single
+       host.
+       (cruleserver): Prepend server mask to "hosts" list.
+
+2007-03-17  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/listener.c (add_listener): Only try to create IPv6 sockets
+       for IPv6-compatible addresses; likewise for IPv4.
+
+2007-03-17  Michael Poole <mdpoole@troilus.org>
+
+       * doc/example.conf (Operator): Update documentation to mention
+       more than one host entry is allowed.
+       (Motd): Likewise.
+
+       * ircd/ircd_parser.y (hosts): New file-scope variable.
+       (free_slist): New helper function.
+       (operblock): Iterate over hosts instead of using the single host.
+       (operhost): Prepend the mask to hosts.
+       (motdblock): Iterate over hosts instead of using the single host.
+       (motdhost): Prepend the mask to hosts.
+       (motdfile): Fix possible leak of "pass" string (the filename).
+
+       * ircd/s_conf.c (conf_parse_userhost): Stop freeing the host
+       string; operblock (the only caller) frees it now.
+
+2007-03-17  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/list.c (free_link): Only decrement the in-use count of
+       links if we free a link.
+
 2007-03-17  Kevin L. Mitchell  <klmitch@mit.edu>
 
        * ircd/s_err.c: update replies to handle new fields in