[PR #66] Sync upstream #72

Open
opened 2026-10-13 21:03:00 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amneziawg-tools/pull/66
Author: @kaaax0815
Created: 8/12/2026
Status: 🔄 Open

Base: master ← Head: sync-upstream


📝 Commits (10+)

  • 13d190b ipc: freebsd: use AF_LOCAL for the control socket
  • 0788f90 ipc: linux: support incremental allowed ips updates
  • dce8ac6 ipc: add stub for allowedips flags on other platforms
  • a2dbc33 wg-quick: linux: add 'dev' to 'ip link add' to avoid keyword conflicts
  • 2d6e041 config: handle strdup failure
  • e2ecaaa version: bump
  • 5150cd6 wg-quick: linux: use smallest mtu, not largest
  • 780182e syncconf: account for psks removed from config file
  • 90deacd wg-quick: pass on # comments to {Pre,Post}{Up,Down}
  • d3b40af wg-quick: linux: deal with resolvconf migration more gracefully

📊 Changes

16 files changed (+121 additions, -53 deletions)

View changed files

📝 src/config.c (+23 -0)
📝 src/containers.h (+5 -0)
📝 src/ipc-freebsd.h (+6 -1)
📝 src/ipc-linux.h (+2 -0)
📝 src/ipc-openbsd.h (+5 -0)
📝 src/ipc-uapi.h (+1 -1)
📝 src/ipc-windows.h (+6 -0)
📝 src/man/wg.8 (+6 -2)
📝 src/set.c (+1 -1)
📝 src/setconf.c (+24 -19)
📝 src/uapi/linux/linux/wireguard.h (+9 -0)
📝 src/wg-quick/android.c (+1 -1)
📝 src/wg-quick/darwin.bash (+6 -5)
📝 src/wg-quick/freebsd.bash (+6 -5)
📝 src/wg-quick/linux.bash (+14 -13)
📝 src/wg-quick/openbsd.bash (+6 -5)

📄 Description

This syncs with wireguard-tools commit ac74ed6d7d.

The main reason for this pr is the commit ac74ed6d7d. This prevents sysctl errors when using awg in some container environments.

If wanted I can instead cherry-pick ac74ed6d7d


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amneziawg-tools/pull/66 **Author:** [@kaaax0815](https://github.com/kaaax0815) **Created:** 8/12/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `sync-upstream` --- ### 📝 Commits (10+) - [`13d190b`](https://github.com/amnezia-vpn/amneziawg-tools/commit/13d190bc72ce1753fbf0d1d6828677d1bc743807) ipc: freebsd: use AF_LOCAL for the control socket - [`0788f90`](https://github.com/amnezia-vpn/amneziawg-tools/commit/0788f90810efde88cfa07ed96e7eca77c7f2eedd) ipc: linux: support incremental allowed ips updates - [`dce8ac6`](https://github.com/amnezia-vpn/amneziawg-tools/commit/dce8ac6e2fa30f8b07e84859f244f81b3c6b2353) ipc: add stub for allowedips flags on other platforms - [`a2dbc33`](https://github.com/amnezia-vpn/amneziawg-tools/commit/a2dbc3377e0f16f57f856e696162da62ab5b3766) wg-quick: linux: add 'dev' to 'ip link add' to avoid keyword conflicts - [`2d6e041`](https://github.com/amnezia-vpn/amneziawg-tools/commit/2d6e041fefbb6ac0e16837ff9b325911aa3a7807) config: handle strdup failure - [`e2ecaaa`](https://github.com/amnezia-vpn/amneziawg-tools/commit/e2ecaaa739144997ccff89d6ad6ec81698ea6ced) version: bump - [`5150cd6`](https://github.com/amnezia-vpn/amneziawg-tools/commit/5150cd647073be1f1c12688aef291bdf17970154) wg-quick: linux: use smallest mtu, not largest - [`780182e`](https://github.com/amnezia-vpn/amneziawg-tools/commit/780182e37d2b5981171766b8f31bcefd64da7a43) syncconf: account for psks removed from config file - [`90deacd`](https://github.com/amnezia-vpn/amneziawg-tools/commit/90deacd33da06534ee98d41c6e76e108b35cf077) wg-quick: pass on # comments to {Pre,Post}{Up,Down} - [`d3b40af`](https://github.com/amnezia-vpn/amneziawg-tools/commit/d3b40aff964789a2a0533cb7a070592a75a996e3) wg-quick: linux: deal with resolvconf migration more gracefully ### 📊 Changes **16 files changed** (+121 additions, -53 deletions) <details> <summary>View changed files</summary> 📝 `src/config.c` (+23 -0) 📝 `src/containers.h` (+5 -0) 📝 `src/ipc-freebsd.h` (+6 -1) 📝 `src/ipc-linux.h` (+2 -0) 📝 `src/ipc-openbsd.h` (+5 -0) 📝 `src/ipc-uapi.h` (+1 -1) 📝 `src/ipc-windows.h` (+6 -0) 📝 `src/man/wg.8` (+6 -2) 📝 `src/set.c` (+1 -1) 📝 `src/setconf.c` (+24 -19) 📝 `src/uapi/linux/linux/wireguard.h` (+9 -0) 📝 `src/wg-quick/android.c` (+1 -1) 📝 `src/wg-quick/darwin.bash` (+6 -5) 📝 `src/wg-quick/freebsd.bash` (+6 -5) 📝 `src/wg-quick/linux.bash` (+14 -13) 📝 `src/wg-quick/openbsd.bash` (+6 -5) </details> ### 📄 Description This syncs with wireguard-tools commit ac74ed6d7dd4d77f56c7f05c053a5e645e0e33a0. The main reason for this pr is the commit ac74ed6d7dd4d77f56c7f05c053a5e645e0e33a0. This prevents sysctl errors when using awg in some container environments. If wanted I can instead cherry-pick ac74ed6d7dd4d77f56c7f05c053a5e645e0e33a0 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#72
No description provided.