IPv6 dual-stack support
authorFelix Morgner <felix.morgner@gmail.com>
Fri, 6 Jun 2014 08:21:59 +0000 (10:21 +0200)
committerFelix Morgner <felix.morgner@gmail.com>
Fri, 6 Jun 2014 08:22:13 +0000 (10:22 +0200)
commit66530aabab4bcb5103148f5f3787cdb419b79c90
treed7dbc907f2d95a13e7486253c39f61aeed98f0fd
parent381d2562857640505719ed896b0952fc625ccf1e
parent896bf64f85e767ce90bf8370f3731fa835e07f31
IPv6 dual-stack support

This patch implements full IPv4-IPv6-dual-stack support for umurmur. It
introduces some new configuration and command line options:

  - The '-A' and '-B' options which work similar to the old '-a' and
    '-b' options but for IPv6.
  - The 'bindaddr6' and 'bindport6' options, which too, work like their
    IPv4 counterparts.

By default, the IPv6 implementation listens on all addresses and the
default port 64738, just like the IPv4 part. If your system does
support IPv6 and you haven't setup a proper IPv6 firewall, now is the
time to do it. In the meantime you could simply listen on the loopback
device (::1), if you'd like to 'disable' IPv6 functionality.

Note that since the implementation is fully dual-stack, umurmur will
simply warn you if either IPv4 or IPv6 is unavailable but it will still
run fine with no further action is required (unless of course you want
to use one of the unavailable protocols, which would mean you'd have to
enable it in your kernel configuration).