netbird/iface
Zoltan Papp c9b2ce08eb
DNS forwarder and common ebpf loader (#1083)
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.
2023-09-05 21:14:02 +02:00
..
bind Wg ebpf proxy (#911) 2023-07-26 14:00:47 +02:00
mocks Feat fake dns address (#902) 2023-06-08 13:46:57 +04:00
address.go Mobile prerefactor (#680) 2023-02-13 18:34:56 +01:00
device_wrapper_test.go Feat fake dns address (#902) 2023-06-08 13:46:57 +04:00
device_wrapper.go Feat fake dns address (#902) 2023-06-08 13:46:57 +04:00
iface_android.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
iface_nonandroid.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
iface_test.go Feature/android route notification (#868) 2023-05-31 18:25:24 +02:00
iface_windows.go Mobile (#735) 2023-03-17 10:37:27 +01:00
iface.go DNS forwarder and common ebpf loader (#1083) 2023-09-05 21:14:02 +02:00
ipc_parser_android.go Fix pre-shared key query name for android configuration (#773) 2023-03-29 10:41:14 +02:00
module_linux_test.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
module_linux.go Update GitHub Actions and Enhance golangci-lint (#1075) 2023-09-04 17:03:44 +02:00
module.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
name_darwin.go Mobile (#735) 2023-03-17 10:37:27 +01:00
name.go Mobile (#735) 2023-03-17 10:37:27 +01:00
tun_adapter.go Feature/android dns (#943) 2023-06-12 14:43:55 +02:00
tun_android.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
tun_darwin.go Mobile (#735) 2023-03-17 10:37:27 +01:00
tun_linux.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
tun_unix.go Feat linux firewall support (#805) 2023-05-29 16:00:18 +02:00
tun_windows.go Fix use wrpped device in windows (#981) 2023-06-23 10:01:22 +02:00
tun.go Feature/android dns (#943) 2023-06-12 14:43:55 +02:00
wg_configurer_android.go Mobile (#735) 2023-03-17 10:37:27 +01:00
wg_configurer_nonandroid.go Update GitHub Actions and Enhance golangci-lint (#1075) 2023-09-04 17:03:44 +02:00