Fix /uping on IPv6-enabled FreeBSD builds (#1435373).
[ircu2.10.12-pk.git] / ChangeLog
index 8e6a0fdf77bdcfac34c469f71b538773919e9aae..6efb7d01b0e66040ea3ba72a8344499465b22948 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,68 @@
+2006-03-02  Michael Poole <mdpoole@troilus.org>
+
+       * include/ircd_osdep.h (os_socket): New parameter.
+
+       * include/res.h (irc_in_addr_unspec): New macro.
+
+       * ircd/ircd_res.c (restart_resolver): Set family appropriately.
+
+       * ircd/listener.c (inetport): Let os_ library pick socket family.
+
+       * ircd/os_generic.c: Do not #define _XOPEN_SOURCE on FreeBSD 5+.
+       (sockaddr_from_irc): New parameter.
+       (os_sendto_nonb): Use new parameter to sockaddr_from_irc().
+       (os_socket): New parameter.  Try to turn off IPV6_V6ONLY on
+       sockets that listen on unspecified addresses.
+       (os_connect_nonb): Use new parameter to sockaddr_from_irc().
+
+       * ircd/s_auth.c (start_auth_query): Let os_ library pick socket
+       family.
+
+       * ircd/s_bsd.c (connect_inet): If we pick the IPv4 vhost, specify
+       family for os_socket() as AF_INET.
+
+       * ircd/uping.c (uping_init): Set socket family appropriately.
+       (uping_server): Likewise.
+       (uping_end): Fix format strings (the ms_* fields are int, not
+       long, and this causes bad results on LP64 machines).
+
+2006-02-22  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_silence.c (apply_silence): Refuse to apply silences for
+       local users that are broader than an IPv4 /16 or an IPv6 /32,
+       unless they match every host indiscriminately.
+
+2006-02-22  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/s_auth.c (check_auth_finished): Give non-iauth clients
+       connection classes, too.
+       (auth_close_unused): Remove redundant check for iauth != NULL.
+       (report_iauth_conf): Check iauth != NULL before deref'ing it.
+       (report_iauth_stats): Likewise.
+
+2006-02-22  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/s_auth.c: fix macros to not dereference a NULL pointer when
+       iauth is not connected
+
+2006-02-17  Alex Badea <vamposdecampos@gmail.com>
+
+       * ircd/s_auth.c (auth_set_username): Check if the last
+       character of the username is alphanumeric, instead of the
+       '\0' terminator.
+       
+       * ircd/m_pong.c (mr_pong): Parse cookie with strtoul(),
+       since atol() causes signedness problems.
+
+2006-02-15  Michael Poole <mdpoole@troilus.org>
+
+       * include/res.h (NXDOMAIN): Define.
+
+       * ircd/ircd_res.c (res_readreply): Treat NXDOMAIN just like
+       SERVFAIL.  Patch courtesy of Dianora.
+
+       * tools/iauth-test (Carp): This doesn't actually use Carp.
+
 2006-02-15  Michael Poole <mdpoole@troilus.org>
 
        * doc/example.conf: Include new HIS_STATS_IAUTH feature.