Skip to content
Snippets Groups Projects
Commit 1f49be4f authored by Daniel Salzman's avatar Daniel Salzman
Browse files

Merge branch 'freebind' into 'master'

Allow server to start before the interfaces are up

This adds very simple support for starting server before all interfaces are up (see [1]).  The most correct solution would be to use rtnetlink[2] and bind to interfaces as they come up, since using IP_FREEBIND or IP(V6)_BINDANY also means that wrong IP address won't be detected and reported as error.

Something like this is needed for systems with systemd as init system and dynamic interfaces.

NSD is also haunted by this (see [3]).

References:
1. http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
2. http://man7.org/linux/man-pages/man7/rtnetlink.7.html
3. https://bugs.debian.org/765831

See merge request !295
parents c6874dc3 57575a56
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment