3-way merge of amnezia-vpn/amneziawg-go (AWG2, I1-I5 CPS + S4 keepalive) into sagernet/wireguard-go@506b763185 (the base sing-box uses). Keeps sagernet's sing-box-compat additions (Send offset contract, InputPacket, conn reserved/ control) and neutralizes the encapsulating headroom (MessageEncapsulatingTransportSize=0) so obfuscation composes cleanly. Obfuscation lives in device/ (obf*.go, magic-header.go new files + send/receive/device/uapi grafts); conn/tun/ipc kept pure sagernet. LIVE-VALIDATED: handshake + keepalive + traffic against a real AmneziaWG 2.0 server.
11 lines
237 B
Modula-2
11 lines
237 B
Modula-2
module github.com/sagernet/wireguard-go
|
|
|
|
go 1.24
|
|
|
|
require (
|
|
github.com/sagernet/sing v0.7.10
|
|
golang.org/x/crypto v0.13.0
|
|
golang.org/x/net v0.15.0
|
|
golang.org/x/sys v0.12.0
|
|
golang.zx2c4.com/wintun v0.0.0-20230126152724-0fa3db229ce2
|
|
)
|