netbird/iface
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
..
bind Bind implementation (#779) 2023-04-13 17:00:01 +02:00
address.go Mobile prerefactor (#680) 2023-02-13 18:34:56 +01:00
iface_android.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
iface_nonandroid.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
iface_test.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
iface_windows.go Mobile (#735) 2023-03-17 10:37:27 +01:00
iface.go Bind implementation (#779) 2023-04-13 17:00:01 +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 Bind implementation (#779) 2023-04-13 17:00:01 +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 Mobile (#735) 2023-03-17 10:37:27 +01:00
tun_android.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
tun_darwin.go Mobile (#735) 2023-03-17 10:37:27 +01:00
tun_linux.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
tun_unix.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
tun_windows.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
tun.go Mobile (#735) 2023-03-17 10:37:27 +01:00
wg_configurer_android.go Mobile (#735) 2023-03-17 10:37:27 +01:00
wg_configurer_nonandroid.go Mobile (#735) 2023-03-17 10:37:27 +01:00