[PR #1493] [CLOSED] Add network status check for AWG/WG protocol #2389

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

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/1493
Author: @outspace
Created: 3/26/2025
Status: ❌ Closed

Base: dev ← Head: feature/awg-network-check


📝 Commits (10+)

  • e792117 Add network status check for AWG/WG protocol
  • 8bb4fa3 Use service for PingSender
  • 9b41ed6 Cleanup unused code
  • 4b86425 Use networkchecker for all protocols
  • 681eb5a fix android build
  • 26994c2 add delay for ping checker stop
  • 517930d handle for interafe problems on windows
  • e730521 Restart IpcClient after OS suspend
  • 3190438 Add DBus network checker for Linux
  • eff460b Use ping check for tun interfce

📊 Changes

34 files changed (+562 additions, -42 deletions)

View changed files

📝 client/cmake/sources.cmake (+2 -2)
📝 client/core/ipcclient.cpp (+6 -0)
📝 client/core/ipcclient.h (+1 -0)
📝 client/mozilla/localsocketcontroller.cpp (+14 -8)
📝 client/mozilla/localsocketcontroller.h (+2 -0)
📝 client/mozilla/networkwatcher.cpp (+11 -4)
📝 client/mozilla/networkwatcher.h (+3 -0)
📝 client/mozilla/networkwatcherimpl.h (+2 -0)
📝 client/mozilla/pinghelper.cpp (+5 -2)
📝 client/mozilla/pinghelper.h (+2 -0)
📝 client/mozilla/pingsenderfactory.cpp (+10 -11)
📝 client/mozilla/pingsenderfactory.h (+4 -3)
📝 client/platforms/linux/linuxnetworkwatcher.cpp (+3 -0)
📝 client/platforms/linux/linuxnetworkwatcherworker.cpp (+32 -1)
📝 client/platforms/linux/linuxnetworkwatcherworker.h (+2 -0)
➕ client/platforms/linux/linuxpingsender.cpp (+185 -0)
➕ client/platforms/linux/linuxpingsender.h (+39 -0)
📝 client/platforms/macos/macosnetworkwatcher.h (+21 -0)
📝 client/platforms/macos/macosnetworkwatcher.mm (+89 -0)
📝 client/platforms/windows/daemon/windowsdaemon.cpp (+0 -1)

...and 14 more files

📄 Description

No description provided


🔄 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/1493 **Author:** [@outspace](https://github.com/outspace) **Created:** 3/26/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feature/awg-network-check` --- ### 📝 Commits (10+) - [`e792117`](https://github.com/amnezia-vpn/amnezia-client/commit/e792117be1dcccc2b43f964300560c05648b8319) Add network status check for AWG/WG protocol - [`8bb4fa3`](https://github.com/amnezia-vpn/amnezia-client/commit/8bb4fa3f35e7dd1aa0d7c05cf8f37acae733b640) Use service for PingSender - [`9b41ed6`](https://github.com/amnezia-vpn/amnezia-client/commit/9b41ed66bb02c7e00be58cd77f3635a123195e19) Cleanup unused code - [`4b86425`](https://github.com/amnezia-vpn/amnezia-client/commit/4b864259929c6c1fd76ef6da1cf05832c60cc43a) Use networkchecker for all protocols - [`681eb5a`](https://github.com/amnezia-vpn/amnezia-client/commit/681eb5aa86886509e173f1ebc3598512de54d43a) fix android build - [`26994c2`](https://github.com/amnezia-vpn/amnezia-client/commit/26994c21b1073eb6fa1794e57d1d35aab74a19fc) add delay for ping checker stop - [`517930d`](https://github.com/amnezia-vpn/amnezia-client/commit/517930dd22361bd1655918703c8e7d650550dea5) handle for interafe problems on windows - [`e730521`](https://github.com/amnezia-vpn/amnezia-client/commit/e7305215761429787d833d9356488cc21cf25d5f) Restart IpcClient after OS suspend - [`3190438`](https://github.com/amnezia-vpn/amnezia-client/commit/319043818a75039ed13003375df5a090baaead0a) Add DBus network checker for Linux - [`eff460b`](https://github.com/amnezia-vpn/amnezia-client/commit/eff460b227294f12cd12a977ecf4072a5d44dc91) Use ping check for tun interfce ### 📊 Changes **34 files changed** (+562 additions, -42 deletions) <details> <summary>View changed files</summary> 📝 `client/cmake/sources.cmake` (+2 -2) 📝 `client/core/ipcclient.cpp` (+6 -0) 📝 `client/core/ipcclient.h` (+1 -0) 📝 `client/mozilla/localsocketcontroller.cpp` (+14 -8) 📝 `client/mozilla/localsocketcontroller.h` (+2 -0) 📝 `client/mozilla/networkwatcher.cpp` (+11 -4) 📝 `client/mozilla/networkwatcher.h` (+3 -0) 📝 `client/mozilla/networkwatcherimpl.h` (+2 -0) 📝 `client/mozilla/pinghelper.cpp` (+5 -2) 📝 `client/mozilla/pinghelper.h` (+2 -0) 📝 `client/mozilla/pingsenderfactory.cpp` (+10 -11) 📝 `client/mozilla/pingsenderfactory.h` (+4 -3) 📝 `client/platforms/linux/linuxnetworkwatcher.cpp` (+3 -0) 📝 `client/platforms/linux/linuxnetworkwatcherworker.cpp` (+32 -1) 📝 `client/platforms/linux/linuxnetworkwatcherworker.h` (+2 -0) ➕ `client/platforms/linux/linuxpingsender.cpp` (+185 -0) ➕ `client/platforms/linux/linuxpingsender.h` (+39 -0) 📝 `client/platforms/macos/macosnetworkwatcher.h` (+21 -0) 📝 `client/platforms/macos/macosnetworkwatcher.mm` (+89 -0) 📝 `client/platforms/windows/daemon/windowsdaemon.cpp` (+0 -1) _...and 14 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-14 21:01:42 +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#2389
No description provided.