Results 1 to 2 of 2
Thread: Squid Blocking .ZIP
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Nov 2006
Squid Blocking .ZIP
I am confused with my squid configuration because
i set to allow ZIP file but there is one workstation or PC1 with the IP
address of 192.168.1.101 has not authorized to download ZIP File in any
Website address that he/she accessed it but when i checked on the Log
File I found this
in my conf file:
acl zipblockfile urlpath_regex "/etc/squid/listed/zipblock.acl"
http_access allow zipblockfile !pc1
1341368651.836 22599 192.168.1.101 TCP_MISS/200 2469901 GET
is there a way to block it or my conf file is not correct.
I think you would be better off writing a deny policy rather than allowing "everything but". The following should do what you want:
acl banned_clients src pc1 acl zipblockfile urlpath_regex "/etc/squid/listed/zipblock.acl" http_access deny banned_clients zipblockfile