Skip to content

Fix: Junk packets can go in wrong order if device is behind QoS - #144

Open
danpashin wants to merge 1 commit into
amnezia-vpn:masterfrom
danpashin:fix/dscp
Open

Fix: Junk packets can go in wrong order if device is behind QoS#144
danpashin wants to merge 1 commit into
amnezia-vpn:masterfrom
danpashin:fix/dscp

Conversation

@danpashin

@danpashin danpashin commented Mar 5, 2026

Copy link
Copy Markdown

Description

WG handshake packets have AF41 priority while I1-I5 are CS0 and JC is a random value. This behaviour can cause handshake to be processed before all other packets on a device with QoS enabled and break junk flow (on the screenshot). Thus TSPU will apply throttling policies to the flow.

packets chaos

Fix

Replace invalid DSCP values with EF (which is more prioritized than AF41) for junk and leave handshake one (AF41) as is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant