squidGuard Links
squidGuard is an ultrafast and free filter, redirector and access controller for Squid
By Pål Baltzersen and Lars Erik Håland

This page was last modified

Links to related documentation

Here is a guide to related documentation

A happy user's squidGuard page & :-)
Fabrice Prigent, Network Administrator at the University of Toulouse, France, has written an excellent page about squidGuard in both French and English. He has done a neutral comparison of known free redirectors for Squid. He also has links to some URL/domain lists/patterns you may find useful in conjunction with Squid and squidGuard.
A user contributed FAQ:
An alternative FAQ by Andrea Berger
The official Squid 1.1 Release Notes:
The Squid programmers/authors original documentation on Squid's redirector interface.
The official Squid redirector FAQ:
Frequently Answered Questions about Squid redirectors.
The official Squid ralated software FAQ:
Pointers to Squid redirector packages and more.
The official Squid FAQ:
Answers to almost all your questions about Squid.
Squid related documentation:
Pointers to even more Squid related documentation.

Useful software links

Here is a guide to more or less free software tools you may or may not need.

squidGuard:
Well, that is what this is all about :-)
Squid:
If you don't have Squid you don't need squidGuard either. You may prefer to download our copy if you are in Europe or have trouble reaching the Squid home page.
libdb.a - Berkeley DB - The Berkeley Database library version 2.X:
squidGuard requires this library. You must install a version 2.X of DB if your system does not already have it or it has a version 1.X installed (Version 1.X and 2.X may coexist on a system). The Berkeley Database library can be used free of charge with squidGuard since squidGuard is GPL. You may prefer to download our copy if you are in Europe or have trouble reaching Sleepycat.
Note: All versions of the Berkeley Database library are called betas. In contrast to the normal use of the notion beta this does not mean that the Berkeley Database library is in unstable prerelease state. Quite contrary, it has proven to be very stable and can safely be used in production quality software.
A Webmin Module:
A Webmin Module for squidGuard. Thanks to Tim Niemueller.
Gzip - GNU's replacement for compress:
You need gzip/gunzip/zcat to unzip the squidGuard distribution. If you ever plan to work with freeware for UNIX-like environments then gzip/gunzip/zcat is a must. You may prefer to download our copy if you are in Europe or have trouble reaching The Free Software Foundation or finding a good mirror.
Gmake - GNU make:
If you don't have a development environment with a "make" compatible build tool and stuff listed below, then the Free Software Foundation is your best friend. The Free Software Foundation makes free versions of everything you need to set up a development environment for UNIX-like systems. Besides the University of California, Berkeley/Berkeley Software Design, the free software from the Free Software Foundation is the main reason there are things called 386bsd, NetBSD, FreeBSD, Linux, etc. etc. Thanks to the constant open source revision and refinement via the Internet over the years since 1983, the Free Software Foundation in most cases makes faster, better and less buggy reincarnations of most UNIX-like tools an libraries than the commercial vendors do and the code runs on almost any UNIX-like platform you can think of so you can set up a more uniform environment on a multivendor fleet. Therefor we recommend using GNU tools wherever you can! You may prefer to download our copy if you are in Europe or have trouble reaching The Free Software Foundation or finding a good mirror.
Gcc - The GNU C Compiler:
If you don't have an ANSI C compiler then the Free Software Foundation is your best friend. Gcc makes faster and less buggy code than many commercial compilers and runs on almost any UNIX-like platforms you can think of, so we recommend using it anyway unless your commercial compiler is really clever. squidGuard is developed mainly with gcc-2.7.2.3. (The new gcc-2.8.x may be fine too.) You may prefer to download our copy if you are in Europe or have trouble reaching The Free Software Foundation or finding a good mirror.
Bison - The GNU/FSF parser generator, Bison:
Byacc - The Berkeley Yacc parser generator:
If you for some strange reason don't have a "yacc" (Yet Another Compiler Compiler) compatible parser generator then The GNU/FSF parser generator, (bison) and The Berkeley Yacc parser generator (byacc) are your friends. You need yacc, byacc or bison to compile src/sg.y into src/y.tab.c and src/y.tab.h. Bison makes faster parsers than most commercial versions of yacc, so we recommend using it anyway as long as its copyright isn't a problem for you (You may not use Bison to build commercial software). If you can't use Bison and lack yacc, use byacc which has a more liberal copyright. (Though the parser speed doesn't matter much for squidGuard since it is used for parsing the config file only). You may prefer to download our copies of bison and/or byacc if you are in Europe or have trouble downloading from the sources.
Flex - The Fast Lexical Analyzer Generator:
If you for some strange reason don't have a "lex" compatible lexical analyzer generator then the Fast Lexical Analyzer Generator (flex) is your friend. You need lex/flex to compile src/sg.l into src/lex.yy.c. Flex makes faster scanners than many (most/all?) commercial versions of lex, so we recommend using it anyway. (Though the lexer speed doesn't matter much for squidGuard since it is used for parsing the config file only). squidGuard is developed mainly with flex-2.5.4a. You may prefer to download our copy if you are in Europe or have trouble reaching The Free Software Foundation or finding a good mirror.
Regex - the GNU regex library:
Rx - A fast replacement for the GNU regex library:
squidGuard must be linked with a regular expression library that supports regcomp() and regexec(). If your system for some strange reason don't have this the GNU regex or rx libraries may be good alternatives. We haven't done any comparison of these libraries yet, but have successfully linked squidGuard with both. These may be faster than many commercial variants anyway, so you may consider using one of them even if your system have a compatible library. Finding a fast regular expression executer, regexec(), may be critical for good performance if you run squidGuard with many and/or complex regular expressions. The performance of the regular expression compiler regcomp() is less critical since all expression compilation is done at load time, not when handling requests. You may prefer to download our copies if you are in Europe or have trouble reaching The Free Software Foundation or finding a good mirror.
Apache - The most popular web server on the Internet:
Although your redirectors could point to nonexisting URLs, it would be a better idea in most configurations to redirect to existing URLs. So you probably need a web server. If you don't have a web server we strongly recommend Apache. You can install it on the proxy server or a nearby server. You may prefer to download our copy if you are in Europe or have trouble reaching the apache.org or finding a good mirror.
Perl - The popular all in one language:
You don't really need Perl to run squidGuard, but it comes very handy when making CGI scripts, HTML parsers, URL collectors, database compactors etc. etc. You may prefer to download our copy if you are in Europe or have trouble reaching the perl.com or finding a good mirror.
Identd - our free ident daemon for M$ Windoze:
Pidentd - a free Portable Ident Daemon for Unix:
To be able to use user IDs in the client rules definitions the actual clients must support RFC931/RFC1413. Pidentd is for Unix and Identd for M$ Windoze. Feel free to download our copy of pidentd or our official distribution of identd.
squidlog2combined:
squidlog2combined is a free tool that lets you convert native Squid accesslogs to the Apache combined log format, suitable for log analyzers like Webalizer and others. It has some really nice options.
Webalizer -a free web server log file analyzer:
Webalizer is a fast, free web server log file analysis program. It produces highly detailed, easily configurable usage reports in HTML format, for viewing with a standard web browser. With Squid you may find it usefull in combination with squidlog2combined and Apache's logresolve. Feel free to download our copy.

Note: ftp.teledanmark.no is not mirroring other sites. We just put a copy there, to have it handy, of what we manually download and find useful. The copies are unchanged from the original but may have been compressed with gzip (.gz) if the original was compressed with the old compress (.Z).