[Pkg-dns-devel] Bug#720864: Fails to bind IPv6 socket during DAD

martin f krafft madduck at debian.org
Tue Mar 1 18:42:47 UTC 2016


also sprach Robert Edmonds <edmonds at debian.org> [2013-09-23 19:16 +0200]:
> i think the best thing to do, however, is to just make sure in the
> distro that when static IPv6 addressing is used, that we fully bring up
> the network before starting any network daemons.

You'll be at odds with the systemd mafia. On
https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ at
the bottom, they specifically write:

  If you write a server: if you want to listen on other, explicitly
  configured addresses, consider using the IP_FREEBIND sockopt
  functionality of the Linux kernel. This allows your code to bind
  to an address even if it is not actually (yet or ever) configured
  locally. This also makes your code robust towards network
  configuration changes.

And in fact, I do agree with them.

Do you think adding IP_FREEBIND is an option?

-- 
 .''`.   martin f. krafft <madduck at d.o> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1107 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/pkg-dns-devel/attachments/20160301/6cd33473/attachment.sig>


More information about the pkg-dns-devel mailing list