Hello Lukas,

For sure Schroeffu is right. Without the SSL Interception (a.k.a. MITM – Man in 
the middle) squid can’t filter any HTTPS request as it doesn’t know what you 
have inside the SSL tunnel.

 

 

 

 

From: squid-users <squid-users-boun...@lists.squid-cache.org> On Behalf Of 
i...@schroeffu.ch
Sent: Tuesday, May 7, 2019 7:46 PM
To: Lukas Yčas <lukasy...@gmail.com>; squid-users@lists.squid-cache.org
Subject: Re: [squid-users] Squid File Upload Blocking

 

Hi Lukas

for my understanding you have to decrypt the SSL connection with SSL bump, 
otherwise Squid is unable to read what mime type is going through the ssl 
tunneled connection.

lot regards
schroeffu

7. Mai 2019 22:41, "Lukas Yčas" <lukasy...@gmail.com 
<mailto:lukasy...@gmail.com?to=%22lukas%20y%c4%8das%22%20%3clukasy...@gmail.com%3e>
 > schrieb:

Hello,

I am currently attempting to block File Upload with squid -

squid.conf:

acl filesblock2 req_mime_type "/usr/local/squid/etc/blocked_up_extensions.acl"

http_access deny filesblock2

blocked_up_extensions.acl:

application/msword

application/vnd.openxmlformats-officedocument.wordprocessingml.document

With these settings applied I'm still able to upload .doc / .docx files for 
example via this website:
https://uploadfiles.io/

Am I missing something? How can I make it work?

P.S. I somehow do not receive replies via this mailing list, I can only read 
the daily digest, if you could add my email to CC while replying I would be 
very glad.

Regards,

Lukas






_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to