mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2026-12-03 18:42:09 +07:00
[GH-ISSUE #206] 3.1: are the 2.0 numeric bounds still valid? (Jc / Jmin–Jmax / S1–S4) #204
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amneziawg-go#204
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Im-a-rabbit on GitHub (Oct 16, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-go/issues/206
Context
We maintain a library that reads/writes AmneziaWG configs and validates settings
before exporting them. For 3.1 the docs list the types (
uint16/uint32)but not the numeric bounds, while the older versions used much tighter bounds.
We would like to know the canonical 3.1 bounds.
The bounds we used before were:
JcJmin,JmaxS1–S3S4Are these still valid in 3.1? If not, what bounds should be used for
Jc,Jmin/JmaxandS1–S4— or are they now limited only by their types(
uint16/uint32), plus theS1–S4 ≥ 12lower bound whenHeaderProtectionKeyis set?