[PR #2433] [CLOSED] fix: linux firewall improvements #2810

Closed
opened 2026-10-14 21:05:26 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/2433
Author: @NickVs2015
Created: 3/31/2026
Status: ❌ Closed

Base: dev ← Head: fix/linux-firewall


📝 Commits (1)

  • 577c9b8 fix: linux firewall improvements

📊 Changes

1 file changed (+17 additions, -3 deletions)

View changed files

📝 client/platforms/linux/daemon/linuxfirewall.cpp (+17 -3)

📄 Description

  • Add xargs -r to avoid spurious delete when no duplicate chain entries exist
  • Pre-register routing table name in /etc/iproute2/rt_tables
  • Mount legacy net_cls cgroup v1 on cgroup v2 (unified hierarchy) systems
  • Add 400.allowPIA anchor during install
  • Ignore errors on ip route flush for table that may not exist yet
  • Remove rt_tables entry on teardown

🔄 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-client/pull/2433 **Author:** [@NickVs2015](https://github.com/NickVs2015) **Created:** 3/31/2026 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `fix/linux-firewall` --- ### 📝 Commits (1) - [`577c9b8`](https://github.com/amnezia-vpn/amnezia-client/commit/577c9b83b52a7fb2a2b89a5ff400c70f807da094) fix: linux firewall improvements ### 📊 Changes **1 file changed** (+17 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `client/platforms/linux/daemon/linuxfirewall.cpp` (+17 -3) </details> ### 📄 Description - Add xargs -r to avoid spurious delete when no duplicate chain entries exist - Pre-register routing table name in /etc/iproute2/rt_tables - Mount legacy net_cls cgroup v1 on cgroup v2 (unified hierarchy) systems - Add 400.allowPIA anchor during install - Ignore errors on ip route flush for table that may not exist yet - Remove rt_tables entry on teardown --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-14 21:05:26 +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-client#2810
No description provided.