[GH-ISSUE #119] New ASC parameters documentation request #72

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

Originally created by @andrico21 on GitHub (Nov 10, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/119

Team, new ASC parameters were introduced recently - is there some documentation covering them like this?

Currently, only these are documented with corresponding relationships between each other:

Jc — 1 ≤ Jc ≤ 128; recommended range is from 4 to 12 inclusive
Jmin — Jmax > Jmin < 1280*; recommended value is 8
Jmax — Jmin < Jmax ≤ 1280*; recommended value is 80
S1 — S1 ≤ 1132* (1280* - 148 = 1132); S1 + 56 ≠ S2; recommended range is from 15 to 150 inclusive
S2 — S2 ≤ 1188* (1280* - 92 = 1188); recommended range is from 15 to 150 inclusive
H1/H2/H3/H4 — must be unique among each other; recommended range is from 5 to 2147483647 inclusive

what about CPS and SC?
In official doc I see brief explanation of I1-I5 fields, but I also saw S3 and S4 mentions.

Reason I'm asking: I'm currently developing rootless amneziawg server container image and one part of it is ASC-validation step - just want to prepare in advance

validate_asc.sh

Originally created by @andrico21 on GitHub (Nov 10, 2025). Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/119 Team, new ASC parameters were introduced recently - is there some documentation covering them like [this](https://github.com/amnezia-vpn/amneziawg-linux-kernel-module#configuration)? Currently, only these are documented with corresponding relationships between each other: > Jc — 1 ≤ Jc ≤ 128; recommended range is from 4 to 12 inclusive > Jmin — Jmax > Jmin < 1280*; recommended value is 8 > Jmax — Jmin < Jmax ≤ 1280*; recommended value is 80 > S1 — S1 ≤ 1132* (1280* - 148 = 1132); S1 + 56 ≠ S2; recommended range is from 15 to 150 inclusive > S2 — S2 ≤ 1188* (1280* - 92 = 1188); recommended range is from 15 to 150 inclusive > H1/H2/H3/H4 — must be unique among each other; recommended range is from 5 to 2147483647 inclusive what about CPS and SC? In [official doc](https://docs.amnezia.org/documentation/amnezia-wg/) I see brief explanation of `I1-I5` fields, but I also saw `S3` and `S4` mentions. Reason I'm asking: I'm currently developing rootless amneziawg server container image and one part of it is ASC-validation step - just want to prepare in advance [validate_asc.sh](https://github.com/user-attachments/files/23450348/validate_asc.sh)
Author
Owner

@andrico21 commented on GitHub (Nov 18, 2025):

btw, released to public: https://github.com/andrico21/awg-rootless
but it's still will be useful to get parameters description - from user's perspective

<!-- gh-comment-id:3546531112 --> @andrico21 commented on GitHub (Nov 18, 2025): btw, released to public: https://github.com/andrico21/awg-rootless but it's still will be useful to get parameters description - from user's perspective
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-linux-kernel-module#72
No description provided.