mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-27 17:19:20 +01:00
2eeed55c18
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.
10 lines
223 B
Plaintext
10 lines
223 B
Plaintext
#include <windows.h>
|
|
|
|
#pragma code_page(65001) // UTF-8
|
|
|
|
#define STRINGIZE(x) #x
|
|
#define EXPAND(x) STRINGIZE(x)
|
|
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST manifest.xml
|
|
7 ICON ui/netbird.ico
|
|
wintun.dll RCDATA wintun.dll
|