[PR #1] [MERGED] feat: integrate awg as an endpoint #1

Closed
opened 2026-10-13 20:01:13 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-box/pull/1
Author: @ygurov
Created: 11/20/2025
Status: ✅ Merged
Merged: 9/10/2026
Merged by: @FrogRocky

Base: dev ← Head: feature/awg


📝 Commits (10+)

  • 01d7559 feat: integrate awg as an endpoint
  • 81744df feat: added network stack tunneling to awg
  • 5d48949 fix: moved initializers from constructor to Start methods
  • ed51d59 fix: resolve null pointer dereference in destructors
  • 79488e5 feat: added integrated tun feature
  • d0c68fa feat: [awg] enabled UDP fragmentation by default
  • dbfa7d8 fix: make awg bind to work with any net.PacketConn
  • 33eddf6 build: update amneziawg-go to v0.2.19
  • fd56d07 fix: fixed awg reconnection
  • d97ef8c feat: add awg3.1 support

📊 Changes

41 files changed (+4269 additions, -263 deletions)

View changed files

📝 .github/workflows/amnezia-ci.yml (+228 -6)
➕ .github/workflows/amnezia-release.yml (+180 -0)
📝 Makefile (+1 -1)
➕ Makefile.amnezia (+52 -0)
📝 README.md (+17 -1)
📝 cmd/internal/build_libbox/main.go (+170 -54)
➕ cmd/internal/build_libbox/main_integration_test.go (+232 -0)
➕ cmd/internal/build_libbox/main_test.go (+90 -0)
➕ cmd/internal/read_amnezia_version/main.go (+75 -0)
➕ cmd/internal/read_amnezia_version/main_integration_test.go (+139 -0)
➕ cmd/internal/read_amnezia_version/main_test.go (+33 -0)
📝 constant/proxy.go (+3 -0)
➕ docs/amnezia/build.md (+112 -0)
➕ docs/amnezia/consumer.md (+91 -0)
📝 docs/amnezia/maintenance.md (+57 -2)
➕ docs/amnezia/release.md (+192 -0)
📝 go.mod (+11 -9)
📝 go.sum (+24 -18)
➕ include/awg.go (+12 -0)
➕ include/awg_stub.go (+20 -0)

...and 21 more files

📄 Description

Integrate AWG as a sing-box endpoint, including the dependency update and reconnection/shutdown fixes from PRs #2 and #3. Preserve all original commits through regular merges.

This establishes the Amnezia integration line on the sing-box v1.12.12 baseline: AWG tests and configuration support, CLI/mobile build commands, clean Go replace and submodule consumer checks, and immutable source-release tooling. Amnezia-specific commands/docs are kept separate from inherited upstream build/publishing workflows to simplify future upstream merges.

Validation: require the full CI on this PR's exact merge result before merging into dev, then check the exact published dev SHA before any RC tag. Application runtime acceptance is separate from source/library build checks. No newer upstream release or dev-next commits are included.


🔄 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/amnezia-box/pull/1 **Author:** [@ygurov](https://github.com/ygurov) **Created:** 11/20/2025 **Status:** ✅ Merged **Merged:** 9/10/2026 **Merged by:** [@FrogRocky](https://github.com/FrogRocky) **Base:** `dev` ← **Head:** `feature/awg` --- ### 📝 Commits (10+) - [`01d7559`](https://github.com/amnezia-vpn/amnezia-box/commit/01d75590796d98aa511e4fbacb242fb4221ec8e3) feat: integrate awg as an endpoint - [`81744df`](https://github.com/amnezia-vpn/amnezia-box/commit/81744df17a76fa7c991c72b906fb4a6aa5d3df69) feat: added network stack tunneling to awg - [`5d48949`](https://github.com/amnezia-vpn/amnezia-box/commit/5d489494bd46c379ff3dec3d37306c235e798a9d) fix: moved initializers from constructor to Start methods - [`ed51d59`](https://github.com/amnezia-vpn/amnezia-box/commit/ed51d5994507ad4e6ebaf869166977f852b920f7) fix: resolve null pointer dereference in destructors - [`79488e5`](https://github.com/amnezia-vpn/amnezia-box/commit/79488e584bcdf3edfdfdc7b5a216d3d444fa58d0) feat: added integrated tun feature - [`d0c68fa`](https://github.com/amnezia-vpn/amnezia-box/commit/d0c68faecb1d262f86e84bd85a22cca3cc7084f0) feat: [awg] enabled UDP fragmentation by default - [`dbfa7d8`](https://github.com/amnezia-vpn/amnezia-box/commit/dbfa7d83c105d16a6b38846268a36532df04ff91) fix: make awg bind to work with any net.PacketConn - [`33eddf6`](https://github.com/amnezia-vpn/amnezia-box/commit/33eddf6846b30cc67e46a706e619ca48a33b724a) build: update amneziawg-go to v0.2.19 - [`fd56d07`](https://github.com/amnezia-vpn/amnezia-box/commit/fd56d07c57f9610a69760ee045f57ad52e440bb0) fix: fixed awg reconnection - [`d97ef8c`](https://github.com/amnezia-vpn/amnezia-box/commit/d97ef8c4c4d163b80ddabe69d3d60befd53b7cec) feat: add awg3.1 support ### 📊 Changes **41 files changed** (+4269 additions, -263 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/amnezia-ci.yml` (+228 -6) ➕ `.github/workflows/amnezia-release.yml` (+180 -0) 📝 `Makefile` (+1 -1) ➕ `Makefile.amnezia` (+52 -0) 📝 `README.md` (+17 -1) 📝 `cmd/internal/build_libbox/main.go` (+170 -54) ➕ `cmd/internal/build_libbox/main_integration_test.go` (+232 -0) ➕ `cmd/internal/build_libbox/main_test.go` (+90 -0) ➕ `cmd/internal/read_amnezia_version/main.go` (+75 -0) ➕ `cmd/internal/read_amnezia_version/main_integration_test.go` (+139 -0) ➕ `cmd/internal/read_amnezia_version/main_test.go` (+33 -0) 📝 `constant/proxy.go` (+3 -0) ➕ `docs/amnezia/build.md` (+112 -0) ➕ `docs/amnezia/consumer.md` (+91 -0) 📝 `docs/amnezia/maintenance.md` (+57 -2) ➕ `docs/amnezia/release.md` (+192 -0) 📝 `go.mod` (+11 -9) 📝 `go.sum` (+24 -18) ➕ `include/awg.go` (+12 -0) ➕ `include/awg_stub.go` (+20 -0) _...and 21 more files_ </details> ### 📄 Description Integrate AWG as a sing-box endpoint, including the dependency update and reconnection/shutdown fixes from PRs #2 and #3. Preserve all original commits through regular merges. This establishes the Amnezia integration line on the sing-box v1.12.12 baseline: AWG tests and configuration support, CLI/mobile build commands, clean Go replace and submodule consumer checks, and immutable source-release tooling. Amnezia-specific commands/docs are kept separate from inherited upstream build/publishing workflows to simplify future upstream merges. Validation: require the full CI on this PR's exact merge result before merging into `dev`, then check the exact published dev SHA before any RC tag. Application runtime acceptance is separate from source/library build checks. No newer upstream release or `dev-next` commits are included. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-13 20:01:13 +00:00
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/amnezia-box#1
No description provided.