Skip to content
Snippets Groups Projects

Allow server to start before the interfaces are up

Merged Ondřej Surý requested to merge freebind into master

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

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading