<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Dishers &#187; web_content_filtering</title>
	<atom:link href="http://www.dishers.com/tag/web_content_filtering/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dishers.com</link>
	<description>Digital fodder about our family.</description>
	<lastBuildDate>Thu, 02 Feb 2012 15:46:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Web filtering with Ubuntu, and Dans Guardian</title>
		<link>http://www.dishers.com/2007/08/25/web-filtering-with-ubuntu-and-dans-guardian</link>
		<comments>http://www.dishers.com/2007/08/25/web-filtering-with-ubuntu-and-dans-guardian#comments</comments>
		<pubDate>Sat, 25 Aug 2007 23:42:17 +0000</pubDate>
		<dc:creator>MAD</dc:creator>
				<category><![CDATA[Family]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[dansguardian]]></category>
		<category><![CDATA[dhcp_reservations]]></category>
		<category><![CDATA[old_laptop]]></category>
		<category><![CDATA[painless]]></category>
		<category><![CDATA[ubuntu_feisty]]></category>
		<category><![CDATA[web_content_filtering]]></category>

		<guid isPermaLink="false">http://www.dishers.com/?p=533</guid>
		<description><![CDATA[OK, I have kiddies at home, kiddies that need not be exposed to some of the stuff on the net. Really it&#8217;s just too easy for them to wander off into the bushes and see stuff that a 7, 10 and 13 year old just doesn&#8217;t need to see. Thus after much deliberation and investigation [...]]]></description>
			<content:encoded><![CDATA[<p>OK, I have kiddies at home, kiddies that need not be exposed to some of the stuff on the net. Really it&#8217;s just too easy for them to wander off into the bushes and see stuff that a 7, 10 and 13 year old just doesn&#8217;t need to see.</p>
<p>Thus after much deliberation and investigation it was decided that <a href="http://dansguardian.org/">Dansguardian </a>was the way to go.</p>
<p>I initially installed the server version of feisty on an old laptop to give this a go.  It worked out OK, but the old laptop just didn&#8217;t have enough to keep things running smoothly for more than an hour. The lack of a GUI also made things a little more difficult when looking at the logs and stuff. (I was trapped in a 640&#215;480 console environment and it just sucked).</p>
<p>So today I started over, again using the standard version of <a href="http://www.ubuntu.com/">Ubuntu </a>&#8216;Feisty edition&#8217;. If you&#8217;re using the server edition you can use this <a href="http://ubuntuforums.org/showthread.php?t=207008">tutorial</a>, which given it&#8217;s age has some pitfalls. Most notably you need to edit the firehol script to replace all instances of &#8216;%q&#8217; with &#8216;%b&#8217;.</p>
<blockquote><p><em>sudo gedit /lib/firehol/firehol</em> (replace vi with you editor of choice) and replace all %q strings with %b.<br />
This is documented in that thread somewhere toward page 7 I think.</p></blockquote>
<p>After fumbling through that again, I figured there had to be a better way, and there is.</p>
<p>I opted for the <a href="http://www.whatwouldjesusdownload.com/christianubuntu/2007/05/popular-packages.html">Dansguardian/Web Content Filtering Only</a> installer from the &#8216;Christian Edition&#8217;.</p>
<p>You still need to install &#8216;squid&#8217; <em>sudo apt-get squid</em></p>
<p>But after that it&#8217;s fairly painless. It also includes a pretty handy gui for tweaking the Dansguardian files.</p>
<p>The base network is set up like so:</p>
<p align="center"><a href="http://www.dishers.com/wp-content/uploads/2007/08/network.jpg"><img src="http://www.dishers.com/wp-content/uploads/2007/08/network-small.jpg" alt="Network" height="347" width="450" /></a></p>
<p><em><strong>Items of note:</strong></em></p>
<ul>
<li>Not all computers are filtered, but anyone can be by using the proxy manually by configuring the browser to do so.</li>
<li>Computers I WANT to be filtered are forced to do so by the following:
<ul>
<li>They have DHCP reservations for both their ethernet address and through the wireless to get an IP that I want them to have.</li>
<li>DHCP also give them bad DNS info.</li>
<li>They can access printers and what not on the local network.</li>
<li>Any traffic that tries to get outside from these addresses is dropped by an Access list in the router.</li>
<li>To surf, their browsers must be configured to use the proxy .99 on my network, else they go nowhere.</li>
</ul>
</li>
<li>Yes, this isn&#8217;t perfect
<ul>
<li>The easy end around on this is to change your IP, and hard-code it to a valid IP.</li>
<li>But my kids can&#8217;t do that (yet) and they aren&#8217;t admins on the machines that are forced to the proxy anyway.</li>
</ul>
</li>
<li>I&#8217;m sure there may be other ways around it that I haven&#8217;t thought of, but for now this is working well.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dishers.com/2007/08/25/web-filtering-with-ubuntu-and-dans-guardian/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

