mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2026-10-14 05:41:54 +00:00
[PR #78] [MERGED] Sync with Major Upstream changes #130
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#130
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/78
Author: @jmwample
Created: 6/23/2025
Status: ✅ Merged
Merged: 7/2/2025
Merged by: @pokamest
Base:
master← Head:jmwample/upstream📝 Commits (10+)
deedce4device: fix WaitPool sync.Cond usagec803ce1device: fix missed return of QueueOutboundElementsContainer to its WaitPoolc0b6e6aglobal: bump copyright notice704d57cmod: bump deps6a7c878tun/netstack: remove usage of pkt.IsNil()ac8a885tun/netstack: cleanup network stack at closing time75d6c67tun: use add-with-carry in checksumNoFold()8a2b2bftun: darwin: fetch flags and mtu from if_msghdr directlyace3e11global: replaced unused function params with _8051f17device: use rand.NewSource instead of rand.Seed📊 Changes
96 files changed (+437 additions, -264 deletions)
View changed files
📝
README.md(+1 -0)📝
conn/bind_std.go(+1 -1)📝
conn/bind_windows.go(+1 -1)📝
conn/bindtest/bindtest.go(+1 -1)📝
conn/boundif_android.go(+1 -1)📝
conn/conn.go(+1 -1)📝
conn/conn_test.go(+1 -1)📝
conn/controlfns.go(+1 -1)📝
conn/controlfns_linux.go(+49 -1)📝
conn/controlfns_unix.go(+1 -1)📝
conn/controlfns_windows.go(+1 -1)📝
conn/default.go(+1 -1)📝
conn/errors_default.go(+2 -2)📝
conn/errors_linux.go(+1 -1)📝
conn/features_default.go(+2 -2)📝
conn/features_linux.go(+1 -1)📝
conn/gso_default.go(+1 -1)📝
conn/gso_linux.go(+1 -1)📝
conn/mark_default.go(+1 -1)📝
conn/mark_unix.go(+1 -1)...and 76 more files
📄 Description
This PR cherrypicks most of the major patch that was recently added to https://github.com/WireGuard/wireguard-go in May 2025
The two exceptions are
github.com/amnezia-vpn/amneziawg-go@264889f0bbandgithub.com/amnezia-vpn/amneziawg-go@9e7529c3d2which I chose to skip for simplicity. The upstream library adds an optimization to message encoding /decoding by eliminatingbinary.Writewithout making any changes to message formats in order to speed up the process of serialization / deserialization. These may be relatively straightforward to apply, but may involve re-validating message encoding related to amnezia headers.closes #77
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.