[GH-ISSUE #56] Range parameters (at least for Jc) don't work #27

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

Originally created by @lucker999 on GitHub (Jun 30, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-tools/issues/56

On latest Debian from ppa with the latest tools range parameters failed:

░░ A start job for unit awg-quick@awg0.service has begun execution.
░░ 
░░ The job identifier is 969.
Jun 29 16:36:00 awg awg-quick[4353]: [#] ip link add awg0 type amneziawg
Jun 29 16:36:00 awg awg-quick[4353]: [#] awg setconf awg0 /dev/fd/63
Jun 29 16:36:00 awg awg-quick[4366]: Unable to parse Jc: `4-8'
Jun 29 16:36:00 awg awg-quick[4353]: [#] ip link delete dev awg0
Jun 29 16:36:00 awg systemd[1]: awg-quick@awg0.service: Main process exited, code=exited, status=1/FAILURE

# awg --version
amneziawg-tools v1.0.20260618-2 - https://amnezia.org

# dkms status
amneziawg/1.0.0, 6.12.94+deb13-amd64, x86_64: installed

# uname -r
6.12.94+deb13-amd64
Originally created by @lucker999 on GitHub (Jun 30, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-tools/issues/56 On latest Debian from ppa with the latest tools range parameters failed: ```sh ░░ A start job for unit awg-quick@awg0.service has begun execution. ░░ ░░ The job identifier is 969. Jun 29 16:36:00 awg awg-quick[4353]: [#] ip link add awg0 type amneziawg Jun 29 16:36:00 awg awg-quick[4353]: [#] awg setconf awg0 /dev/fd/63 Jun 29 16:36:00 awg awg-quick[4366]: Unable to parse Jc: `4-8' Jun 29 16:36:00 awg awg-quick[4353]: [#] ip link delete dev awg0 Jun 29 16:36:00 awg systemd[1]: awg-quick@awg0.service: Main process exited, code=exited, status=1/FAILURE # awg --version amneziawg-tools v1.0.20260618-2 - https://amnezia.org # dkms status amneziawg/1.0.0, 6.12.94+deb13-amd64, x86_64: installed # uname -r 6.12.94+deb13-amd64 ```
Author
Owner

@Petrprogs commented on GitHub (Jul 10, 2026):

Junk packets

The amount of junk packets specified in Jc with a random size between Jmin and Jmax would be generated and sent prior every handshake

    Jc: int, recommended range is 4-12
    Jmin: int <= Jmax:int

Value should be int, not range

<!-- gh-comment-id:4936578486 --> @Petrprogs commented on GitHub (Jul 10, 2026): ``` Junk packets The amount of junk packets specified in Jc with a random size between Jmin and Jmax would be generated and sent prior every handshake Jc: int, recommended range is 4-12 Jmin: int <= Jmax:int ``` Value should be int, not range
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-tools#27
No description provided.