0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-13 22:58:42 +00:00
bird/sysdep/unix
Ondrej Zajicek 130da72203 IO: Avoid re-binding accepted sockets to VRF
When VRFs are used, BIRD correctly binds listening (and connecting)
sockets to their VRFs but also re-binds accepted sockets to the same VRF.
This is not needed as the interface bind is inherited in this case, and
indeed this redundant bind causes an -EPERM if BIRD is running as
non-root making BIRD close the connection and reject the peer.

Thanks to Christian Svensson for the original patch and Alexander Zubkov
for suggestions.
2024-08-21 10:40:58 +02:00
..
alloc.c Expanded usage of stdbool.h to the whole BIRD 2024-03-25 09:39:58 +01:00
config.Y Additional CLI sockets may now be restricted 2024-06-27 04:14:39 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
endian.h OpenBSD port related changes. 2009-05-11 01:32:49 +02:00
io.c IO: Avoid re-binding accepted sockets to VRF 2024-08-21 10:40:58 +02:00
krt.c Expanded usage of stdbool.h to the whole BIRD 2024-03-25 09:39:58 +01:00
krt.h KRT: Allow to learn routes with RTPROT_KERNEL 2023-10-06 04:55:56 +02:00
krt.Y KRT: Allow to learn routes with RTPROT_KERNEL 2023-10-06 04:55:56 +02:00
log.c Log: Add support for UDP logging 2023-12-13 04:01:09 +01:00
main.c Additional CLI sockets may now be restricted 2024-06-27 04:14:39 +02:00
Makefile Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
random.c sysdep: Add wrapper to get random bytes - update 2021-06-06 16:26:06 +02:00
unix.h Additional CLI sockets can be now configured in the config file 2024-06-27 04:14:38 +02:00