[squid-users] Web Whatsapp, Dropbox... problem
Amos Jeffries
squid3 at treenet.co.nz
Tue Sep 20 10:12:32 UTC 2016
On 20/09/2016 6:12 a.m., Jok Thuau wrote:
> On Mon, Sep 19, 2016 at 10:39 AM, erdosain9 <erdosain9 at gmail.com> wrote:
>
>> mmmmmmmmmm....
>> so...
>> i think this is working for non take the certificate
>>
>> acl step1 at_step SslBump1
>> acl excludeSSL ssl::server_name_regex web/.whatsapp/.com
>>
>
> wrong slashes... you want "\"
>
>
>>
>> ssl_bump peek step1
>> ssl_bump splice excludeSSL
>> ssl_bump bump all
>>
>> but, anyway something more is happening because well... dosent work.
>> another point of view??
>>
>
> Yes, you still had something wrong. Also, i'm not sure if you need to
> anchor the RE to prevent it matching something like
> "web.whatsapp.com.malware.tld" in the server name. Maybe someone closer to
> the code can answer that question...
You are correct. regex contains implicit .* before and after the pattern
unless anchors are used.
Amos
More information about the squid-users
mailing list