Penguin
Note: You are viewing an old revision of this page. View the current version.

A program which does phrase based filtering. Useful for schools and such like that can't afford to have children viewing pornography.

It has a very quirky license being partially GPL and partially proprietary, although it's got the OpenSource foundations stamp of approval, and even RMS seems to like it.


My DansGuardian is dying at 6:45 every morning

Chances are pretty good its failing during morning maintenance. The logrotate script is the one to blame here, and dansguardians poor ability to restart cleanly and quickly. I modified my logrotate.d script (this is under debian, might be different in different distros) by doing the following.

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 inid script is a fail code)