[PR #3410] feat: add WhatsApp proxy container #3287

Open
opened 2026-11-07 17:58:59 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/3410
Author: @NickVs2015
Created: 11/5/2026
Status: 🔄 Open

Base: dev ← Head: feat/whatsapp-proxy


📝 Commits (1)

  • fc02c89 feat: add WhatsApp proxy container

📊 Changes

42 files changed (+1265 additions, -9 deletions)

View changed files

📝 client/cmake/sources.cmake (+2 -0)
📝 client/core/controllers/coreController.cpp (+4 -1)
📝 client/core/controllers/coreController.h (+2 -0)
📝 client/core/controllers/selfhosted/installController.cpp (+60 -2)
📝 client/core/controllers/selfhosted/installController.h (+2 -0)
📝 client/core/installers/installerBase.cpp (+7 -0)
➕ client/core/installers/whatsAppProxyInstaller.cpp (+84 -0)
➕ client/core/installers/whatsAppProxyInstaller.h (+24 -0)
📝 client/core/models/containerConfig.cpp (+10 -0)
📝 client/core/models/containerConfig.h (+3 -0)
📝 client/core/models/protocolConfig.cpp (+9 -0)
📝 client/core/models/protocolConfig.h (+2 -0)
➕ client/core/models/protocols/whatsAppProxyProtocolConfig.cpp (+47 -0)
➕ client/core/models/protocols/whatsAppProxyProtocolConfig.h (+27 -0)
📝 client/core/protocols/protocolUtils.cpp (+7 -0)
📝 client/core/utils/constants/configKeys.h (+1 -0)
📝 client/core/utils/constants/protocolConstants.h (+10 -0)
📝 client/core/utils/containerEnum.h (+1 -0)
📝 client/core/utils/containers/containerUtils.cpp (+14 -0)
📝 client/core/utils/protocolEnum.h (+1 -0)

...and 22 more files

📄 Description

Add whats appProxy container.
Known limitation (upstream, not fixable proxy-side): On Android, media through the proxy may not work in networks that block WhatsApp by SNI:
the Android client sends media requests over HTTP/1.1 with the CDN hostname in plaintext
SNI, which DPI drops before it reaches the proxy, while iOS hides the hostname and passes.
Confirmed with a packet capture on the server: without VPN the Android media ClientHello
never arrives; through a VPN the same request completes. Meta tracks this as
WhatsApp/proxy#442 and
WhatsApp/proxy#473 (closed as "not planned").
The official facebook/whatsapp_proxy image behaves the same way.


🔄 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/3410 **Author:** [@NickVs2015](https://github.com/NickVs2015) **Created:** 11/5/2026 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `feat/whatsapp-proxy` --- ### 📝 Commits (1) - [`fc02c89`](https://github.com/amnezia-vpn/amnezia-client/commit/fc02c8910b608567bc6b8936bc6e8dd8a593696e) feat: add WhatsApp proxy container ### 📊 Changes **42 files changed** (+1265 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `client/cmake/sources.cmake` (+2 -0) 📝 `client/core/controllers/coreController.cpp` (+4 -1) 📝 `client/core/controllers/coreController.h` (+2 -0) 📝 `client/core/controllers/selfhosted/installController.cpp` (+60 -2) 📝 `client/core/controllers/selfhosted/installController.h` (+2 -0) 📝 `client/core/installers/installerBase.cpp` (+7 -0) ➕ `client/core/installers/whatsAppProxyInstaller.cpp` (+84 -0) ➕ `client/core/installers/whatsAppProxyInstaller.h` (+24 -0) 📝 `client/core/models/containerConfig.cpp` (+10 -0) 📝 `client/core/models/containerConfig.h` (+3 -0) 📝 `client/core/models/protocolConfig.cpp` (+9 -0) 📝 `client/core/models/protocolConfig.h` (+2 -0) ➕ `client/core/models/protocols/whatsAppProxyProtocolConfig.cpp` (+47 -0) ➕ `client/core/models/protocols/whatsAppProxyProtocolConfig.h` (+27 -0) 📝 `client/core/protocols/protocolUtils.cpp` (+7 -0) 📝 `client/core/utils/constants/configKeys.h` (+1 -0) 📝 `client/core/utils/constants/protocolConstants.h` (+10 -0) 📝 `client/core/utils/containerEnum.h` (+1 -0) 📝 `client/core/utils/containers/containerUtils.cpp` (+14 -0) 📝 `client/core/utils/protocolEnum.h` (+1 -0) _...and 22 more files_ </details> ### 📄 Description Add whats appProxy container. Known limitation (upstream, not fixable proxy-side): On Android, media through the proxy may not work in networks that block WhatsApp by SNI: the Android client sends media requests over HTTP/1.1 with the CDN hostname in plaintext SNI, which DPI drops before it reaches the proxy, while iOS hides the hostname and passes. Confirmed with a packet capture on the server: without VPN the Android media ClientHello never arrives; through a VPN the same request completes. Meta tracks this as [WhatsApp/proxy#442](https://github.com/WhatsApp/proxy/issues/442) and [WhatsApp/proxy#473](https://github.com/WhatsApp/proxy/issues/473) (closed as "not planned"). The official `facebook/whatsapp_proxy` image behaves the same way. --- <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/amnezia-client#3287
No description provided.