[GH-ISSUE #154] amneziawg-go: daemon dies when config sets S4 (trans_junk). no kernel module available for this arch, so there is no fallback path. #76

Open
opened 2026-10-13 21:03:21 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @planetryan on GitHub (Jul 21, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-go/issues/154

Reproduction

Working config (mobile connects, data flows): [Interface] with
Jc/Jmin/Jmax, S1=85, S2=48, H1-H4, and an I1 signature packet.
Add a single line:

S4 = 40

(MTU was simultaneously lowered 1280->1240 to absorb the per-packet overhead;
ruled out as the cause attach that when filing.

  • amneziawg-tools accepts the S4 syntax ([s4 <trans_junk>] in awg usage),
    so the mismatch is tools-parses vs go-crashes.
Originally created by @planetryan on GitHub (Jul 21, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-go/issues/154 ## Reproduction Working config (mobile connects, data flows): `[Interface]` with `Jc/Jmin/Jmax`, `S1=85`, `S2=48`, `H1-H4`, and an `I1` signature packet. Add a single line: ``` S4 = 40 ``` (MTU was simultaneously lowered 1280->1240 to absorb the per-packet overhead; ruled out as the cause attach that when filing. - amneziawg-tools accepts the S4 syntax (`[s4 <trans_junk>]` in `awg` usage), so the mismatch is tools-parses vs go-crashes.
Author
Owner

@planetryan commented on GitHub (Jul 21, 2026):

arch is riscv64, in case that is important

<!-- gh-comment-id:5038692332 --> @planetryan commented on GitHub (Jul 21, 2026): arch is riscv64, in case that is important
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-go#76
No description provided.