mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2026-10-13 21:34:25 +00:00
[PR #160] Потеря первого transport-пакета при настройке S4 #173
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#173
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/160
Author: @Pudums
Created: 7/24/2026
Status: 🔄 Open
Base:
master← Head:fixes📝 Commits (1)
5b9bf32fixes📊 Changes
4 files changed (+112 additions, -8 deletions)
View changed files
📝
README.md(+1 -1)📝
device/device_test.go(+85 -0)📝
device/send.go(+9 -3)📝
tun/tuntest/tuntest.go(+17 -4)📄 Description
Исправлена обработка случая, когда S4 меняется во время блокирующего чтения из TUN, из-за чего первый transport-пакет отправлялся со старым padding. Добавлены регрессионные тесты и проверка минимального значения S1–S4 = 12 для Header Protection
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.