netbird/client/internal/dns
Misha Bragin 2eeed55c18
Bind implementation (#779)
This PR adds supports for the WireGuard userspace implementation
using Bind interface from wireguard-go. 
The newly introduced ICEBind struct implements Bind with UDPMux-based
structs from pion/ice to handle hole punching using ICE.
The core implementation was taken from StdBind of wireguard-go.

The result is a single WireGuard port that is used for host and server reflexive candidates. 
Relay candidates are still handled separately and will be integrated in the following PRs.

ICEBind checks the incoming packets for being STUN or WireGuard ones
and routes them to UDPMux (to handle hole punching) or to WireGuard  respectively.
2023-04-13 17:00:01 +02:00
..
dbus_linux.go Feature/dns client configuration (#563) 2022-11-23 13:39:42 +01:00
file_linux.go Fix nameserver peer conn check (#676) 2023-02-13 18:25:11 +04:00
host_darwin.go Fix nameserver peer conn check (#676) 2023-02-13 18:25:11 +04:00
host_linux.go Add resolvconf configurator for linux (#592) 2022-11-29 14:51:18 +01:00
host_windows.go Fix nameserver peer conn check (#676) 2023-02-13 18:25:11 +04:00
host.go Fix nameserver peer conn check (#676) 2023-02-13 18:25:11 +04:00
local_test.go Feature/dns client configuration (#563) 2022-11-23 13:39:42 +01:00
local.go Mobile (#735) 2023-03-17 10:37:27 +01:00
mock_test.go Fix nameserver peer conn check (#676) 2023-02-13 18:25:11 +04:00
mockServer.go Feature/dns protocol (#543) 2022-11-07 15:38:21 +01:00
network_manager_linux.go Mobile prerefactor (#680) 2023-02-13 18:34:56 +01:00
resolvconf_linux.go Mobile prerefactor (#680) 2023-02-13 18:34:56 +01:00
server_android.go Mobile (#735) 2023-03-17 10:37:27 +01:00
server_nonandroid.go Mobile (#735) 2023-03-17 10:37:27 +01:00
server_test.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
server.go Mobile (#735) 2023-03-17 10:37:27 +01:00
systemd_linux.go Mobile prerefactor (#680) 2023-02-13 18:34:56 +01:00
upstream_test.go Fix nameserver peer conn check (#676) 2023-02-13 18:25:11 +04:00
upstream.go Fix nameserver peer conn check (#676) 2023-02-13 18:25:11 +04:00