Re: 'log

From: Rodney Holm <[email protected]>
Date: Tue, 09 Feb 1999 08:58:11 -0700

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                  rodneyh@apexxtech.com
Apexx Technology, Inc.          http://www.apexxtech.com
-------------------------------------------------------------------------------
Received on Tue Feb 09 1999 - 09:13:04 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:30 MST