Search squid archive

Re: Tagged ACLs?

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

 



W dniu 20.05.2017 o 18:07, Ralf Hildebrandt pisze:
Currently we're using a few blacklists (from abuse.ch) as ACLs on our
squid installation.

This is working well, but we want to create statistics on how many
clients were "caught" trying to access blocked sites.

Currently, we're grepping the log for TCP_DENIED in conjunction with the
patterns from the ACLs. This is working somewhat OK, but if access was
blocked using a pettern that was in use when the client tried to
access and was subsequently removed (prior to the time of the log
analysis process), it won't be found...

Is there any way around this? Like "tagging" rejects or logging the
ACL that caused the rejection? (Using squid-5 HEAD here)

Hi,

Try that:
http://www.squid-cache.org/Doc/config/logformat/
"Access Control related format codes" => "et" can be the thing you are looking for.

-- 
Pozdrawiam, Remik
_______________________________________________
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