mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2026-10-14 05:41:54 +00:00
[PR #142] [CLOSED] feat: restore AmneziaWG 1.5 keys (j1..j3, itime, <c> tag) on top of 2.0 #162
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#162
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?
📋 Pull Request Information
Original PR: https://github.com/amnezia-vpn/amneziawg-go/pull/142
Author: @belomaxorka
Created: 5/29/2026
Status: ❌ Closed
Base:
master← Head:feature/awg-1.5-compat📝 Commits (1)
81a7715feat: restore AmneziaWG 1.5 keys (j1..j3, itime, tag) on top of 2.0📊 Changes
6 files changed (+283 additions, -2 deletions)
View changed files
➕
device/awg_legacy_test.go(+134 -0)📝
device/device.go(+44 -0)📝
device/obf.go(+1 -0)➕
device/obf_counter.go(+38 -0)📝
device/send.go(+20 -2)📝
device/uapi.go(+46 -0)📄 Description
The 2.0 refactor (#103) dropped the legacy 1.5 obfuscation parameters entirely: the controlled-junk packets (j1..j3), the imitation interval (itime), and the counter tag. This restores them on top of the current 2.0 obf engine so a single build accepts both the 1.5 and 2.0 UAPI key sets; the version is selected by which keys are sent, with no version flag in the library.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.