wireguard-go-awg2-lx/device
Leadaxe 27290b6de3 lx: graft AmneziaWG 2.0 obfuscation onto sagernet/wireguard-go
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.
2026-06-09 16:49:21 +03:00
..
allowedips.go device: add support for removing allowedips individually 2025-06-23 14:56:43 -06:00
channels.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
constants.go lx: graft AmneziaWG 2.0 obfuscation onto sagernet/wireguard-go 2026-06-09 16:49:21 +03:00
cookie.go feat: awg 2.0 (#91) 2025-09-01 14:04:52 +02:00
device.go lx: graft AmneziaWG 2.0 obfuscation onto sagernet/wireguard-go 2026-06-09 16:49:21 +03:00
devicestate_string.go device: remove deviceStateNew 2021-02-09 15:39:19 +01:00
indextable.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
ip.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
keypair.go Rename module 2025-09-15 18:12:36 +08:00
logger.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
magic-header.go fix: refactor processing of junk packets (#103) 2025-12-01 20:07:48 +08:00
mobilequirks.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
noise-helpers.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
noise-protocol.go lx: graft AmneziaWG 2.0 obfuscation onto sagernet/wireguard-go 2026-06-09 16:49:21 +03:00
noise-types.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
obf.go fix: refactor processing of junk packets (#103) 2025-12-01 20:07:48 +08:00
obf_bytes.go fix: refactor processing of junk packets (#103) 2025-12-01 20:07:48 +08:00
obf_data.go fix: refactor processing of junk packets (#103) 2025-12-01 20:07:48 +08:00
obf_datasize.go fix: refactor processing of junk packets (#103) 2025-12-01 20:07:48 +08:00
obf_datastring.go fix: refactor processing of junk packets (#103) 2025-12-01 20:07:48 +08:00
obf_rand.go fix: refactor processing of junk packets (#103) 2025-12-01 20:07:48 +08:00
obf_randchars.go fix: refactor processing of junk packets (#103) 2025-12-01 20:07:48 +08:00
obf_randdigits.go fix: refactor processing of junk packets (#103) 2025-12-01 20:07:48 +08:00
obf_timestamp.go fix: refactor processing of junk packets (#103) 2025-12-01 20:07:48 +08:00
peer.go lx: graft AmneziaWG 2.0 obfuscation onto sagernet/wireguard-go 2026-06-09 16:49:21 +03:00
pools.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
queueconstants_android.go Rename module 2025-09-15 18:12:36 +08:00
queueconstants_default.go Rename module 2025-09-15 18:12:36 +08:00
queueconstants_ios.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
queueconstants_windows.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
receive.go lx: graft AmneziaWG 2.0 obfuscation onto sagernet/wireguard-go 2026-06-09 16:49:21 +03:00
send.go lx: graft AmneziaWG 2.0 obfuscation onto sagernet/wireguard-go 2026-06-09 16:49:21 +03:00
sticky_default.go Rename module 2025-09-15 18:12:36 +08:00
sticky_linux.go Reformat code 2025-09-15 18:12:47 +08:00
timers.go lx: graft AmneziaWG 2.0 obfuscation onto sagernet/wireguard-go 2026-06-09 16:49:21 +03:00
tun.go Rename module 2025-09-15 18:12:36 +08:00
uapi.go lx: graft AmneziaWG 2.0 obfuscation onto sagernet/wireguard-go 2026-06-09 16:49:21 +03:00