[PLUG] Re: SquidGard Does not Block
Sean, Sharon and Kyle Harbour
sharbours at yahoo.com
Mon Jul 29 18:54:22 UTC 2002
For troubleshooting, try this: (Don't forget to change permissions
back
to something reasonable)
Create a /var/log/squidGuard/log directory if it doesn't exist.
Create an /etc/squidGuard directory if it doesn't exist.
symlink /etc/squidGuard/squidGuard.conf to the real file, if needed.
In squid, call squidGuard with the -c /etc/squidGuard/squidGuard.conf
option.
Change your permissions on /var/log/squidGuard to 777 recursively
(Change this
back when you are done troubleshooting)
Change your permissions on /usr/whatever/squidGuard-1.2 to 777
recursively (Change
this back when you are done)
Try starting squid, and view the squidGuard log files, both in
/var/log/squidGuard
and /var/log/squidGuard/log
If this doesn't work, simplify your squidGuard.conf file as much as
possible until
it works, then add the rules back in.
Sean Harbour
--- Cooper Stevenson <cooper at linux-enterprise.net> wrote:
> Excerpt from the SquidGaurd FAQ:
>
> squidGuard does not block?
>
> There my be at least 2 reasons for this:
>
> You didn't end your pass rules with "none". Pass rules ends
> with an
> implicit "all". It is good practice to allways en the pass
> rules
> with either "all" or "none" to make them clear. Ie. use:
> pass good none
> or
> pass good !bad all
> squidGuard goes into emergency mode. Reasons may be syntax
> errors in
> the config file, reference to non existing database files,
> filprotection problems or missing directories. Check the
> squidGuard
> log.
> Note:When run under Squid, squidGuard is run with the same user
> and
> group ID as Squid (cache_effective_user and
> cache_effective_group
> in squid.conf). The squidGuard configuration and database files
> must
> be readable for this user and/or group and the squidGuard log
> directory must be writable for this user and/or group. If not
> squidGuard will go into the "pass all for all" emergency mode.
> --
> ______________________________________________________
> Cooper Stevenson |cooper at metasource.us
> UNIX/Linux Consultant |PH: (541)791-1322
> MetaSource Technologies |www.metasource.us
> ------------------------------------------------------
>
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
More information about the PLUG
mailing list