|
For more ideas see item 1, or else try the real FAQ Back to Top
Why is Squidguard blocking some category of sites but not others?Most likely the ownership or permissions of the blacklist files for that category are not correct. Check the item above. Back to Top
Why isn't Squidguard blocking sites in a particular domain?If you have both a domain and a subdomain listed in your "domains" file, squidGuard will usually only block the listed subdomain. For instance, if you have "badsite.com" and "porn.badsite.com" in your domains file, then you will find that squidGuard does not block access to "warez.badsite.com" or "badsite.com/nasty.html". This is probably an un-intended result of the way squidGuard uses b-trees to store the site lists. There is a post in the forums about this which provides a more complete description. In that post, the question comes up on how to ensure that your domainlists don't contain any such harmful duplicates. Thankfully, a squidGuard user provides access to a thread on the old newsgroup, where scripts to process domainlists and urllists may be found. Back to Top
Why does Squidguard not block clients designated with src { ip x.x.x.x }?If you try to designate which clients get blocked by using a source group with the
clients designated by ip address, you must have a line in your squid.conf file to cause
squid to supply the entire ip address for each client. For instance, if you have: client_netmask 255.255.255.255 Back to Top
Is there a way to automatically update the lists of blocked sites?Here is a shell script which will do this. This script was originally written by Rick Matthews. I have made some small changes to it; for instance, I have the script create the new directories it may need when it first runs. Also, I have changed it to reflect the change of address for squidguard.org's ftp site. After downloading the script, you should edit it to give correct values to the variables which point to your squid and squidGuard binaries, and to your squidGuard blacklist databases. This script also uses the "wget" utility to download the files. It is more reliable and easier to use wget than to script an FTP session. If your system does not have it already, it is available as an RPM package for RedHat, or in other forms from Sunsite, among other places. Back to Top
When I run squidGuard -C, the process never finishes.See if there is a space at the start of the squidguard.conf file (there should not be). Back to Top
How can I have a list of sites which are never blocked no matter what?Create a blacklist called ok (or whatever you want). In blacklists/ok/domains list the
domains you want to allow; do the same thing with urls in blacklists/ok/urls, and with
expressions etc. In your acl list use the ok blacklist at the start of your pass block as
follows: Back to Top
The "users" parameter in src blocks doesn't seem to work. How can I block sites from some network users but not others?First, you must configure squid with an acl of type "ident REQUIRED"
and use http_access allow or deny with that acl: Note that this assumes that the user did log on to the client computer (i.e.
that the logon dialog wasn't bypassed by the user hitting escape, or that the computer is
not set up to bypass the logon step with either a default logon or a blank logon). Back to Top
Why does squidguard hang with "domains.diff%: no such file or directory" in the log file when I do"squidGuard -u"?Problem description: (see http://marc.theaimsgroup.com/?l=squidguard&m=102008640828326&w=2)
Answer: (see http://marc.theaimsgroup.com/?l=squidguard&m=103046416402992&w=2)
Back to Top
The stock squidGuard.cgi hangs up with newer versions of Perl on RedHat 8.0 and later.When you install squidGuard onto RedHat 8.0 or later with all of the updates applied, your perl version will be perl-5.8.0-55 or later. If you run the squidGuard.cgi file which is provided with the squidGuard distribution under those conditions, and a blocked page is encountered, the user's browser will time out on your redirection script. If you run the script from the command line, you will see a bunch of messages like this one: "Using a hash as a reference is deprecated in .../squidGuard.cgi line 84". To eliminate the messages, edit squidGuard.cgi and go to the very first line, which reads: #! /usr/bin/perl -w Change this to read #!/usr/bin/perl This will eliminate the warning messages (for now). Apparently the warnings prevent the script from completing when run as the squid user. A better solution would be to change the code in every line which the perl interpreter thinks that a hash is being used as a reference. Also note that I have removed the space between '!' and '/usr'. This was the suggestion I received via Rick Matthews from fellow squidguard user Stan Markham. It seems that some newer Red Hat installations don't like the space. He also suggested including "LANG=C; export LANG" in one's .bash_profile or /etc/profile to correct this and some display issues seen in newer Red Hat installations. For my own installation, I made the following entries in /etc/sysconfig/i18n instead: LANG="en_US.UTF-8"
Why are the blacklist databases no longer available from squidguard.org?The new ftp site address is: ftp.teledanmark.no/pub/www/proxy/squidguard/contrib/blacklists.tar.gz You can access the file via http or ftp. Back to Top
Why can't I compile squidGuard on Mandrake or on Redhat 9.2?Some variants of Linux need to have the "pthread" library included when using BerkeleyDB with applications like squidGuard. You can do this as follows: export LIBS="-lpthread";./configure <other configure options>
squidGuard FAQ supplement by Morris Maynard.
| ||||||||||||
|
Last modified 28 May 2007
|