<?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>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; tinyproxy</title> <atom:link href="http://www.ghacks.net/tag/tinyproxy/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Fri, 10 Feb 2012 16:53:42 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Add serious web content control with WebContentControl in Linux</title><link>http://www.ghacks.net/2011/01/25/add-serious-web-content-control-with-webcontentcontrol-in-linux/</link> <comments>http://www.ghacks.net/2011/01/25/add-serious-web-content-control-with-webcontentcontrol-in-linux/#comments</comments> <pubDate>Tue, 25 Jan 2011 14:48:32 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Browsing]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[The Web]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[DansGuardian]]></category> <category><![CDATA[proxy]]></category> <category><![CDATA[tinyproxy]]></category> <category><![CDATA[web access]]></category> <category><![CDATA[web filtering]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=39247</guid> <description><![CDATA[There are many reasons why you might want or need to control what is seen via a web browser. Be it children, work, or any other reason, you might want to have more control than just your standard proxy software offers. That is where the incredibly powerful WebContentControl comes into play. The WebContentControl GUI takes [...]]]></description> <content:encoded><![CDATA[<p>There are many reasons why you might want or need to control what is seen via a web browser. Be it children, work, or any other reason, you might want to have more control than just your standard proxy software offers. That is where the incredibly powerful WebContentControl comes into play.</p><p>The WebContentControl GUI takes control of (and helps you configure) DansGuardian, FireHol, and TinyProxy to create a very powerful system for controlling access to web sites. Let&#8217;s take a look at how this tool is installed and used.</p><p><span
id="more-39247"></span><strong>Features</strong></p><ul><li>Automatic configuration of Dansguardian, Tinyproxy, Firehol at installation.</li><li>GUI to start/stop the filtering and configure all control tools (Dansguardian, Tinyproxy, Firehol).</li><li>Instead of overwriting or replacing config files, it will change what&#8217;s necessary.</li><li>Config files are backed up during installation and restored during uninstallation.</li><li>SSL filtering.</li></ul><p><strong>Installation</strong></p><p>I am going to show you how this tool is installed in Ubuntu. You won&#8217;t find this in the standard repositories, so the installation isn&#8217;t as simple as many installations. Here are the steps for installation:</p><p>Open a terminal window.</p><p>Issue the command <code>sudo add-apt-repository ppa:webcontentcontrol/webcontentcontrol</code><br
/> Issue the command <code>sudo apt-get update</code><br
/> Issue the command <code>sudo apt-get install webcontentcontrol</code></p><div
id="attachment_39248" class="wp-caption alignleft" style="width: 340px"><a
href="http://www.ghacks.net/wp-content/uploads/2011/01/webcontent.png"><img
class="size-medium wp-image-39248 " src="http://www.ghacks.net/wp-content/uploads/2011/01/webcontent-550x378.png" alt="" width="330" height="227" /></a><p
class="wp-caption-text">Figure 1</p></div><p>The installation might take longer than you would expect, as it is also configuring the necessary proxy software. Once WebcontentControl is installed, you can start the application with the command <code>sudo webcontentcontrol</code>. When the main window opens (see Figure 1), you might, at first, be a bit overwhelmed with what looks like more than your average content control system. Fear not, we will make sense of this tool.</p><p><strong>Usage</strong></p><p>Along the top of the window are three large buttons. Each of these buttons turns on or off either Firehol, TinyProx, and/or Dansguardian. If the button say On that means that service is on. If one of those is off, and you want it on, just click the button to turn it on.</p><p>In the Filter Settings tab you can control the preset configurations for DansGuardian, set the policies (from a simple AdBlocker policy to a Strict policy), access the DansGuardian configuration file directly, Set the naughtyness limit for DansGuardian, configure your blacklists/blocked IPs/banned sites/banned URLs/etc, and much more.</p><p>Let&#8217;s take a look at configuring a banned site with WebContentControl. Follow these steps:</p><ol><li>Open up WebContentControl.</li><li>Click on the Filter Settings tab.</li><li>Click on the Banned Sites button.</li><li>When Gedit (or your default text editor) opens scroll down to the section titled &#8220;#List other sites to block:&#8221;.</li><li>Enter the sites you want to block.</li><li>Save the file.</li><li>Close Gedit.</li><li>Click the Save button.</li></ol><p>Once you&#8217;ve done this you will need to set up your web browser to use the proxy IP address and port you have configured (by default the port will be 3129). When you try to open a blocked site, if you get an error that TinyProxy is not letting you through, or the browser is actually able to hit the blocked web site, make sure TinyProxy is running. Issue the command <em>sudo /etc/init.d/tinyproxy start</em>. When TinyProxy is running, try to hit the site again and you should see an Access is Banned error. Your web content is now being monitored and filtered.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/01/25/add-serious-web-content-control-with-webcontentcontrol-in-linux/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Easy Web Content Filtering with DansGuardian</title><link>http://www.ghacks.net/2009/03/09/easy-web-content-filtering-with-dansguardian/</link> <comments>http://www.ghacks.net/2009/03/09/easy-web-content-filtering-with-dansguardian/#comments</comments> <pubDate>Mon, 09 Mar 2009 13:26:58 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Browsing]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[The Web]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[content filtering]]></category> <category><![CDATA[DansGuardian]]></category> <category><![CDATA[proxy]]></category> <category><![CDATA[tinyproxy]]></category> <category><![CDATA[ubuntu]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=11046</guid> <description><![CDATA[I have a young step daughter at home and I know that curiosity can get the best of a young teen. I had been looking for an easy solution to deal with content filtering that would allow me to control over various types of content she could see. So I tured to DansGuardian. This filter [...]]]></description> <content:encoded><![CDATA[<p>I have a young step daughter at home and I know that curiosity can get the best of a young teen. I had been looking for an easy solution to deal with content filtering that would allow me to control over various types of content she could see. So I tured to <a
title="DansGuardian" href="http://dansguardian.org/" target="_blank">DansGuardian</a>. This filter sets up on a Linux server and, with the help of tinyproxy, acts as a content proxy filter for any machine on your network that needs filtering. It&#8217;s easy to install and easy to set up.</p><p>And don&#8217;t get my reason for using DansGuardian stop you from thinking this server could be used in other deployments. DansGuardian could be used for schools, businesses, internet cafes, etc. With that in mind let&#8217;s see just how easy this is to get running.</p><p>I installed DansGuardian on a Ubuntu Server 8.10 installation. The installation took me all of approximately 2 minutes. The complexity of the configuration of DansGuardian will depend completely on how much you need to ban.</p><p><span
id="more-11046"></span><strong>Installation</strong></p><p>The first thing to do is get to the command line of your server and issue the following command:</p><p><em>sudo apt-get install dansguardian</em></p><p>The above command will install the filtering system. But you&#8217;re not finished because DG requrires another tool, <a
title="Tinyproxy" href="https://banu.com/tinyproxy/" target="_blank">tinyproxy</a>, to act as a proxy server. To install tinyproxy issue the following command:</p><p><em>sudo apt-get install tinyproxy</em></p><p>Now you&#8217;re ready to configure.</p><p><strong>Configuration</strong></p><p>You could start up both DansGuardian and tinyproxy now and set up your browsers to use the proxy server right now. But you might want to take a visit to a couple of .conf files as well as the banned lists for DansGuardian. You will find the configuration file for DansGuardian in <strong>/etc/dansguardian</strong>. Open this up and take a look around. The most important configuration of this file is to make sure all the ports match up. In my installation both DansGuardian and tinyproxy were set up for port 8080. Perfect.</p><p>If you have a specific need for your network, make sure you go through both configuration files, which are set up very clearly and are well commented.</p><p>The next step is to take a look at the <strong>/etc/dansguardian/lists </strong>directory. In this directory you will find nearly every type of banned list you will need. The three most popular lists are:</p><ul><li>bannedsitelist</li><li>bannedurllist</li><li>bannedphraselist</li></ul><p>The difference between bannedurl and bannedsite is with bannedurl you are able to ban only part of a site and with banndsite you can ban an entire site. The banned lists are set up very clearly. For instance, if you want to ban a site you would see this in the bannedsitelist:</p><p><code># List categorisation<br
/> #listcategory: "Banned Sites"<br
/> #List other sites to block:<br
/> badboys.com</code></p><p>You can list any IP you want in this section. The bannedphraselist configuration looks like this:</p><p><code># To block any page with words that contain the string "sex". (ie. sexual)<br
/> # &lt;sex&gt;</code></p><p>You would uncomment out the second line from the above. Again, this configuration file is commented very well so it will be easy to set up.</p><p><strong>Starting the Services</strong></p><p>First start up tiny proxy with the command:</p><p><em>sudo /etc/init.d/tinyproxy start</em></p><p>Now start DansGuardian with the command:</p><p><em>sudo /etc/init.d/dansguardian start</em></p><p><strong>Configuring your browsers</strong></p><p>This is very simple. What you need to do is configure all the browsers you want to go through the content filter to use the IP address of the DansGuardian server as their proxy server.</p><p><strong>Final Thoughts</strong></p><p>If you have ever wanted to use a content filtering server but didn&#8217;t want to have to spend hours setting one up, DansGuardian is your solution. Not only is this solution simple, it is reliable and easy to maintain.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/03/09/easy-web-content-filtering-with-dansguardian/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> </channel> </rss>
