> What I'd like to do is log all access to certain sets of sites, without
> doing any redirecting. Currently nothing is logged to the logfile
> specified when sites matching one of the criteria are met.
You've brought up several issues here; I'll take them one at a time.
"... log all access to certain sets of sites..." I'm inferring from this statement that
these "sets of sites" exist in the form of lists (domains or urls), and that in the
squidGuard.conf file that you sent these lists must be in porn/domains and porn/urls
since
those are the only ones listed. But then you mention "...without doing any
redirecting...", which isn't going to happen with 'pass !porn all'.
For the tracking functionality may I suggest that you look into the various options for
reporting on the squid access.log file? I've used Calamaris and SARG and can recommend
them both. The squid site also has a page of links that includes logfile reporting
packages.
> Currently nothing is logged to the logfile
> specified when sites matching one of the criteria are met.
It has been my experience that squidGuard will not create these logfiles. Create the
file,
set the file ownership and permissions and bounce squid. There's no reason why it
shouldn't work then.
Hope that helps.
Rick Matthews
On Thu, 16 May 2002, "Symon Aked" wrote
>
> Good morning,
>
> We've recently deployed squid(2.4s6), and are phasing in functions of
> squidGuard (1.2.0 on Solaris 8).
>
> What I'd like to do is log all access to certain sets of sites, without
> doing any redirecting. Currently nothing is logged to the logfile
> specified when sites matching one of the criteria are met. Below is a
> pruned version of my squidGuard.conf file:
>
> "
> logdir /usr/local/squidGuard/log
> dbhome /usr/local/squidGuard/db
>
> dest porn {
> domainlist porn/domains
> urllist porn/urls
> expressionlist porn/expressions
> log /usr/local/squidGuard/log/porn.log
> }
>
> acl {
> default {
> pass !porn all
> }
> }
> "
>
> The documentation I can find about the destination group declaration says:
> "...filename is either a path relative to logdir or an absolute path (i.e.
> /full/path) to a logfile where redirects caused by match of this group
> should be logged."
>
> Is there a solution/workaround to log without redirecting? Eventually I'd
> want to use the redirect function, but for the time being, I only want
> logs.
>
> Thanks for your time,
>
> - Symon...