Age | Commit message (Collapse) | Author |
|
required
|
|
when fastd thinks it might still need it
|
|
|
|
|
|
Rather exit on errors we're unlikely to recover from than retrying
indefinitely.
|
|
|
|
|
|
|
|
|
|
The semantics of setuid in SUID processes are not entirely clear on all
Unix-like systems. Better use setresuid to drop privileges where available.
|
|
|
|
|
|
Also, return early when no log destination would get the message anyways.
|
|
|
|
|
|
This makes it unnecessary to iterate over all peers for maintenance, and
desynchronizes different peers' keepalives.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Based-on-patch-by: Julian Kornberger <jk+github@digineo.de>
|
|
Some systems (like FreeBSD) don't delete TUN/TAP interfaces after closing,
add some infrastructure to do that.
|
|
Fixes a warning with -Wunused-result.
|
|
Based-on-patch-by: Julian Kornberger <jk+github@digineo.de>
|
|
|
|
headers
In in-tree builds, fastd's poll.h was conflicting with the system one on
non-Linux systems.
|
|
shell command lookup
|
|
peer group
|
|
|
|
|
|
|
|
|
|
Instead of adding compatiblity code to make this work with musl, just duplicate
the needed definitions in fastd.
|
|
Also remove some dead code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|