Search squid archive

Re: squidGuard - log but allow access

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

 





Quoting "Dennis B. Hopp" <dhopp@xxxxxxxxxx>:

I've setup squidGuard and it works pretty well.  What I would like to
do is to have squidGuard log when somebody tries to go to a specific
targetgroup but allow them access rather then doing a redirect.

I can only seem to get it to either log and block access or allow
access but not log.  This is what I have in squidGuard.conf

------------

dest Warez {
        domainlist warez/domains
#       urllist warez/urls
        log warez.log
}

acl {
        default {
                pass Porn Warez all
redirect http://cache1.server/cgi-bin/squidGuard.cgi?url=%u
        }
}

----------------

I've tried taking out the redirect statement as well.  It allows the
access but doesn't log it.

You need to add a "verbose" flag to you log line in order to log passed items.

dest warez {
   domainlist blacklists/warez/domains
   urllist blacklists/warez/urls
   # The "verbose" option logs all hits -- even those that pass.
   # Without "verbose", only redirected/rewritten hits are logged.
   log verbose warez.log
}

begin:vcard
fn:Ben Hollingsworth
n:Hollingsworth;Ben
org:BryanLGH Health System;Information Technology
adr:;;1600 S. 48th St.;Lincoln;NE;68506;USA
email;internet:ben.hollingsworth@xxxxxxxxxxxx
title:Systems Programmer
tel;work:402-481-8582
tel;fax:402-481-8354
tel;cell:402-432-5334
url:http://www.bryanlgh.org
version:2.1
end:vcard


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux