🔗 过滤 Whatsapp Messenger (移动/网页版)
作者:Yuri Voinov
🔗 如何绕过 Whatsapp
Whatsapp 是一款较难绕过的即时通讯软件。发现两个问题
- 网页版 Whatsapp 的一般连接
- 移动版 Whatsapp 应用的媒体文件传输
首先,Whatsapp 需要支持 SSL Bump 的 Squid (无论配置是 bump all 还是 splice all)。使用 splice all 配置,所有 Whatsapp 应用都应该可以正常工作。
另一方面,bump all 配置需要一些额外的步骤才能让 Whatsapp (网页版和移动版) 应用正常工作。
🔗 Squid 配置文件
首先,我们假设您有一个 SSL Bump 配置,如下所示
# SSL bump rules
acl DiscoverSNIHost at_step SslBump1
acl NoSSLIntercept ssl::server_name_regex "/usr/local/squid/etc/acl.url.nobump"
ssl_bump peek DiscoverSNIHost
ssl_bump splice NoSSLIntercept
ssl_bump bump all
要让 Whatsapp 工作,请将此添加到 acl.url.nobump
# Web.whatsapp.com
(w[0-9]+|[a-z]+)\.web\.whatsapp\.com
# Whatsapp CDN issue
.whatsapp\.net
就是这样。重新配置 Squid 即可。
不要忘记将代理 CA 证书安装到移动设备上。
⚠️ Disclaimer: Any example presented here is provided "as-is" with no support
or guarantee of suitability. If you have any further questions about
these examples please email the squid-users mailing list.
类别: ConfigExample
导航: 站点搜索, 站点页面, 分类, 🔼 向上