acl src_ip_me src 1.1.1.1/32
log_access deny src_ip_me
--- On Thu, 12/11/08, Chris Robertson <crobertson_at_gci.net> wrote:
> From: Chris Robertson <crobertson_at_gci.net>
> Subject: Re: [squid-users] How to exclude some ip addresses from squid access log.
> To: "squid-users" <squid-users_at_squid-cache.org>
> Date: Thursday, December 11, 2008, 2:34 AM
> Indunil Jayasooriya wrote:
> > Hi Everyone,
> >
> > I have the need of monitoring squid web browsing . So
> I am going to
> > use sarg. It usually shows all the ip addresses.
> > I want to excldue ip addresses of some managers from
> sarg.
> >
> > So , I think If I can exclude those ips from squid
> access.log, It
> > would be a solution.
> >
> > and also, Can I exclude ftp access to some ip
> addresses?
> >
> > Pls grant your advice.
> >
>
> From the default sarg.conf:
>
> # TAG: exclude_hosts file
> # Hosts, domains or subnets will be excluded from
> reports.
> #
> # Eg.: 192.168.10.10 - exclude ip address only
> # 192.168.10.0 - exclude full C class
> # s1.acme.foo - exclude hostname only
> # acme.foo - exclude full domain name
> #
>
> Also:
>
> # TAG: exclude_string
> "string1:string2:...:stringn"
>
> # Records from access.log file that contain one of
> listed strings will be ignored. #
>
>
>
> One of those should work.
>
> Chris
Received on Thu Dec 11 2008 - 13:13:45 MST
This archive was generated by hypermail 2.2.0 : Thu Dec 11 2008 - 12:00:02 MST