Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ChangeLog
index 7d00811887a6014690d4be406c526c879629fd0a..ae328a430479f5ca294e612cd8d178281a0c6a3e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,62 @@
+2004-10-18  Kevin L Mitchell  <klmitch@mit.edu>
+
+       * ircd/gline.c (gline_find): unless we're looking for an exact
+       match, we should call match() on hostnames, not ircd_strcmp()
+
+2004-10-17  Michael Poole <mdpoole@troilus.org>
+
+       * include/s_conf.h (ConfItem): Add new field username.  Replace
+       unused field bits with addrbits.
+       (find_conf_exact): Replace user and host arguments with cptr.
+       (find_conf_name, read_tlines, find_restrict): Remove declaration
+       for undefined functions.
+       (conf_parse_userhost): New function.
+
+       * ircd/m_oper.c (m_oper): Update calls to find_conf_exact(): both
+       resolved hostname and IP are matched in one pass now.
+
+       * ircd/s_bsd.c (close_connection): Update call to find_conf_exact().
+
+       * ircd/s_conf.c (conf_parse_userhost): New function.
+       (check_limit_and_attach): Use correct ConfItem field to determine
+       maximum connections per IP.
+       (attach_iline): Replace user@host matching with shorter, clearer
+       matching against username and host/IP fields.
+       (find_conf_exact): Likewise.
+
+       * ircd/ircd_parser.y: Replace assignment to aconf->host for
+       CONF_CLIENT and CONF_OPERATOR with calls the CIDR-aware
+       conf_parse_userhost().  This means CONF_CLIENT ConfItems no longer
+       use the name field or the IP token.  Remove the latter.
+
+       * ircd/ircd_lexer.l: Remove unused token IP.
+
+2004-10-17  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/crule.c (crule_via): Simplify the lookup for the directly
+       connected server name.
+
+2004-10-16  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/class.c: Make find_class() return NULL for unknown classes,
+       rather than returning the start of connClassList.
+
+       * ircd/match.c (parse_ipmask): Translate IPv4 masks as
+       IPv4-compatible addresses.
+       (check_ipmask): Fix comparison of IP masks.
+
+       * ircd/motd.h, ircd/motd.c: Add a new MOTD type, MOTD_IPMASK, that
+       uses CIDR style masks in the hostname field of a Motd block.
+
+2004-10-16  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/numeric.h: Remove the unused RPL_STATMEM and
+       RPL_STATMEMTOT.  Move the RPL_BOUNCE comment to its current
+       value (the former RPL_STATMEM).
+
+       * ircd/s_err.c: Remove format strings for RPL_STATMEM and
+       RPL_STATMEMTOT.
+
 2004-10-16  Michael Poole <mdpoole@troilus.org>
 
        * ircd/m_server.c: Look up server configuration by name of our