X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ChangeLog;h=93f78e035eaead5473be1785b2607b35d19febde;hb=dcecf316a0813ae009af5aaa2ca938a53c1a3835;hp=7cb258ca762e2f745d061b2709ee89b7ee16914c;hpb=ef4270d668183cf9e9a3d96cab7f305c5c5f1aa7;p=ircu2.10.12-pk.git diff --git a/ChangeLog b/ChangeLog index 7cb258c..93f78e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,41 @@ +2006-12-07 Michael Poole + + * doc/example.conf (Port): Document the method to select IPv4 or + IPv6 restriction for a port. + + * include/listener.h (LISTEN_IPV4): New listener flag. + (LISTEN_IPV6): New listener flag. + (struct Listener): Split 'fd' and 'socket' fields into two each. + + * ircd/ircd_lexer.l (gb): Move to be alphabetical. + (gigabytes): Likewise. + (ipv4): New token. + (ipv6): Likewise. + Adapted word matcher to handle digits in the non-leading character. + + * ircd/ircd_parser.y (USE_IPV4): New macro. + (USE_IPV6): Likewise. + (TOK_IPV4): New token. + (TOK_IPV6): Likewise. + (address_family): New non-terminal rule. + (portblock): Default to listening on both IPv4 and IPv6. + (portnumber): Add address_family element and use it. + (portvhost): Likewise. + + * ircd/listener.c (make_listener): Adjust for newly split fields + in struct Listener. + (inetport): Likewise. Adjust return value as well. + (add_listener): Update to handle both IPv4 and IPV6 support. + (close_listener): Likewise. + (accept_connection): Because each listener has two sockets, it is + no longer safe to free the listener when one is destroyed -- so + don't. Also accept() on the file descriptor from the incoming + event rather than on a fixed fd. + + * ircd/os_generic.c (os_socket): For platforms with IPV6_V6ONLY, + enable it for AF_INET6 sockets rather than disabling it for + unspecified sockets. + 2006-12-06 Michael Poole * include/listener.h (enum ListenerFlag): New enum.