wireguard-go-awg2-lx/device
admin f4f4c99926 fix: apply S4 transport padding to keepalive packets
Keepalive packets were excluded from S4 padding because the padding
logic was nested inside the dataSent guard. The receiving side
(DeterminePacketTypeAndPadding) expects S4 padding on all transport
packets, so unpadded keepalives fail H4 header validation and are
silently dropped.

This prevents the responder from completing key confirmation —
lastHandshakeNano stays 0 until real data flows through the tunnel.
2026-05-13 11:11:21 +02:00
..
allowedips.go device: add support for removing allowedips individually 2025-06-23 14:56:43 -06:00
allowedips_rand_test.go device: use rand.NewSource instead of rand.Seed 2025-06-23 14:27:06 -06:00
allowedips_test.go device: add support for removing allowedips individually 2025-06-23 14:56:43 -06:00
bind_test.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
channels.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
constants.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
cookie.go feat: awg 2.0 (#91) 2025-09-01 14:04:52 +02:00
cookie_test.go fix: refactor processing of junk packets (#103) 2025-12-01 20:07:48 +08:00
device.go fix: refactor processing of junk packets (#103) 2025-12-01 20:07:48 +08:00
device_test.go feat: awg 2.0 (#91) 2025-09-01 14:04:52 +02:00
devicestate_string.go device: remove deviceStateNew 2021-02-09 15:39:19 +01:00
endpoint_test.go global: bump copyright notice 2025-06-23 14:20:32 -06: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
kdf_test.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
keypair.go global: bump copyright notice 2025-06-23 14:20:32 -06: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 fix: refactor processing of junk packets (#103) 2025-12-01 20:07:48 +08:00
noise-types.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
noise_test.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 fix: refactor processing of junk packets (#103) 2025-12-01 20:07:48 +08:00
pools.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
pools_test.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
queueconstants_android.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
queueconstants_default.go global: bump copyright notice 2025-06-23 14:20:32 -06: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
race_disabled_test.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
race_enabled_test.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
receive.go fix: refactor processing of junk packets (#103) 2025-12-01 20:07:48 +08:00
send.go fix: apply S4 transport padding to keepalive packets 2026-05-13 11:11:21 +02:00
sticky_default.go global: replaced unused function params with _ 2025-06-23 14:26:55 -06:00
sticky_linux.go global: replaced unused function params with _ 2025-06-23 14:26:55 -06:00
timers.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
tun.go global: bump copyright notice 2025-06-23 14:20:32 -06:00
uapi.go fix: refactor processing of junk packets (#103) 2025-12-01 20:07:48 +08:00