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)
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, uh...@fantomas.sk ; 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

Reply via email to