X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ChangeLog;h=69a966b850ff5261a4f10e4f7fbaf9caa3bbff79;hb=0f4cd319f2b9cc9eb39380f2d2f3aa0d970a20d7;hp=054d663c96fb8fa095beb7afe6fc5806176bbb7b;hpb=a39e3ba83a552a7f3259c989fa20c615e0840130;p=ircu2.10.12-pk.git diff --git a/ChangeLog b/ChangeLog index 054d663..69a966b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,593 @@ +2004-09-19 Michael Poole + + * acinclude.m4: Clean up AC_DEFINE()s so we no longer need + acconfig.h. + + * acconfig.h: Remove since it is now redundant. + + * aclocal.m4, config.h.in, configure: Regenerate. + +2004-09-19 hikari + + * configure.in: Fixed configure script rules to fail if (f)lex or yacc/bison + aren't found as they're essential for compilation. Regenerated files with + autreconf. + +2004-09-18 Michael Poole + + * doc/example.conf: Add NETWORK feature example. Fix typos in + eaxmples for HANGONGOODLINK and IRCD_RES_TIMEOUT. + + * include.class.h: Make max_links and ref_count unsigned ints. + Make ping_freq and conn_freq unsigned short. (No more negative + numbers in /stats y.) + + * ircd/ircd.c: Report configuration file name for "ircd -k". + +2004-09-18 hikari + + * ircd/Makefile.in: Fixed a missing internal build dependency. + +2004-09-16 Michael Poole + + * INSTALL: Fix name of example.conf and mention its installed + location. + + * include/supported.h (FEATURESVALUES2): Fix a reference to + channel mode +u that escaped earlier rename attempts. + + * ircd/ircd_auth.c (iauth_connect): Assign port number after + zeroing out the destination address. + Add some additional debug statements to help follow operations. + + * ircd/ircd_parser.y (iauthblock): Do not require "name" to be set. + +2004-09-11 Bas Steendijk + + * include/channel.h, include/supported.h, ircd/channel.c, + ircd/s_err.c: Use +U instead of +u for user keys. + +2004-09-13 Michael Poole + + * doc/example.conf: Remove sample VIRTUAL_HOST setting. + + * doc/readme.features: Remove VIRTUAL_HOST documentation, and + update NODNS documentation to match current behavior. + + * include/s_conf.h: Remove now-unused vhost_address field and + set_virtual_host() function. + + * include/ircd_features.h, ircd/ircd_features.c, ircd/s_debug.c: + Remove VIRTUAL_HOST. + + * ircd/ircd_auth.c, ircd/s_bsd.c: Use VirtualHost as local address + if we do not have a more specific alternate. + + * ircd/ircd_parser.y: Check for sanity in General blocks (from old + conf_add_local()) and assign vhost directly to VirtualHost. + + * ircd/ircd_res.c (irc_in_addr_valid): Fix thinko; obviously any + value will be either != 0 or != 0xffff. + + * ircd/os_generic.c: Use AF_INET instead of AF_INET6 when the + local addresses are specified as IPv4 addresses. + + * ircd/s_conf.c: Remove unused conf_add_local() and + set_virtual_host(). + +2004-09-13 Michael Poole + + * ircd/listener.c (add_listener): Consolidate duplicated code, and + make sure listener->server is set before calling inetport() on it. + +2004-09-12 Michael Poole + + * include/channel.c (mode_parse_upass, mode_parse_apass): Only let + services (not normal opers) force a change of +A or +u. + +2004-09-11 Michael Poole + + * include/s_stats.h: Add sd_name to struct StatDesc. Stop + publishing the statsinfo and statsmap arrays; replace them with + stats_find(). Change argument list of StatFunc() to work with + names. + + * ircd/m_stats.c: Use stats_find() instead of statsmap[]. Use the + full argument instead of just the first character in reports. + + * ircd/s_stats.c: Adapt individual stats handler functions to new + argument list. Add long names to statsinfo[]. Add new functions + stats_cmp(), stats_search(), stats_find(). Sort statsinfo[] in + stats_init(). + + * ircd/s_err.c: Change ENDOFSTATS to display a string rather than + a single character. + + * ircd/s_user.c: Send an error to the user when a message loses + its target in transit. + + * include/class.h include/gline.h include/ircd_features.h + include/listener.h include/motd.h include/msgq.h include/res.h + include/s_debug.h include/s_misc.h include/userload.h ircd/class.c + ircd/gline.c ircd/ircd_features.c ircd/ircd_res.c ircd/listener.c + ircd/motd.c ircd/msgq.c ircd/s_debug.c ircd/s_misc.c + ircd/userload.c: Adjust stats handlers to new argument list. + +2004-09-11 Michael Poole + + * include/numeric.h, ircd/s_err.c: Remove RPL_TRACEPING, and + replace with RPL_TRACEEND. + + * ircd/s_trace.c: Move all the duplicated code in m*_trace() to + do_trace(). Implement RPL_TRACEEND, per RFE#830291. + +2003-06-20 Alexander Maassen + + * ircd/m_topic.c : Don't allow banned users to set a topic in a + channel. + +2004-09-11 Kevin L Mitchell + + * config.h.in, tools/Makefile.crypt: Remove wrong pathname from + comment in header. + + * ircd/m_clearmode.c, ircd/m_opmode.c: Fix wrong pathname in + header comment. + + * ircd/m_away.c, ircd/m_kill.c, ircd/m_notice.c, ircd/m_ping.c, + ircd/m_pong.c, ircd/m_privmsg.c, ircd/m_quit.c, ircd/m_topic.c, + ircd/m_version.c: Remove "template" moniker from comments. + + * ircd/test/ircd_chattr.0.dat (IsChannelPrefix): Drop + from + channel prefix list. + +2004-09-11 Michael Poole + + * doc/example.conf: Add examples for FEAT_HIS_* features. + +2003-06-08 Matthias Crauwels + [Feature renamed to FEAT_HIS_WHOIS_LOCALCHAN by Michael Poole.] + + * include/ircd_features.h: new feature FEAT_HIS_LOCAL_CHAN_WHOIS + + * ircd/ircd_features.c: new feature FEAT_HIS_LOCAL_CHAN_WHOIS + + * ircd/m_whois.c: hide local channels in local WHOIS, this breaks HIS + + * doc/readme.features: documented FEAT_HIS_LOCAL_CHAN_WHOIS + + * doc/ircd.conf.sample: default value for FEAT_HIS_LOCAL_CHAN_WHOIS + +2004-09-11 Michael Poole + + * ircd/ircd_relay.c (server_relay_channel_message, + server_relay_channel_notice): Do not allow other servers to send + or relay to local channels. + + * ircd/m_wallchops (ms_wallchops): Likewise. + + * ircd/m_wallvoices (ms_wallvoices): Likewise. + +2004-09-11 Kevin L Mitchell + + * ircd/gline.c (gline_add): fix GLINE logging (Bug #750927) + + * ircd/channel.c: removing limits shouldn't gobble an argument; + this was a subtle interaction issue with modebuf...fixed by adding + MODE_LIMIT to modebuf_flush_int() and short-circuiting + modebuf_mode_uint() to add MODE_LIMIT to mbuf->mb_rem in the + removal case. Note that this is not proof against the sequence, + "modebuf_mode_uint(mbuf, MODE_ADD | MODE_LIMIT, 10); + modebuf_mode_uint(mbuf, MODE_DEL | MODE_LIMIT, 10);" + (Bug #916138) + +2004-09-11 Michael Poole + + * include/supported.h: Kev pointed out I misinterpreted the + meaning of CHANMODES; fix this. Also define CHANNELLEN and + STATUSMSG from the ISUPPORT draft. + +2004-09-10 Michael Poole + + * include/supported.h (FEATURESVALUES2): Include A,u, in CHANMODES + when oplevels are enabled. + +2004-09-10 Michael Poole + + * ircd/channel.c (send_channel_modes): Only send oplevels for + channels that actually use them -- for -A channels, send chanops + as :o even if OPLEVELS is enabled. + + * ircd/ircd.c: Fix -k (chkconf mode) and show in usage help. + + * ircd/numnicks.c (base64toip): Fill in the right number of 0 + words when we see _ in a base64-encoded IPv6 address. + +2004-09-10 Michael Poole + + * ircd/ircd.c: Add -k as a chkconf-like option to exit after + reading the configuration file. + + * ircd/chkconf.c: Remove as unused. + + * ircd/Makefile.in: Remove last mentions of chkconf from Makefile. + +2004-09-10 Michael Poole + + * doc/example.conf: Remove examples for unused features (TIMESEC, + CRYPT_OPER_PASSWORD) and add for new feature (ANNOUNCE_INVITES). + + * doc/readme.features: Remove documentation for unused features + (TIMESEC, CRYPT_OPER_PASSWORD, oper/locop privileges, + HIS_DESYNCS), update defaults for SOCKSENDBUF and SOCKRECVBUF, and + add documentation for ANNOUNCE_INVITES. + + * include/ircd_features.h: Remove unused features (TIMESEC, + CRYPT_OPER_PASSWORD, LIST_CHAN, HIS_DESYNCS). + + * include/ircd_features.c: Likewise. + + * ircd/ircd_res.c: Actually use FEAT_IRCD_RES_RETRIES and + FEAT_IRCD_RES_TIMEOUT where appropriate. + + * ircd/s_debug.c: Do not display setting of unused (and now + non-existent) FEAT_CRYPT_OPER_PASSWORD. + +2004-09-10 Michael Poole + + * ircd/os_generic.c (sockaddr_from_irc): Fix IPv4 implementation + to use the correct address family and IP offset. + +2004-09-10 Michael Poole + + * include/s_conf.h (struct ConfItem): Add origin and origin_name + fields. + + * ircd/ircd_parser.y: Add new global variable "origin." Add a new + "connectionvhost" production that accepts vhost = "IP" inside a + Connect block and assigns the IP to origin_name. + + * ircd/s_bsd (connect_inet): If aconf has a valid origin, use it + as the local address. Otherwise, fall back to the old logic (if + VIRTUAL_HOST="TRUE", use the virtual host setting). + + * ircd/s_conf.c (lookup_confhost): If the ConfItem has an + origin_name, try to parse it as an IP address. + +2004-04-17 Isomer + * ircd/parse.c: Don't rate limit /gline messages + +2004-09-10 Michael Poole + + * ircd/ircd_parser.y: Replace references to yylval.whatever with + references to the appropriate term. This fixes bugs like + "1 hour 30 minutes" being misrecognized as 30 seconds. + +2004-09-10 Michael Poole + + * ircd/ircd_features.c (features): Change default values for + SOCKSENDBUF and SOCKRECVBUF to SERVER_TCP_WINDOW, so that users + need not specify them in ircd.conf. + +2004-09-10 Michael Poole + + * ircd/ircd_parser.y (serverblock): Server blocks should default + to CONF_LEAF status. + + * doc/example.conf: Update example to reflect this. + +2004-09-10 Michael Poole + + * ircd/parse.c (msg_tree_parse): Reject commands that contain + non-alphabetic characters. + +2004-09-09 Michael Poole + + * config.h.in: Remove duplicated and unused macro definitions. + +2004-08-24 Michael Poole + + * ircd/client.h: Properly parenthesize "flag" argument to + FLAGSET_INDEX() and FLAGSET_MASK() macros. + +2004-08-22 Michael Poole + + * ircd/channel.c (send_channel_modes): If oplevels are disabled, + send 'o' for chanops instead of the member's oplevel. + +2004-08-22 Michael Poole + + * ircd/s_conf.c: find_conf_byip() should use irc_in_addr_cmp() + instead of memcmp(). (Fixes IPv4 servers linking to an IPv6 + server.) + +2004-08-22 Alex Badea + + * include/ircd_defs.h: increased SOCKIPLEN to fit ipv6 addresses + +2004-08-19 Michael Poole + + * include/res.h: Remove unused function gethost_byname_type(). + + * ircd/ircd_res.c: Likewise, and clean up some small functions + only used once (remove_dlink(), timeout_resolver()). Use rand() + for random request IDs instead of the deprecated *rand48(). Make + resolver timeout event fire only when needed instead of once a + second. + +2004-08-17 Michael Poole + + IPv6 support, with lots of code and design borrowed from a patch + by Alex Badea. + + * config.h.in: Add place to #define IPV6 support. + + * configure.in: Check for struct sockaddr_in6, and use that as + the default choice for IPv6 support. + + * configure: Regenerate. + + * include/IPcheck.h, include/client.h, include/gline.h, + include/ircd_string.h, include/listener.h, include/match.h, + include/res.h, include/s_bsd.h: Convert from struct in_addr (from + ) to struct irc_in_addr (from "res.h"). + + * include/ircd_osdep.h, include/s_conf.h, include/uping.h: Convert + from struct sockaddr_in (from ) to struct + irc_sockaddr (from "res.h"). Add new functions os_socket(), + os_accept(), os_sendto_nonb() to help abstract away actual + sockaddr types. + + * include/ircd_chattr.h, ircd/table_gen.c: Define new bit to mark + characters valid in IPv6 addresses. + + * include/numnicks.h, ircd/numnicks.c: New functions iptobase64() + and base64toip() to convert from base64 to struct irc_in_addr. + + * ircd/IPcheck.c, ircd/channel.c, ircd/m_nick.c, ircd/m_oper.c, + ircd/m_userip.c, ircd/m_who.c, ircd/m_whois.c, ircd/s_misc.c, + ircd/s_serv.c, ircd/s_user.c, ircd/whocmds.c: Use struct + irc_in_addr instead of unsigned int or struct in_addr. + + * ircd/gline.c: Use new more-generic ipmask functions. + + * ircd/ircd.c: Use struct irc_sockaddr instead of separate port + fields. + + * ircd/ircd_reslib.c: Use struct irc_sockaddr and ircd_aton() + instead of irc_ssaddr and irc_getaddrinfo(). + + * ircd/ircd_string.c: Implement new functions: IPv6-capable + ircd_ntoa_r(), ircd_aton_ip4(), ircd_aton(). + + * ircd/match.c: Delete IPv4-only matchcompIP(). Replace with + IPv6-capable ipmask_parse() and ipmask_check(). + + * ircd/numnicks.c: Implement new functions: iptobase64() and + base64toip(). + + * ircd/os_generic: Convert external parameters to be struct + irc_addrinfo. When using IPv6 support, sockaddr_in6 is native. + Implement new functions os_sendto_nonb(), os_socket() and + os_accept(). + + * ircd/ircd_auth.c, ircd/ircd_parser.y, ircd/ircd_res.c, + ircd/listener.c, ircd/m_connect.c, ircd/s_auth.c, ircd/s_bsd.c, + ircd/s_conf.c, ircd/s_stats.c, ircd/uping.c: Use struct + irc_sockaddr instead of separate in_addr and port fields and new + OS support functions. + + * include/ircd_addrinfo.h, ircd/ircd_getaddrinfo.c, + ircd/ircd_getnameinfo.c: Remove, since these functions are no + longer used. + + * ircd/os_bsd.c, ircd/os_linux.c, ircd/os_openbsd.c, + ircd/os_solaris.c, ircd/res_adns.c, ircd/res_libresolv.c: Remove, + since these are unused and not compatible with IPv6 support. + + * ircd/Makefile.in: Remove references to ircd_getXxxxinfo.c. + Regenerate dependencies. + +2004-08-17 Michael Poole + + * ircd/ircd_lexer.l: Change tokenizer to reduce number of lexer + states and be case-insensitive again. + +2004-08-15 Michael Poole + + * aclocal.m4: Check for uintNN_t instead of u_intNN_t, since the + former is from C99 (and the latter is absent on Solaris). + + * configure.in: Remove check for inttypes.h (which is a C99 format + string header); replace with check for stdint.h. Add checks for + sys/param.h and sys/socket.h. Check for socklen_t being defined + (OS X does not set it). Run program tests for lex and yacc, and + use them rather than assuming flex and bison. Remove OSDEP_C and + mention to adns. Remove check for res_mkquery(). + + * config.h.in: Update u_intNN_t #undef lines. Add #undef + socklen_t so configure test can set it. + + * configure: Regenerate. + + * include/ircd_addrinfo.h: #include headers needed for netdb.h and + to define struct addrinfo and uintNN_t. + + * include/ircd_reslib.h: Replace u_intNN_t with uintNN_t. + + * include/res.h: #include "ircd_addrinfo.h" to get proper type + definitions. #define INADDR_NONE if it is not defined (as on + Solaris). + + * ircd/Makefile.in: Replace LEX and YACC definitions. Remove + OSDEP_C and OSDEP_SRC; always compile os_generic.c. Remove adns + directory from CPPFLAGS. Regenerate dependencies. + + * ircd/client.c: Return when no propagation set for oper, to + squash warning about use of "defaults" before it is set. + + * ircd/engine_epoll.c: #include correct C99 integer header. + + * ircd/engine_poll.c: Last argument to getsockopt() should be of + socklen_t, not size_t; fix. + + * ircd/engine_select.c: Squash warning about bzero(). + + * ircd/ircd_auth.c: OS X does not define in_addr_t, so replace it + with uint32_t. We need for that, so include it. + + * ircd/ircd_getnameinfo.c, ircd/memdebug.c: Replace u_int32_t with + uint32_t. + + * ircd/ircd_lexer.l: Replace flex-isms with portable syntax. + There is no portable way to do %option, so remove that. lex on + Solaris needs several of its internal tables to be bigger, so + increase those sizes. + + * ircd/ircd_parser.y: Remove the second declarations of two + tokens, since standard yacc warns about changing precedence. + + * ircd/os_generic.c: Make this compile on common OSes (Linux, + Solaris, OS X, FreeBSD, OpenBSD). + + * ircd/table_gen.c: Make arguments to isprint() all unsigned char + to squash warnings on Solaris that array index is "char." + + * ircd/umkpasswd.c: Remove #include since it is not + portable, and replace basename() with an equivalent. + + * ircd/uping.c: Typecast printf arguments for 64-bit OSes. + +2004-07-27 Michael Poole + + * ircd/m_burst.c: Add new netride_modes() function to check + which modes could be used in a net.ride. Use this instead + of the old check for just +i or +k. + (Based on patches by beware and pomac.) + +2004-07-25 Michael Poole + + * ircd/ircd_parser.y: Remove redundant semicolon; it causes + errors on some versions of yacc. + +2004-07-21 Michael Poole + + * include/client.h, ircd/ircd_auth.c, ircd/ircd_crypt_smd5.c, + ircd/ircd_reslib.c: Fix warnings from gcc -pedantic. + +2004-07-21 Michael Poole + + New DNS resolver code, courtesy of Dianora and the rest of the + Hybrid team. (Bugs are of course my fault.) + + * configure.in, Makefile.in, ircd/Makefile.in: Remove adns and + libresolv from the build process. Update dependencies. + + * configure: Regenerate. + + * include/client.h: Change connection's DNS reply type. + + * include/ircd_features.h, ircd/ircd_features.c: New HIS_STATS_a. + + * include/numeric.h, ircd/s_err.c, ircd/s_stats.c: Add new + RPL_STATSALINE and /stats a to list DNS servers. + + * include/ircd_addrinfo.h, include/ircd_reslib.h, include/res.h, + ircd/ircd_getaddrinfo.c, ircd/ircd_getnameinfo.c, ircd/ircd_res.c, + ircd/ircd_reslib.c: New resolver files. + + * ircd/ircd_auth.c, ircd/s_auth.c, ircd/s_bsd.c, ircd/s_conf.c: + Update to new resolver callback interface and to only deal with + one IP and one name per DNS reply. + + * ircd/parse.c: Remove /DNS command, since new resolver does not + track those statistics. + +2004-07-20 Michael Poole + + * doc/readme.features: Change references to O:, Y:, etc lines into + references to the appropriate block types. + +2004-07-01 Michael Poole + + * include/fileio.h: Elaborate on "works for any file descriptor." + + * include/iauth.h: Remove unused file. + +2004-07-01 Michael Poole + + * include/map.h, ircd/map.c: Remove unused code. + + * ircd/m_links.c, ircd/m_map.c, ircd/s_misc.c: Remove includes of + map.h and a call to map_update(). + + * ircd/Makefile.in: Remove map.c and regenerate dependencies. + + * ircd/ircd_parser.y: Recognize Diane Bruce as a copyright holder + for the new config parser. + + * ircd/match.c: Remove pointless pointer dereference (Reed points + out that this generates a warning with old gcc). + + * ircd/s_user.c: Display connection class in CONNEXIT connection + notice as a string rather than an integer. + + * tools/ringlog.c, tools/ringlog.pl: At Kevin's request, remove + lines (falsely) identifying ringlog as related to IRC; the files + are general purpose. + + * configure.in, include/ircd_snprintf.h: Add checks for + va_copy()-like alternatives and use them if va_copy() is missing. + + * configure, config.h.in: Regenerate. + +2004-02-01 beware + + * ircd/channel.c: Check bans that look like IP bans against user's + hostname just in case they have a host like 1234.domain.tld. + +2003-12-18 Timothy Grant Vogelsang + + * ircd/ircd_log.c, ircd/send.c: va_list is not a scalar type + +2004-04-02 Gavin Grieve + + * ircd/ircd_parser.y: Fix rehash warnings for servername and + numeric so they only warn if changed in the config file. + +2004-06-30 Michael Poole + + * doc/readme.iauth, include/ircd_auth.h, ircd/ircd_auth.c: New + files. + + * doc/example.conf: Illustrate IAUTH configuration. + + * include/client.h: Add fields to record IAUTH status. + + * ircd/Makefile.in: Add ircd_auth.c to Makefile. + + * ircd/ircd_lexer.l, ircd/ircd_parser.y: Add new IAUTH section. + + * ircd/s_conf.c: Notify IAUTH code when reloading a configuration + so that an obsolete connection can be abandoned. + + * ircd/s_misc.c: Report client exits via IAUTH. + + * ircd/s_user.c: If IAUTH is active and a connecting user has not + been checked against it, interrogate the IAUTH server. + +2004-06-25 Michael Poole + + * configure.in: Check for crypt.h as well. + + * configure: Regenerate. + + * ircd/ircd_crypt_native.c: Move XOPEN defines earlier so they + affect the first includes of system headers. Include crypt.h if + it is available. + + * ircd/umkpasswd.c: Quash a gcc warning. + 2004-06-23 Michael Poole * doc/Authors: Add contributors to ircu2.10.11 and myself.