You will probably want to use a redirector.  This way you could do your list
search in the redirector and log the username and site that was attempted.
squirm ( I think ) will help you get started.

Another way to do it would be to compare the sites in your block list to the
sites in your access.log using a parsing script that runs from cron.

to get the usernames in either case you will need to turn on proxy
authentication.
the url's are included in the logs already.

> Fre de Vries wrote:
> 
> Hi,
> 
> On my RedHat5.2 with squid 2.1patch2 machine, i have a acl that blocks all
> url's listed in /etc/squid/block.
> Is there a way to log all client ip's and destination url's that are actually
> blocked when someone try's to access one of the blocked url's
> 
> Thanks
> 
> Fr�

-- 
-------------------------------------------------------------------------------
Rodney D. Holm                  [EMAIL PROTECTED]
Apexx Technology, Inc.          http://www.apexxtech.com
-------------------------------------------------------------------------------

Reply via email to