Forbid porno sites on linux

 

Simpleness Parental Control - this short program will block adult web-sites on linux OS.

After you have opened the website, the program catches a domain name and checks the contents of the home page.
If more than 15 bad word will be found on the main page, the site will banned.


Install (for Ubuntu/Debian users)

echo "deb http://parents.simpleness.org/deb ./" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install parents


Tests, optional

wget https://raw.github.com/ivanoff/parents.simpleness.org/master/parents.t
sudo perl parents.t

Install from sources, simple variant

wget -q -U "install" -O - parents.simpleness.org | sudo bash -

Install from sources, longer variant

sudo apt-get -y install tcpdump || sudo yum -y install tcpdump
sudo mkdir /opt/parents
sudo wget -q https://raw.github.com/ivanoff/parents.simpleness.org/master/parents -O /opt/parents/parents
sudo chmod +x /opt/parents/parents
For start after each reboot add "/usr/bin/perl /opt/parents/parents start" to /etc/rc.local

License

Licensed under the Apache License, Version 2.0. Read more...