Skip to content

Commit

Permalink
[client] Eliminate UDP proxy in user-space mode (#2712)
Browse files Browse the repository at this point in the history
In the case of user space WireGuard mode, use in-memory proxy between the TURN/Relay connection and the WireGuard Bind. We keep the UDP proxy and eBPF proxy for kernel mode.

The key change is the new wgproxy/bind and the iface/bind/ice_bind changes. Everything else is just to fulfill the dependencies.
  • Loading branch information
pappz authored Oct 22, 2024
1 parent 0106a95 commit 30ebcf3
Show file tree
Hide file tree
Showing 50 changed files with 1,129 additions and 553 deletions.
142 changes: 0 additions & 142 deletions client/iface/bind/bind.go

This file was deleted.

5 changes: 5 additions & 0 deletions client/iface/bind/endpoint.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package bind

import wgConn "golang.zx2c4.com/wireguard/conn"

type Endpoint = wgConn.StdNetEndpoint
Loading

0 comments on commit 30ebcf3

Please sign in to comment.