netbird/client/internal
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
..
acl Add default firewall rule to allow netbird traffic (#1056) 2023-09-05 21:07:32 +02:00
auth Close PKCE Listening Port After Authorization (#1110) 2023-08-29 09:13:27 +02:00
checkfw Add default firewall rule to allow netbird traffic (#1056) 2023-09-05 21:07:32 +02:00
dns DNS forwarder and common ebpf loader (#1083) 2023-09-05 21:14:02 +02:00
ebpf DNS forwarder and common ebpf loader (#1083) 2023-09-05 21:14:02 +02:00
peer Fix/always on boot (#1062) 2023-08-11 11:51:39 +02:00
routemanager Add default firewall rule to allow netbird traffic (#1056) 2023-09-05 21:07:32 +02:00
stdnet Routemgr error handling (#1073) 2023-08-12 11:42:36 +02:00
templates Add html screen for pkce flow (#1034) 2023-07-28 18:10:12 +02:00
wgproxy DNS forwarder and common ebpf loader (#1083) 2023-09-05 21:14:02 +02:00
config_test.go Update GitHub Actions and Enhance golangci-lint (#1075) 2023-09-04 17:03:44 +02:00
config.go Fix pre-shared key not persistent (#1011) 2023-07-13 10:49:15 +02:00
connect.go Fix/always on boot (#1062) 2023-08-11 11:51:39 +02:00
device_auth.go Add PKCE authorization flow (#1012) 2023-07-27 11:31:07 +02:00
engine_stdnet_android.go Add route management for Android interface (#801) 2023-04-17 11:15:37 +02:00
engine_stdnet.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
engine_test.go Update GitHub Actions and Enhance golangci-lint (#1075) 2023-09-04 17:03:44 +02:00
engine.go Update GitHub Actions and Enhance golangci-lint (#1075) 2023-09-04 17:03:44 +02:00
login.go Mobile (#735) 2023-03-17 10:37:27 +01:00
mobile_dependency.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
pkce_auth.go Add PKCE authorization flow (#1012) 2023-07-27 11:31:07 +02:00
state.go Client Login via device authorization flow (#309) 2022-05-12 11:17:24 +02:00