netbird/client/internal/peer
Maycon Santos ecac82a5ae
Share kernel Wireguard port with raw socket (#826)
This PR brings support of a shared port between stun (ICE agent) and
the kernel WireGuard

It implements a single port mode for execution with kernel WireGuard
interface using a raw socket listener.

BPF filters ensure that only STUN packets hit the NetBird userspace app

Removed a lot of the proxy logic and direct mode exchange.

Now we are doing an extra hole punch to the remote WireGuard 
port for best-effort cases and support to old client's direct mode.
2023-05-03 14:47:44 +02:00
..
conn_status_test.go Use the conn state of peer on proper way (#717) 2023-03-03 19:49:18 +01:00
conn_status.go Use the conn state of peer on proper way (#717) 2023-03-03 19:49:18 +01:00
conn_test.go Share kernel Wireguard port with raw socket (#826) 2023-05-03 14:47:44 +02:00
conn.go Share kernel Wireguard port with raw socket (#826) 2023-05-03 14:47:44 +02:00
error_test.go Test conn (#199) 2022-01-21 13:52:19 +01:00
error.go Test conn (#199) 2022-01-21 13:52:19 +01:00
listener.go Add OnDisconnecting service callback (#767) 2023-03-29 10:39:54 +02:00
notifier_test.go Update calculate server state (#796) 2023-04-10 18:22:25 +02:00
notifier.go Update calculate server state (#796) 2023-04-10 18:22:25 +02:00
status_test.go Fix connstate indication (#732) 2023-03-16 17:22:36 +01:00
status.go Send a status notification on offline peers change (#821) 2023-04-20 15:59:07 +02:00
stdnet_android.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
stdnet.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00