[squid-users] unique access.log for specific ACLs
Matus UHLAR - fantomas
uhlar at fantomas.sk
Mon Apr 9 17:49:15 UTC 2018
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 at 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!".
More information about the squid-users
mailing list