Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
[Solved] Squid block file extensions
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] Squid block file extensions (Read 3555 times)
lfirewall1243
Hero Member
Posts: 1386
Karma: 45
[Solved] Squid block file extensions
«
on:
October 02, 2019, 07:05:44 pm »
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
«
Last Edit: October 07, 2019, 03:37:25 pm by lfirewall1243
»
Logged
(Unoffial Community) OPNsense Telegram Group:
https://t.me/joinchat/0o9JuLUXRFpiNmJk
PM for paid support
mimugmail
Hero Member
Posts: 6767
Karma: 494
Re: Squid block file extensions
«
Reply #1 on:
October 02, 2019, 07:38:37 pm »
Isnt this possible via icap server settings?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
lfirewall1243
Hero Member
Posts: 1386
Karma: 45
Re: Squid block file extensions
«
Reply #2 on:
October 02, 2019, 08:11:27 pm »
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
«
Last Edit: October 02, 2019, 08:34:38 pm by lfirewall1243
»
Logged
(Unoffial Community) OPNsense Telegram Group:
https://t.me/joinchat/0o9JuLUXRFpiNmJk
PM for paid support
lfirewall1243
Hero Member
Posts: 1386
Karma: 45
Re: Squid block file extensions
«
Reply #3 on:
October 04, 2019, 09:38:11 am »
I added this to my ACL List
.*\.exe$
but its not working. Any idea?
Logged
(Unoffial Community) OPNsense Telegram Group:
https://t.me/joinchat/0o9JuLUXRFpiNmJk
PM for paid support
mimugmail
Hero Member
Posts: 6767
Karma: 494
Re: Squid block file extensions
«
Reply #4 on:
October 04, 2019, 10:34:22 am »
Maybe you can try Block specific MIME type reply in access control config?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
lfirewall1243
Hero Member
Posts: 1386
Karma: 45
Re: Squid block file extensions
«
Reply #5 on:
October 04, 2019, 10:35:22 am »
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?
Logged
(Unoffial Community) OPNsense Telegram Group:
https://t.me/joinchat/0o9JuLUXRFpiNmJk
PM for paid support
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
[Solved] Squid block file extensions