In this lab, I turn a Raspberry Pi running the Raspbian Linux operating system into a robust web proxy that filters objectionable web sites.In order to turn the Raspberry Pi into a web proxy I install and configure Squid and Squid Guard, and then I download and configure a blacklist file which is available for personal use through a creative commons license.This lab focuses on turning the Raspberry Pi into a standalone proxy server that can be reached by changing the network clients web browser proxy settings, or by configuring the router to direct web traffic to the proxy server.
adult dating services dietrich idaho - Updating squidguard blacklist
First, I recommend updating your repositories and then installing the program locate and updating the index/database of file locations.
This will help you if you need search for the file paths to the Squid and Squid Guard configuration files.
After installing Squid and Squid Guard you will want to run the sudo updatedb command again in order to make the newly installed files indexed and searchable with locate. Now that Squid is running you can test it from another computer on the network by going to another computer and changing the settings in Firefox or Chrome to point to the Squid web proxy on the Raspberry Pi.
This script performs a database rebuild for any blacklists listed in the default Squidguard config file `/etc/squid/squid Guard.conf'.
After rebuilding the databases it will reload Squid / Squid3 so that it will make use of the updated lists.
-v | --verbose Show some more information and switch on progress bar when updating database.
-c | --checkdb Check Berkeley DB version and rebuild full database only if Berkeley DB version have changed.
This option should be used after upgrade of squidguard to reduce wasteful wait time. Moore II, 2010-2012 Joachim Wiedorn This script is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
Most routers for the home don't do a very good job at filtering objectionable web content.
One possible solution is to turn a Raspberry Pi into a proxy web filter that can protect users on your home network.