mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-21 15:43:12 +01:00
c9b2ce08eb
In case the 53 UDP port is not an option to bind then we hijack the DNS traffic with eBPF, and we forward the traffic to the listener on a custom port. With this implementation, we should be able to listen to DNS queries on any address and still set the local host system to send queries to the custom address on port 53. Because we tried to attach multiple XDP programs to the same interface, I did a refactor in the WG traffic forward code also. |
||
---|---|---|
.. | ||
bind | ||
mocks | ||
address.go | ||
device_wrapper_test.go | ||
device_wrapper.go | ||
iface_android.go | ||
iface_nonandroid.go | ||
iface_test.go | ||
iface_windows.go | ||
iface.go | ||
ipc_parser_android.go | ||
module_linux_test.go | ||
module_linux.go | ||
module.go | ||
name_darwin.go | ||
name.go | ||
tun_adapter.go | ||
tun_android.go | ||
tun_darwin.go | ||
tun_linux.go | ||
tun_unix.go | ||
tun_windows.go | ||
tun.go | ||
wg_configurer_android.go | ||
wg_configurer_nonandroid.go |