Зеркало Leadaxe/wireguard-go-awg2-lx — сабмодуль ядра sing-box-lx (AmneziaWG). GPLv3.
Find a file
Leadaxe 831d483366 lx: re-graft AmneziaWG 2.0 obfuscation onto sagernet/wireguard-go v0.0.5
Rebase of the AWG obf graft (was e5feca7 on v0.0.3) onto v0.0.5
(2c27bbf4f9, 'Add L3 forwarding support'). 15 of 16 graft files
applied clean via 3-way; only send.go conflicted, on a single line
(upstream queuedOutboundPackets backpressure decrement vs a graft
blank line — took upstream).

Key invariant preserved: MessageEncapsulatingTransportSize=0 (graft
zeroes the sagernet encapsulating headroom; AWG obfuscation composes
the prefix itself via SendBuffers, not Bind.Send prepend). Upstream's
InputPacket/InputPackets and the new size-based outbound buffer pool
(GetOutboundBuffer/PutOutboundBuffer) are taken verbatim; the graft's
RoutineEncryption (header at buffer start) and transport-padding shift
in RoutineSequentialSender re-woven around them.

Builds clean on linux/android/windows/darwin (device/conn/tun).
2026-08-05 16:53:12 +03:00
conn Add EgressProvider 2026-07-17 10:48:47 +08:00
device lx: re-graft AmneziaWG 2.0 obfuscation onto sagernet/wireguard-go v0.0.5 2026-08-05 16:53:12 +03:00
ipc Rename module 2026-05-17 20:09:28 +08:00
ratelimiter Remove unused 2026-05-17 20:04:34 +08:00
replay Remove unused 2026-05-17 20:04:34 +08:00
rwcancel rwcancel: fix wrong poll event flag on ReadyWrite 2025-05-05 15:10:08 +02:00
tai64n Remove unused 2026-05-17 20:04:34 +08:00
tun Apply Tailscale TUN offload APIs 2026-05-17 20:36:35 +08:00
.gitignore Update .gitignore 2026-05-17 20:02:24 +08:00
go.mod device: add API for on-demand configuration of peers 2026-08-04 19:06:30 +08:00
go.sum Add pause support 2026-05-17 20:36:45 +08:00
LICENSE mod: rename COPYING to LICENSE 2021-03-06 09:09:21 -07:00
Makefile Makefile: don't use test -v because it hides failures in scrollback 2021-11-16 21:07:31 +01:00
reformat.sh Add module rename script 2026-05-17 20:02:24 +08:00
remove-unused.sh Add remove unused script 2026-05-17 20:02:24 +08:00
rename-module.sh Add module rename script 2026-05-17 20:02:24 +08:00
version.go version: bump snapshot 2025-05-22 01:45:02 +02:00