<div dir="ltr">Based on Amos's Answer,<div><br></div><div><div>acl serverIsws ssl::server_name .<a href="http://w0.whatsapp.com">w0.whatsapp.com</a></div><div>acl serverIsws ssl::server_name .<a href="http://w1.whatsapp.com">w1.whatsapp.com</a></div><div><br></div><div>acl step1 at_step SslBump1</div><div>ssl_bump peek step1</div><div>ssl_bump bump !serverIsws all</div><div>ssl_bump splice allĀ </div></div><div><br></div><div>will above work ?</div><div><br></div><div>Or should i splice first and bump all others later?</div><div><br></div><div>This is very interesting. I will definitely try this when i will reach office.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 19, 2016 at 6:40 PM, Eliezer Croitoru <span dir="ltr"><<a href="mailto:eliezer@ngtech.co.il" target="_blank">eliezer@ngtech.co.il</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I can give a hint that once you see the request you can identify using an ICAP\ECAP services couple details about the request.<br>
Basically I had a regex which allowed any what's app traffic to be spliced by the SNI domain name.<br>
It should be something like "w[0-9]+\.web\.whatsapp\.com$" to match the required domains for whatsapp to be spliced.<br>
If nobody will try it before me it's on my todo list for this release (3.5.23, 4.0.17).<br>
<br>
Eliezer<br>
<br>
----<br>
Eliezer Croitoru<br>
Linux System Administrator<br>
Mobile: +972-5-28704261<br>
Email: <a href="mailto:eliezer@ngtech.co.il">eliezer@ngtech.co.il</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
-----Original Message-----<br>
From: squid-users [mailto:<a href="mailto:squid-users-bounces@lists.squid-cache.org">squid-users-bounces@<wbr>lists.squid-cache.org</a>] On Behalf Of Amos Jeffries<br>
Sent: Monday, December 19, 2016 8:51 AM<br>
To: Hardik Dangar <<a href="mailto:hardikdangar%2Bsquid@gmail.com">hardikdangar+squid@gmail.com</a>><br>
Cc: Squid Users <<a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-<wbr>cache.org</a>><br>
Subject: Re: [squid-users] Squid Websocket Issue<br>
<br>
On 19/12/2016 12:14 p.m., Hardik Dangar wrote:<br>
> can you give me one example please ?<br>
> like in the above example.<br>
> <a href="http://w4.web.whatsapp.com" rel="noreferrer" target="_blank">w4.web.whatsapp.com</a> domain is fixed<br>
> are you suggesting i can create acl and by pass it to squid ?<br>
><br>
<br>
You are the first person to ask about WhatsApp traffic.<br>
<br>
These might be a useful starting point<br>
<<a href="http://wiki.squid-cache.org/Features/SslPeekAndSplice#Configuration_Examples" rel="noreferrer" target="_blank">http://wiki.squid-cache.org/<wbr>Features/SslPeekAndSplice#<wbr>Configuration_Examples</a>><br>
<br>
What the examples are doing for banks is what you want to do for WhatsApp.<br>
<br>
The trick though will be figuring out how to splice *before* seeing what type of HTTP request exists inside the tunnel. If you are lucky the app will be using SNI.<br>
<br>
Amos<br>
<br>
</div></div><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.<wbr>org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/<wbr>listinfo/squid-users</a><br>
<br>
</div></div></blockquote></div><br></div>