[Solved] Squid block file extensions

Started by lfirewall1243, October 02, 2019, 07:05:44 PM

Previous topic - Next topic
October 02, 2019, 07:05:44 PM Last Edit: October 07, 2019, 03:37:25 PM by lfirewall1243
Hey,

I am running squid as an transparent http and https proxy, with icap and clamav to scan downloads. Is it possible to block downloads with special file extensions (like .doc or .zip)? Would be very helpful because many viruses are in .doc files.

Thank you ;)

Gesendet von meinem MI 9 mit Tapatalk

(Unoffial Community) OPNsense Telegram Group: https://t.me/joinchat/0o9JuLUXRFpiNmJk

PM for paid support


October 02, 2019, 08:11:27 PM #2 Last Edit: October 02, 2019, 08:34:38 PM by lfirewall1243
I can choose
Scan for filestypes
But can't block them even if they are virus free I think.
Or I just don't know how :)

Gesendet von meinem MI 9 mit Tapatalk
(Unoffial Community) OPNsense Telegram Group: https://t.me/joinchat/0o9JuLUXRFpiNmJk

PM for paid support

I added this to my ACL List

.*\.exe$

but its not working. Any idea? :)
(Unoffial Community) OPNsense Telegram Group: https://t.me/joinchat/0o9JuLUXRFpiNmJk

PM for paid support

Maybe you can try  Block specific MIME type reply in access control config?

Quote from: mimugmail on October 04, 2019, 10:34:22 AM
Maybe you can try  Block specific MIME type reply in access control config?

Thanks
Do you know how they have to look like?
(Unoffial Community) OPNsense Telegram Group: https://t.me/joinchat/0o9JuLUXRFpiNmJk

PM for paid support