Search squid archive

Re: unique access.log for specific ACLs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09.04.18 14:10, Joey Officer wrote:
Apologies if this has been covered before, but I could not find an archived
discussion on the same topic.  Is it possible to assign a unique log file
output to a specific ACL?  The use case is that we've begun blocking
certain sites and we would like to begin logging the attempted access.

I'd suspect something similar to the following:

(squid 3.5.12)
#blocking
acl isf_blacklist dstdom_regex "/etc/squid/block.txt"

note that dstdom_regex is quite infeffective (although not as much
as url_regex), since regulatrr expression matching is CPU hungry.
use dstdomain whenever possible.

--
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Christian Science Programming: "Let God Debug It!".
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux