Avoid syntax error when importing leaf servers from an old config.
[ircu2.10.12-pk.git] / ChangeLog
index 07410e6f861016740fb586f0b50ffad5318893d6..0e8f7b6810765ccc2531d2c075443e3e1dbfe0b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,286 @@
+2005-03-19  Michael Poole <mdpoole@troilus.org>
+
+       * doc/example.conf (Connect): Remove a buggy comment about leaf
+       directives; refer the reader to the Connect block instead.
+
+       * tools/convert-conf.py: Set "leaf;" rather than "leaf = yes;"
+
+2005-03-19  Michael Poole <mdpoole@troilus.org>
+
+       * doc/example.conf (Operator): Correct the comment explaining
+       hashed passwords.
+
+       * ircd/m_oper.c (oper_password_match): Check correct variable to
+       determine whether the hashed password matched.
+
+2005-03-08  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/match.c (ipmask_parse): Explicitly zero-initialize the mask
+       and bit count for "*".
+       (ipmask_check): Make more robust to similar errors.
+
+2005-03-07  Michael Poole <mdpoole@troilus.org>
+
+       * configure.in: Consistently use a constant in AC_DEFINE().
+
+       * configure: Regenerate.
+
+       * doc/example.conf (Port): Add comment about the mask option.
+       (Port): Fix the vhosted Port example.
+
+       * ircd/ircd_parser.y (clientblock): Correctly initialize the IP
+       address and addrbits for a Client block with no IP mask.
+
+       * ircd/match.c (ipmask_parse): Accept * as a zero-bit mask.
+
+       * ircd/s_auth.c (start_auth_query): Count socket allocation
+       failure as a failed auth check, as .11 does.
+
+       * ircd/s_debug.c (debug_serveropts): Add '6' to server options
+       when compiled with IPv6 support.
+
+2005-02-23  Michael Poole <mdpoole@troilus.org>
+
+       * doc/example.conf: Explain apass_opmode privilege, pointing out
+       that, unlike previous privs, the default is OFF for global opers.
+
+       * include/client.h (PRIV_APASS_OPMODE): Define new privilege.
+
+       * ircd/channel.c (mode_parse_upass): Only prevent local opers
+       without the apass_opmode privilege from forcing a +U change.
+       (mode_parse_apass): Likewise, for +A.
+
+       * ircd/client.c (client_set_privs): Turn off PRIV_APASS_OPMODE in
+       the default privileges for global opers.
+
+       * ircd/ircd_lexer.l (apass_opmode): Recognize keyword.
+
+       * ircd/ircd_parser.y (TPRIV_APASS_OPMODE): New token.
+       (privtype): Fix typo for local_badchan privilege value.
+       Accept apass_opmode token.
+
+2005-02-23  Michael Poole <mdpoole@troilus.org>
+
+       * doc/example.conf: Fix comment's description of "whox" privilege.
+
+2005-02-21  Michael Poole <mdpoole@troilus.org>
+
+       * include/channel.h (ShowChannel): Remove PRIV_LIST_CHAN check
+       from here, so /whois does not show secret global channels.
+
+       * ircd/m_list.c (param_parse): Require PRIV_LIST_CHAN to use
+       "/list s".
+       (m_list): Allow opers with PRIV_LIST_CHAN to see secret channels.
+
+2005-02-21  Perry Lorier <isomer@undernet.org>
+
+       * ircd/s_stats.c: Hide the hub IP's.  They're kinda important.
+
+2005-02-20  Perry Lorier <isomer@undernet.org>
+
+       * ircd/ircd_parser.y: Moved some parse errors from log_write()'s to
+       parse_error()'s so that ./ircd -k will display them.  Also clarified
+       the warning about oper blocks.
+
+2005-02-20  Perry Lorier <isomer@undernet.org>
+
+       * tools/convert-conf.py: A multitude of changes to deal with parsing
+       mistakes, generate a newer config file, better error handling,
+       being smarter about what config elements you generate etc.
+       
+2005-02-20  Perry Lorier <isomer@undernet.org>
+
+       * ircd/engine_epoll.c: Change a size_t to socklen_t to match
+       getsockopt prototype, so it compiles without warning on amd64
+
+2005-02-19  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/ircd_parser.y (clientblock): Parse IP address before
+       allocating ConfItem; if the parse fails, generate an error.
+
+       * ircd/s_err.c (RPL_STATSCLINE): Add format field to prefix IPv6
+       addresses starting with ':'.
+       (RPL_STATSILINE): Likewise.
+       (RPL_STATSOLINE): Add format field for username.
+
+       * ircd/s_stats.c (stats_configured_links): Pass the appropriate
+       argument for the RPL_STATSxLINE changes.
+       Change RPL_STATSILINE to use * instead of <NULL> when IP or host
+       is null.
+
+2005-02-18  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/IPcheck.c (ip_registry_find): Use canonical form of IP
+       address to look up and compare against hash entries.
+
+       * ircd/channel.c (apply_ban): Do not free a succesful BAN_DEL ban.
+
+       * ircd/ircd_parser.y (clientblock): Stash IP string in aconf->name.
+       (clienthost): Split hosts that contain '@' into username and host.
+       (clientip): Split IPs that contain '@' into username and IP.
+       (killreason): Add missing ~ to mask off DENY_FLAGS_FILE.
+
+       * ircd/m_silence.c (forward_silences): When we reject a silence,
+       splice it out of the ban list.  Warn the user if he is local.
+
+       * ircd/s_bsd.c (connect_inet): Set IP TOS for outbound server
+       connections.
+
+       * ircd/s_stats.c (stats_configured_links): Display correct field
+       when listing CONF_UWORLD entries.
+
+2005-02-09  Michael Poole <mdpoole@troilus.org>
+
+       * configure.in (YACC): Only warn if we cannot get a version number
+       from $YACC.
+
+       * configure: Regenerate.
+
+       * ircd/ircd_res.c (check_resolver_timeout): Try another way to
+       avoid timer_chg() on a non-queued/active timer.
+
+       * ircd/ircd_string.c (ircd_aton): Set part_start to handle input
+       strings like "::127.0.0.1".
+
+       * ircd/test/ircd_in_addr_t.c (test_addrs): Add a test for that.
+
+2005-02-02  Michael Poole <mdpoole@troilus.org>
+
+       * Makefile.in (install): Do not create ${prefix}/include since it
+       is no longer used.
+
+       * ircd/Makefile.in (install-*): Remove commented-out code to touch
+       and chown MPATH and RPATH.
+
+       * ircd/gline.c (gline_find): Allow searching for host-based
+       G-lines by plain hostname (not *@host), thus preventing "GLINE
+       test ..." from inserting duplicate G-lines.
+
+       * ircd/motd.c (motd_create): Null out new Motd's hostmask when
+       appropriate, avoiding an uninitialized or stale pointer.
+
+2005-01-26  Michael Poole <mdpoole@troilus.org>
+
+       * include/ircd_alloc.h (DoMallocZero): Parenthesize macro
+       arguments, fixing operator precedence problems.
+       (DoFree): Make debug version also overwrite p.
+
+       * include/memdebug.h (fda_get_byte_count, fda_get_block_count):
+       Declare functions used outside memdebug.c.
+
+       * ircd/Makefile.in (UMKPASSWD_SRC): Add memdebug.c.
+
+       * ircd/ircd_alloc.c (DoMalloc, DoMallocZero, DoRealloc): Do not
+       use these if using the memdebug version.
+
+       * ircd/memdebug.c: #include "send.h" and <string.h> to get
+       declarations for certain functions.
+
+       * ircd/umkpasswd.c (CurrentTime): Define in case of memdebug.
+       (sendto_opmask_butone): Likewise.
+
+2005-01-25  Michael Poole <mdpoole@troilus.org>
+
+       * configure.in: Fix typos and thinkos in previous commut.
+
+       * configure: Regenerate.
+
+       * doc/example.conf: Change class name in Connect block to be
+       consistent with earlier Class block.
+
+       * ircd/ircd.c (try_connections): Consider Connect blocks with hold
+       time of 0.  Fix Links() vs MaxLinks() comparison to reflect ref
+       count starting at 1.
+
+       * ircd/ircd_parser.y (cruleblock, iauthblock): Clear unused
+       variables after use.
+
+2005-01-24  Michael Poole <mdpoole@troilus.org>
+
+       * configure.in: Make sure that $LEX and $YACC are reasonable and
+       actually run.
+
+       * configure: Regenerate.
+
+       * ircd/ircd_res.c (check_resolver_timeout): Use correct macro to
+       test whether the timer is already pending.
+
+2005-01-23  Michael Poole <mdpoole@troilus.org>
+
+       * doc/example.conf (Kill): Fix typo in realname Kill block
+
+       * include/client.h (infousermodes): Fix typo in comment.
+
+       * ircd/ircd.c (parse_command_line): -k implies BOOT_TTY.
+       (main): Move daemon_init() before event_init() to work around BSD
+       lameness.
+
+2005-01-23  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/test/Makefile.in: Add missing "install" target.  Make
+       compatible with BSD make (which has no $^ and no $(CPPFLAGS) in
+       its default .c.o rule).
+
+2005-01-21  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/engine_kqueue.c: Move <sys/types.h> earlier to fix build on
+       FreeBSD 5.x (which needs it for <sys/event.h>).
+
+       * ircd/fileio.c (fbopen): Replace BSDism S_IREAD, S_IWRITE with
+       portable equivalents.
+
+       * ircd/ircd_log.c (log_open): Likewise.
+
+       * ircd/os_generic.c (_XOPEN_SOURCE): Increase to 600 (SuSv3?) so
+       that IPv6 definitions become visible on FreeBSD 5.3.
+
+       * ircd/s_auth.c: Remove apparently unused <sys/file.h> because
+       it fails to compile on FreeBSD 5.3.
+
+2005-01-22  Perry Lorier <isomer@undernet.org>
+
+       * ircd/ircd_parser.y: Fix missing ;
+
+2005-01-19  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_invite.c (m_invite, ms_invite): Include timestamp in
+       outbound INVITE messages.  On incoming INVITEs, ignore if the
+       timestamp is too recent or if the timestamp is missing and the
+       peer server is in burst.
+
+2005-01-15  Michael Poole <mdpoole@troilus.org>
+
+       * RELEASE.NOTES: Mention CIDR support for Client, Operator, bans
+       and silences.  Mention net.rider kick change.
+
+       * doc/example.conf (Class): Add documentation for restart and
+       local_opmode privileges.  Fix name of local_jupe privilege.
+
+       * ircd/ircd_lexer.l: Recognize local_opmode privilege.
+
+2005-01-14  Michael Poole <mdpoole@troilus.org>
+
+       * RELEASE.NOTES: Further updates (mention Pseudo blocks, clarify
+       CAP comment, mention named /stats, list config heteromorphisms.
+
+       * doc/readme.features: Document HIS_STATS_a, HIS_STATS_L,
+       HIS_STATS_R, LOCAL_CHANNELS, TOPIC_BURST.
+
+       * ircd/channel.c (mode_parse_apass): Change old mention of +u mode
+       to say +U.
+
+2005-01-13  Michael Poole <mdpoole@troilus.org>
+
+       * RELEASE.NOTES: Update for 2.10.12.
+
+2005-01-08  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (@page zombie): Add synopsis to explain what
+       zombies are supposed to do.
+
+       * doc/example.conf (Features): Transfer recommended LOG features
+       from 2.10.11 example.conf.
+
 2005-01-03  Michael Poole <mdpoole@troilus.org>
 
        * ircd/ircd.c (try_connections): Test Connect hold time before