A program which does phrase based filtering. Useful for schools and such like that can't afford to have children viewing pornography.
It is Licensed under the GPL, although commercial users must pay to download it from the author's website. This is allowed under the GPL, since the GPL covers rights after distribution, not before. See their Licence page for clarification.
It has the OSI's stamp of approval, and even RMS seems to like it.
cat > /etc/logrotate.d/dansguardian << EOF /var/log/dansguardian/access.log {
rotate 31 daily prerotate
/etc/init.d/dansguardian stop || true
endscript postrotate
sleep 2 && /etc/init.d/dansguardian start || \ (sleep 2; /etc/init.d/dansguardian start)
endscript
} EOF
This just adds in a sleep and a second attempt to restart DansGuardian if the first fails (the || will execute only if the output from the init script is a fail code).
4 pages link to DansGuardian: