squidGuard Patches


Downloadable Software

Description

squidGuard is "an ultrafast and free filter, redirector and access controller for Squid". The 1.2 stable version was released in December of 2001, but work hasn't been done on it since. More recent patches have been contributed by Chris Frey and maintained separately.

We have written a patch for squidGuard as well, adding support for logging of all requests and fixing a minor memory bug. By default, squidGuard is only capable of logging "redirected" and "rewritten" requests, but is not capable of "passed" (allowed) requests. With the patch, logging of all traffic going through squidGuard is possible, making it a lot more useful for system administrators who require such logs. We have sent the patch to Chris who has improved on it, split it into two patches and made it available for download. Below, we have mirrored Chris' patches and also made one large patch consiting of the 10 smaller patches. The original patches are all available on the Net Direct squidGuard site.

Download

 

FileSizeDescription
01-squidGuard-1.2.0-dbcfg.patch 5.46 Kb Adds support for DB4 to the configure script. Based on Debian's package diff.
02-squidGuard-1.2.0-buffer.patch 2.15 Kb Some buffer overflow checks. Based on Debian's package diff.
03-squidGuard-1.2.0-ldap.patch 218.26 Kb Adds LDAP and exec support to Source blocks. (see documentation here) Based loosely on Makina Corpus's pppd LDAP patch with heavy changes.
04-squidGuard-1.2.0-cleanup.patch 181.00 Kb Adds memory freeing code and extern cleanups.
05-squidGuard-1.2.0-cfgfix.patch 42.12 Kb Fixes problems in the configure script where DB libs require thread support to compile, and fixes an incorrect "always on" setting for DB4. Adds extra checks for LDAP libs as well. Thanks to Alex Harrington for help finding these bugs.
06-squidGuard-1.2.0-activefix.patch 2.44 Kb Fixes bug in Source block initialization when only an ldapusersearch field is present. Thanks to Alex Harrington for his testing work.
07-squidGuard-1.2.0-ldapv3.patch 12.39 Kb Adds documentation, supports LDAP version 3 of the protocol, adds 'ldapbinddn' and 'ldapbindpass' global configuration keywords, and fixes bug in URL parsing which affected URL extensions. Inspired by Alex Harrington's original patch.
08-squidGuard-1.2.0-searchfix.patch 1.22 Kb Fixes a bug where it won't search the url db if the domain db is empty.
09-squidGuard-1.2.0-nullfix.patch 736 b Fixes a null pointer access bug in logging.
10-squidGuard-1.2.0-verboselog.patch 9.18 Kb Adds verbose logging support by adding a new keyword to the squidguard 'log' command. Now supports:
			log|logfile verbose file
			
The verbose keyword enables logging of all URLs processed, even ones that pass. Each URL request log message now has an extra keyword describing the action taken: REWRITE, REDIRECT, or PASS.

It is valid to use both anonymous and verbose keywords at once.
netdirect-squidGuard-full.patch 447.21 Kb Combined squidGuard patch consisting of the 10 patches above.

 

Credits

Patches 1-8 were written by Chris Frey. Patches 9 and 10 are based on Adam Gorski's patch, but edited by Chris Frey.

Links