<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:og="http://ogp.me/ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:schema="http://schema.org/" xmlns:sioc="http://rdfs.org/sioc/ns#" xmlns:sioct="http://rdfs.org/sioc/types#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" version="2.0" xml:base="http://badzilla.co.uk/">
  <channel>
    <title>Raspberry Pi</title>
    <link>http://badzilla.co.uk/</link>
    <description/>
    <language>en</language>
    
    <item>
  <title>RasPlex Installation using a Raspberry Pi 3B+ with Rii Mini i8+ Remote</title>
  <link>http://badzilla.co.uk/rasplex-installation-using-raspberry-pi-3b-rii-mini-i8-remote</link>
  <description>
&lt;span&gt;RasPlex Installation using a Raspberry Pi 3B+ with Rii Mini i8+ Remote&lt;/span&gt;

&lt;span&gt;&lt;span lang="" about="http://badzilla.co.uk/user/1" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;nigel&lt;/span&gt;&lt;/span&gt;

&lt;span&gt;Sat, 23/05/2020 - 10:49&lt;/span&gt;

      &lt;div class="field field--name-field-heading-image-text field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/20200523_152248-edited.jpg?itok=J89BMMDR 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2020-05/20200523_152248-edited.jpg?itok=3rzlTbkA 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2020-05/20200523_152248-edited.jpg?itok=sZBbKNwD 1000w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/20200523_152248-edited.jpg?itok=J89BMMDR" alt="Movie View" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/20200523_152218-edited.jpg?itok=aw3KcfYl 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2020-05/20200523_152218-edited.jpg?itok=0ZieTdB4 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2020-05/20200523_152218-edited.jpg?itok=b2eeCEKK 1000w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/20200523_152218-edited.jpg?itok=aw3KcfYl" alt="Menu View" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/20200523_152130-edited.jpg?itok=Ndp5c6K6 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2020-05/20200523_152130-edited.jpg?itok=S9zgXGmZ 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2020-05/20200523_152130-edited.jpg?itok=ZxbM0pRg 1000w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/20200523_152130-edited.jpg?itok=Ndp5c6K6" alt="Song View" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Tutorial on how to install RasPlex on a Raspberry Pi 3B+ with a Rii Mini i8+ remote control. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Download the RasPlex Image&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;The Raspberry Pi 3B+ is a little problematic for RasPlex which is borderline abandonware. There is no official GitHub image release for a 3B+, and attempting to install the latest 1.8.0 will result in the Raspberry Pi rainbow screen upon power up. &lt;/p&gt;
&lt;p&gt;There is a long thread &lt;a href="https://github.com/RasPlex/RasPlex/issues/606"&gt;here&lt;/a&gt; that explains the problems with the 3B+ - however be warned the conversation gets seriously derailed with a nonsense focus on power supplies half way through. There is huge intimation that the fact that RasPlex doesn't boot on a 3B+ is because of the power supply issues. Disregard this - it doesn't boot on an official Raspberry Pi power supply either so power &lt;strong&gt;is not the issue! &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Thankfully, albeit partially obscured by background noise, there is a link to a commit that &lt;strong&gt;does&lt;/strong&gt; work. This is RasPlex-1.8.0.0-573b6d73-RPi2.arm.img.gz and can be downloaded from &lt;a href="https://github.com/RasPlex/RasPlex/releases/download/PRE-1.8.0b%2B/RasPlex-1.8.0.0-573b6d73-RPi2.arm.img.gz"&gt;here&lt;/a&gt;. &lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Flashing the Image to MicroSD Card&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/Screenshot%202020-05-23%20at%2011.20.57.png?itok=ckVxrVSb 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2020-05/Screenshot%202020-05-23%20at%2011.20.57.png?itok=74cJ0ZC2 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2020-05/Screenshot%202020-05-23%20at%2011.20.57.png?itok=LVzuGzhv 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2020-05/Screenshot%202020-05-23%20at%2011.20.57.png?itok=t1J_6G_M 1588w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/Screenshot%202020-05-23%20at%2011.20.57.png?itok=ckVxrVSb" alt="Burn" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;I used balenaEtcher to flash the image to my MicroSD card although other tools are available. A little care is required here - I could've easily incorrectly selected the wrong media since by default balenaEtcher selected my SanDisk Ultra Fit USB 3.1 Flash Drive. I reselected the MicroSD which was in the card reader. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Boot the Raspberry Pi&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Inserting the MicroSD card into the Raspberry Pi slot and powering up will now bring up the configuration screens for RasPlex. I didn't have to change any of the defaults - and it found my Plex server automatically as well! I elected not to enable pre-caching of the assets since my network is quick enough for the images to load practically instantaneously. &lt;/p&gt;

&lt;p&gt;Once the RasPlex 'configuration' is complete, the system loads openPHT which is the user interface for the media centre - i.e. the Plex client. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Configuring openPHT&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/20200523_140709-edited.png?itok=Jy8GyFkH 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2020-05/20200523_140709-edited.png?itok=_lxMwwtP 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2020-05/20200523_140709-edited.png?itok=NPWVGfyr 1000w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/20200523_140709-edited.png?itok=Jy8GyFkH" alt="No automatic updates" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;As I mentioned earlier, there is a Raspberry Pi 3B+ working image, which is what Ive used to build my system. It is imperative to ensure the system is pinned at that version and not automatically updated upon a reboot to a newer patch level. To do that change the settings by navigating to:&lt;/p&gt;

&lt;p&gt;Left button -&gt; Preferences -&gt; Left button -&gt; Down button (twice) -&gt; Right button -&gt; Down button (four times) to &lt;em&gt;Software Update&lt;/em&gt; then untick the first option. &lt;/p&gt;

&lt;p&gt;I also changed the keyboard to be &lt;em&gt;uk&lt;/em&gt;, but apart from that there was nothing more to do. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Rii Mini i8+ Remote&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Simply put, this 'just works'. It was already paired to its USB receiver before I used it in a previous Android TV project I've now abandoned for this project. I turned on the remote, inserted the receiver in a spare USB slot, and instantly it was sending keystrokes to the Raspberry Pi. Couldn't have been simpler. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Bill of Materials&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/20190202_103647-scaled.jpg?itok=TOJGHkf0 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2020-05/20190202_103647-scaled.jpg?itok=FRWJLDWI 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2020-05/20190202_103647-scaled.jpg?itok=AyOHUh25 1000w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/20190202_103647-scaled.jpg?itok=TOJGHkf0" alt="Raspberry Pi 3B Plus" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/20190202_103907-scaled.jpg?itok=jAaC-mKU 244w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2020-05/20190202_103907-scaled.jpg?itok=TCsFfs0G 488w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2020-05/20190202_103907-scaled.jpg?itok=cztx7eDf 750w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/20190202_103907-scaled.jpg?itok=jAaC-mKU" alt="MicroSim" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/20200521_145258-edited.jpg?itok=pguLTn5V 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2020-05/20200521_145258-edited.jpg?itok=-wa-b1B4 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2020-05/20200521_145258-edited.jpg?itok=i5RzCkjS 1000w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/20200521_145258-edited.jpg?itok=pguLTn5V" alt="Power Supply" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/20200523_152357-edited.jpg?itok=uqZJj-wR 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2020-05/20200523_152357-edited.jpg?itok=_z9G7L4G 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2020-05/20200523_152357-edited.jpg?itok=HrPC05iF 1000w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2020-05/20200523_152357-edited.jpg?itok=uqZJj-wR" alt="Rii Mini i8+ Remote" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;table border="1" bordercolor="#FFCC00" cellpadding="3" cellspacing="3" style="background-color:#FFFF99" width="100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.amazon.co.uk/gp/product/B07BDR5PDW/ref=as_li_tl?ie=UTF8&amp;camp=1634&amp;creative=6738&amp;creativeASIN=B07BDR5PDW&amp;linkCode=as2&amp;tag=upcomingfilms-21&amp;linkId=d4b4136961e738592693c1232643ab7f"&gt;3BPLUS-R 1.4 GHz 1 GB RAM 64-Bit&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;£37.67&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SD Card&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.amazon.co.uk/gp/product/B07C5MQCYM/ref=as_li_qf_asin_il_tl?ie=UTF8&amp;tag=upcomingfilms-21&amp;creative=6738&amp;linkCode=as2&amp;creativeASIN=B07C5MQCYM&amp;linkId=f675bbec3439457893e9fe718ac2ea66"&gt;LXSINO 32GB Micro SD Class 10&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;£6.99&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Power&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.amazon.co.uk/gp/product/B017YW26YE/ref=as_li_tl?ie=UTF8&amp;camp=1634&amp;creative=6738&amp;creativeASIN=B017YW26YE&amp;linkCode=as2&amp;tag=upcomingfilms-21&amp;linkId=35d30a489a177f2ab3d186e3c0e099b4"&gt;Aukru Charger 5V 3000mA Power Supply 3A&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;£9.99&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Remote&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.amazon.co.uk/gp/product/B00T2SJUWA/ref=as_li_tl?ie=UTF8&amp;camp=1634&amp;creative=6738&amp;creativeASIN=B00T2SJUWA&amp;linkCode=as2&amp;tag=upcomingfilms-21&amp;linkId=396ebb8d06c8eacc58a38b8163de27eb"&gt;Rii i8+ 2.4Ghz LED Backlit Mini Wireless Keyboard&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;n/a&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td align="RIGHT"&gt;&lt;strong&gt;TOTAL&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;£54.65&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The remote isn't available anymore, but models practically the same are for around £8. &lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
      &lt;div class="field field--name-field-blog-youtube field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-text-youtube paragraph--view-mode--default"&gt;
          
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
  &lt;div class="field field--name-field-blog-terms field--type-entity-reference field--label-inline"&gt;
    &lt;div class="field--label"&gt;blog terms&lt;/div&gt;
          &lt;span class="field__items"&gt;
              &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/hardware" hreflang="en"&gt;Hardware&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/raspberrypi" hreflang="en"&gt;Raspberry Pi&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/plex" hreflang="en"&gt;Plex&lt;/a&gt;&lt;/span&gt;
              &lt;/span&gt;
      &lt;/div&gt;
</description>
  <pubDate>Sat, 23 May 2020 09:49:25 +0000</pubDate>
    <dc:creator>nigel</dc:creator>
    <guid isPermaLink="false">177 at http://badzilla.co.uk</guid>
    </item>
<item>
  <title>Raspberry Pi Music Box</title>
  <link>http://badzilla.co.uk/raspberry-pi-music-box</link>
  <description>
&lt;span&gt;Raspberry Pi Music Box&lt;/span&gt;

&lt;span&gt;&lt;span lang="" about="http://badzilla.co.uk/user/1" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;nigel&lt;/span&gt;&lt;/span&gt;

&lt;span&gt;Wed, 06/02/2019 - 10:45&lt;/span&gt;

      &lt;div class="field field--name-field-heading-image-text field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Introduction&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/DSC_2199-scaled.JPG?itok=Y_HJMKTb 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/DSC_2199-scaled.JPG?itok=CMspo0I2 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/DSC_2199-scaled.JPG?itok=tQFCS5wN 1000w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/DSC_2199-scaled.JPG?itok=Y_HJMKTb" alt="Complete solution" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;This bog provides a tutorial for building a Raspberry Pi music box which can be controlled using a hand held device through a web interface. Ideal for a bedroom where there is no desire to have a monitor / keyboard /mouse combination. The cornerstone of the build is the &lt;a href="http://www.runeaudio.com/"&gt;Rune Audio distro&lt;/a&gt; which supports FLAC, Vorbis and mp3 amongst other formats. I will be using a Raspberry Pi 3 Model B+ along with an IQAudIO Pi-DAC+ daughter board. &lt;/p&gt;

&lt;p&gt;There is fierce debate between the proponents of Rune Audio, MoOde Audio, and Volumio. I elected for Rune purely because there is a native Android app available, and my smartphone is a Samsung.  &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Bill of Materials&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/20190202_103647-scaled.jpg?itok=LZ6FxaYU 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/20190202_103647-scaled.jpg?itok=DB6o7TCI 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/20190202_103647-scaled.jpg?itok=K2rutFZL 1000w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/20190202_103647-scaled.jpg?itok=LZ6FxaYU" alt="Raspberry Pi" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/20190202_103757-scaled.jpg?itok=dZIBcP9c 244w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/20190202_103757-scaled.jpg?itok=TqIOul8l 488w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/20190202_103757-scaled.jpg?itok=kGEQ67wX 750w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/20190202_103757-scaled.jpg?itok=dZIBcP9c" alt="DAC" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/20190202_103907-scaled.jpg?itok=s_r0OCUA 244w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/20190202_103907-scaled.jpg?itok=uUzKTR5- 488w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/20190202_103907-scaled.jpg?itok=FbiqcJ5R 750w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/20190202_103907-scaled.jpg?itok=s_r0OCUA" alt="SD Card" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/20190202_104235-scaled.jpg?itok=q_uUdOAE 244w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/20190202_104235-scaled.jpg?itok=0ylAVTAG 488w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/20190202_104235-scaled.jpg?itok=WRlvhl6R 750w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/20190202_104235-scaled.jpg?itok=q_uUdOAE" alt="Power" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/pi-case.jpg?itok=Zs6czw21 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/pi-case.jpg?itok=o6LCXuJK 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/pi-case.jpg?itok=5oIoASJH 800w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/pi-case.jpg?itok=Zs6czw21" alt="Case" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/pdt-mhl-gigaworks_t40_series_II.jpg?itok=xZyPhSOb 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/pdt-mhl-gigaworks_t40_series_II.jpg?itok=nywdZ9ky 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/pdt-mhl-gigaworks_t40_series_II.jpg?itok=mC1odJAi 875w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/pdt-mhl-gigaworks_t40_series_II.jpg?itok=xZyPhSOb" alt="Speakers" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;table border="1" bordercolor="#FFCC00" cellpadding="3" cellspacing="3" style="background-color:#FFFF99" width="100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.amazon.co.uk/gp/product/B07BFH96M3/ref=as_li_tl?ie=UTF8&amp;camp=1634&amp;creative=6738&amp;creativeASIN=B07BFH96M3&amp;linkCode=as2&amp;tag=upcomingfilms-21&amp;linkId=b1d3ac6bdde3349f017cbc69d659d8e3"&gt;3BPLUS-R 1.4 GHz 1 GB RAM 64-Bit&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;£34.56&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DAC&lt;/td&gt;
&lt;td&gt;IQAudIO PI-DAC+&lt;/td&gt;
&lt;td&gt;£35.00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SD Card&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.amazon.co.uk/gp/product/B07C5MQCYM/ref=as_li_qf_asin_il_tl?ie=UTF8&amp;tag=upcomingfilms-21&amp;creative=6738&amp;linkCode=as2&amp;creativeASIN=B07C5MQCYM&amp;linkId=f675bbec3439457893e9fe718ac2ea66"&gt;LXSINO 32GB Micro SD Class 10&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;£7.99&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Power&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.amazon.co.uk/gp/product/B01CO1ELT8/ref=as_li_tl?ie=UTF8&amp;camp=1634&amp;creative=6738&amp;creativeASIN=B01CO1ELT8&amp;linkCode=as2&amp;tag=upcomingfilms-21&amp;linkId=3573c47a2062b46091ab88fd5ddc571f"&gt;Official 5V 2.5A Power Adapter for the Raspberry Pi 3&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;£7.99&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Case&lt;/td&gt;
&lt;td&gt;IQAudIO PI-CASE+&lt;/td&gt;
&lt;td&gt;£19.40&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Speakers&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.amazon.co.uk/gp/product/B001E5PJ56/ref=as_li_qf_asin_il_tl?ie=UTF8&amp;tag=upcomingfilms-21&amp;creative=6738&amp;linkCode=as2&amp;creativeASIN=B001E5PJ56&amp;linkId=71ad1b8e0e3adb9d9e4c78d600175179"&gt;Creative Gigaworks T40 Series II&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;£79.99&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td align="RIGHT"&gt;&lt;strong&gt;TOTAL&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;£184.93&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Of course I can't guarantee you'll get the same deals I got, but the pricing should at least be indicative. I already had the speakers I bought for a different project a few years ago that never saw the light of day, so that reduced my outlay to around £105 for this project. &lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Fit and test the DAC.&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/20190206_145604-scaled.jpg?itok=2BfvlsJM 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/20190206_145604-scaled.jpg?itok=MaWdZ3mU 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/20190206_145604-scaled.jpg?itok=hs0M1aKf 1000w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/20190206_145604-scaled.jpg?itok=2BfvlsJM" alt="Piggy Back" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Fitting the DAC to the Raspberry Pi is quite easy although there are instructions on the &lt;a href="http://www.iqaudio.com/downloads/"&gt;IQaudIO&lt;/a&gt; site. The DAC comes with some spacers and screws which align with the Pi's own. Since this is a quick sound test and I will be building the components into a proper case at some point, I only tightened the screws finger tight. &lt;/p&gt;

&lt;p&gt;Once this has been completed, it's time to test it works fine. IQaudIO provide downloadable bootable images that can be written to an SD disk and will automatically play mp3 files. The best file on their downloads page is IQ_0_quicktestDigi*.zip.&lt;/p&gt;

&lt;p&gt;Unfortunately the zip file was corrupted when I tried this. I reported this to their webmaster. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Build the Pi-CASE+&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/20190210_092212-scaled.jpg?itok=x5hG2iYb 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/20190210_092212-scaled.jpg?itok=g2x-vYrw 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/20190210_092212-scaled.jpg?itok=vNlRrfkq 1000w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/20190210_092212-scaled.jpg?itok=x5hG2iYb" alt="Pi-CASE+" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;I couldn't find any build instructions for the case, but it is fairly straightforward. The first point to note is there are some standoffs which should be screwed into the four Raspberry Pi screw holes on the corners of the PCB. The case comprises six perspex sides, and they are slotted to ensure there is only one way it can all fit together - so the second point is it is crucial to dry run this first before it is screwed together to ensure there is no attempt to situate any of the panels the wrong way around.&lt;/p&gt;

&lt;p&gt;The panels fit together very snuggly without any slack and comes with some small plastic feet to prevent it rubbing and sliding on the chosen surface. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Flash the Rune Audio distro&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2017.35.17.png?itok=uMBZ4nLB 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/Screenshot%202019-02-06%20at%2017.35.17.png?itok=6a-Ercen 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/Screenshot%202019-02-06%20at%2017.35.17.png?itok=WNU5k7qd 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2019-02/Screenshot%202019-02-06%20at%2017.35.17.png?itok=NnFRVqEq 1588w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2017.35.17.png?itok=uMBZ4nLB" alt="Etcher" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Time to download our chosen repo. This is a small inconvenience because Rune Audio do not have an official Raspberry Pi 3B+ image. However there is a workaround - a community member has created a rar file download that can be fetched from the &lt;a href="http://www.runeaudio.com/forum/rpi-3-b-t6393-10.html"&gt;Rune Audio forums&lt;/a&gt;.  &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;The file is in rar format so on a Mac you will need to install unrar
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ brew &lt;span style="color: #c20cb9; font-weight: bold;"&gt;install&lt;/span&gt; unrar
==&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; Pouring unrar-5.7.1.mojave.bottle.tar.gz
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;local&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Cellar&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;unrar&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;5.7.1: &lt;span style="color: #000000;"&gt;7&lt;/span&gt; files, 520.7KB&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Then we can run the unrar command
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ unrar e RuneAudio_0.4_20180629_SC_Pi3B_Plus_v3_tml3nr.rar 
 
UNRAR &lt;span style="color: #000000;"&gt;5.70&lt;/span&gt; beta &lt;span style="color: #000000;"&gt;1&lt;/span&gt; freeware      Copyright &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;c&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; &lt;span style="color: #000000;"&gt;1993&lt;/span&gt;-&lt;span style="color: #000000;"&gt;2019&lt;/span&gt; Alexander Roshal
 
 
Extracting from RuneAudio_0.4_20180629_SC_Pi3B_Plus_v3_tml3nr.rar
 
Extracting  RuneAudio_0.4_20180629_SC_Pi3B+_v3_tml3nr.img             OK 
All OK&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;To write the image to the SD card I use Etcher. This is a simple utility app although the command line can be used too with dd - not recommended for those with low experience. Once Etcher has completed it will provide a useful desktop notification. At that point the SD card is ready to be inserted into the Raspberry Pi. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Booting Rune Audio&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot_2019-02-06_at_17_58_33-edited.png?itok=bm80gJOJ 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/Screenshot_2019-02-06_at_17_58_33-edited.png?itok=N8w5JxVc 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/Screenshot_2019-02-06_at_17_58_33-edited.png?itok=nVpONhXg 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2019-02/Screenshot_2019-02-06_at_17_58_33-edited.png?itok=bx7fxnQz 2600w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot_2019-02-06_at_17_58_33-edited.png?itok=bm80gJOJ" alt="Boot" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;The Pi can be booted once a network cable has been attached. If all goes well, it should be possible to point a web browser at http://runeaudio.local (see screenshot above). We now have the genesis of a music box but it still needs configuring. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;MPD Configuration&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2019.26.34.png?itok=F_sBi50j 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/Screenshot%202019-02-06%20at%2019.26.34.png?itok=E8rRGTwm 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/Screenshot%202019-02-06%20at%2019.26.34.png?itok=Y-A2TzyN 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2019-02/Screenshot%202019-02-06%20at%2019.26.34.png?itok=OG9XYkRA 1462w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2019.26.34.png?itok=F_sBi50j" alt="MPD" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;There are a number of config screens to work through to get the system functioning correctly. Some of the changes will be specific to my circumstances so your mileage may vary. The MPD (Music Player Daemon) configuration needed one change - the need to select the IQaudIO audio output interface. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Settings configuration&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2019.30.10.png?itok=uT5_-X_e 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/Screenshot%202019-02-06%20at%2019.30.10.png?itok=RcP17p3G 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/Screenshot%202019-02-06%20at%2019.30.10.png?itok=ax6rsT_q 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2019-02/Screenshot%202019-02-06%20at%2019.30.10.png?itok=ocIM9V8K 1402w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2019.30.10.png?itok=uT5_-X_e" alt="Settings" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;This one in particular may not suit all my readers, but I want to use the Europe/London timezone. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Network settings&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2019.33.11.png?itok=Io_Rnksz 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/Screenshot%202019-02-06%20at%2019.33.11.png?itok=ydU38Pta 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/Screenshot%202019-02-06%20at%2019.33.11.png?itok=-lX_ZUoB 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2019-02/Screenshot%202019-02-06%20at%2019.33.11.png?itok=buqO36XD 1678w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2019.33.11.png?itok=Io_Rnksz" alt="Network" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2019.33.58.png?itok=9aL1Nzyh 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/Screenshot%202019-02-06%20at%2019.33.58.png?itok=VHHh8XWu 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/Screenshot%202019-02-06%20at%2019.33.58.png?itok=eiokKvW3 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2019-02/Screenshot%202019-02-06%20at%2019.33.58.png?itok=ZzwSSERp 1474w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2019.33.58.png?itok=9aL1Nzyh" alt="eth0" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;It makes sense to use a static IP address on your home network - so we can use a proxy in order for all devices to find their way to Rune. More of this later, but for now navigate to Network and you should see a sight similar to the first screenshot above. Click on eth0 and you will see the second screenshot. I have populated this form to use 192.168.0.204. My router has already been configured to assign DHCP addresses between 192.168.0.2-&gt;199. Anything 200 and above is reserved for my static IP address home servers. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Sources configuration&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2019.40.14.png?itok=vh-LJNeC 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/Screenshot%202019-02-06%20at%2019.40.14.png?itok=AsaIkCY5 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/Screenshot%202019-02-06%20at%2019.40.14.png?itok=Lsb6fdm_ 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2019-02/Screenshot%202019-02-06%20at%2019.40.14.png?itok=wHwtG758 1674w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2019.40.14.png?itok=vh-LJNeC" alt="Sources" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2020.41.01-edited.png?itok=nPC3bQBF 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/Screenshot%202019-02-06%20at%2020.41.01-edited.png?itok=QwF8X_dL 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/Screenshot%202019-02-06%20at%2020.41.01-edited.png?itok=ec-HD2vy 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2019-02/Screenshot%202019-02-06%20at%2020.41.01-edited.png?itok=Ou6QQABN 1484w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2020.41.01-edited.png?itok=nPC3bQBF" alt="Mount" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2020.19.04-edited.png?itok=CxKBa4xm 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/Screenshot%202019-02-06%20at%2020.19.04-edited.png?itok=WI4z6yG5 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/Screenshot%202019-02-06%20at%2020.19.04-edited.png?itok=4rT7AtLp 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2019-02/Screenshot%202019-02-06%20at%2020.19.04-edited.png?itok=H7iOZswu 1686w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2020.19.04-edited.png?itok=CxKBa4xm" alt="Updating" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;The final configuration activity is to make Rune Audio aware of where the audio files are stored, and in my case they are on an NFS drive on my NAS server. Go to the Sources page as per the first screenshot above and click on &lt;em&gt;Add New Mount&lt;/em&gt;. The form to complete for NFS mounts just wouldn't play ball at all, so in desperation I tried SMB/CIFS(OS X Share) and that worked - see the second screenshot. I called my source &lt;em&gt;flac&lt;/em&gt; since this share contains all my high fidelity rips. I then repeated the process by creating a mount for &lt;em&gt;mp3&lt;/em&gt; for my low definition audio. The third screenshot shows the two mounts listed, and I have instigated a rebuild of the library, and this is shown by the &lt;em&gt;updating&lt;/em&gt; spinner bottom left. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Playback&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2020.16.55.png?itok=FpT7Lbk5 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/Screenshot%202019-02-06%20at%2020.16.55.png?itok=RL3-kUoT 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/Screenshot%202019-02-06%20at%2020.16.55.png?itok=N3pSRzjt 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2019-02/Screenshot%202019-02-06%20at%2020.16.55.png?itok=RcsuCtrC 2600w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot%202019-02-06%20at%2020.16.55.png?itok=FpT7Lbk5" alt="Playback" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;As soon as the library has been underway for a short period of time and has added a few artists / albums, playback can be tested. I picked an album at random for my end to end test, and it played seamlessly. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Native Android App - Runeaudio Remote Control&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot_20190206-214520_RuneAudio.jpg?itok=hDkSbqbb 183w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2019-02/Screenshot_20190206-214520_RuneAudio.jpg?itok=WvHY_5d- 366w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2019-02/Screenshot_20190206-214520_RuneAudio.jpg?itok=_f49HEHl 731w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2019-02/Screenshot_20190206-214520_RuneAudio.jpg?itok=kmh-mEND 1080w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2019-02/Screenshot_20190206-214520_RuneAudio.jpg?itok=hDkSbqbb" alt="Native App" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;The native app scans the local network and automatically shows all the connected RuneAudio players, allowing you to control them from the same place. It also displays the RuneUI in a true full screen, with no browsers bars and weird scroll behaviours.The app uses the avahi protocol to scan the local network. It detects the connected RuneAudio players which expose the avahi service and lists them, showing also their IP and MAC addresses.&lt;/p&gt;

&lt;p&gt;The resulting UI is actually the same as a web browser but I found it immensely frustrating. My habit is to tap the built-in Samsung back key to navigate and that immediately drops me out of the app. Restarting the app requires the initial network discovery to be run again, and mine steadfastly refused to connect initially, but then suddenly appeared to figure out my network and was rock steady afterwards. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Resolving runeaudio.local - Desktop&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Rune Audio uses the Avahi protocol which theoretically means when added to a local network, pointing a browser to http://runeaudio.local should 'just work'. Whilst setting up Rune Audio I noticed this capability was very hit and miss. There are ways of getting a rock solid configuration - for a desktop the simple solution would be to add runeadio.local to the &lt;em&gt;/etc/hosts&lt;/em&gt; file. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;strong&gt;/etc/hosts&lt;/strong&gt;
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;192.168.0.204 runeaudio.local&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Obviously the IP address should be swapped with whichever you have used.&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Resolving runeaudio.local - Handheld Device&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Since /etc/hosts can't be edited on a handheld device such as a tablet or a smartphone, we need another solution. The workaround for this is to use a proxy server as per &lt;a href="http://badzilla.co.uk/raspberry-pi-squid-proxy-server-testing-hand-held-devices-when-developing-sandbox"&gt;my blog where I utilised another Raspberry Pi as a proxy.&lt;/a&gt; Firstly log into the proxy server and edit its /etc/hosts like the desktop so you will have an entry
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;192.168.0.204 runeaudio.local&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
The Squid proxy will then need a reboot. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; service squid3 restart&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
You will then have to ensure your handheld device is using the proxy for internet access. Screenshots for achieving this on an iPad and an Android phone are in my other blog just mentioned and are not duplicated here for brevity. Just click though if you need guidance.&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
      &lt;div class="field field--name-field-blog-youtube field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-text-youtube paragraph--view-mode--default"&gt;
          
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
  &lt;div class="field field--name-field-blog-terms field--type-entity-reference field--label-inline"&gt;
    &lt;div class="field--label"&gt;blog terms&lt;/div&gt;
          &lt;span class="field__items"&gt;
              &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/hardware" hreflang="en"&gt;Hardware&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/raspberrypi" hreflang="en"&gt;Raspberry Pi&lt;/a&gt;&lt;/span&gt;
              &lt;/span&gt;
      &lt;/div&gt;
</description>
  <pubDate>Wed, 06 Feb 2019 10:45:32 +0000</pubDate>
    <dc:creator>nigel</dc:creator>
    <guid isPermaLink="false">165 at http://badzilla.co.uk</guid>
    </item>
<item>
  <title>Ad Blocker using Squid Proxy on Raspberry Pi</title>
  <link>http://badzilla.co.uk/ad-blocker-using-squid-proxy-raspberry-pi</link>
  <description>
&lt;span&gt;Ad Blocker using Squid Proxy on Raspberry Pi&lt;/span&gt;

&lt;span&gt;&lt;span lang="" about="http://badzilla.co.uk/user/1" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;nigel&lt;/span&gt;&lt;/span&gt;

&lt;span&gt;Sun, 17/09/2017 - 16:33&lt;/span&gt;

      &lt;div class="field field--name-field-heading-image-text field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;As mentioned in my previous blog &lt;a href="http://badzilla.co.uk/raspberry-pi-squid-proxy-server-testing-hand-held-devices-when-developing-sandbox"&gt;Raspberry Pi with Squid Proxy Server for Testing Hand-Held Devices when Developing in a Sandbox&lt;/a&gt; it is possible (in fact quite usual) to use Squid to prevent user access to certain websites. This can include ad servers which serve up annoying ad content when trying to read articles. This tutorial shows how we can extend the functionality of the Squid server we have already set up to block ads.&lt;/p&gt;

&lt;p&gt;The banning of ad content is achieved by downloading a blacklist of prohibited urls from a service provider, although it has to be mentioned that these lists depend upon the community to contribute any urls they discover and thus there can never be 100% confidence that such a list is ever complete. &lt;/p&gt;

&lt;p&gt;Once the list is downloaded from the service provider, Squid needs to be informed of its presence in its configuration and the ban will take the form of an acl. Ok now we know what we need to achieve let's start the process.&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Lets log into the Raspberry Pi, switch to superuser, and download the blacklist. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;Nigels-MacBook-Pro:Projects nigel$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;ssh&lt;/span&gt; pi&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;192.168.0.201
pi&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;192.168.0.201s password: 
 
The programs included with the Debian GNU&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Linux system are &lt;span style="color: #c20cb9; font-weight: bold;"&gt;free&lt;/span&gt; software;
the exact distribution terms &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; each program are described &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; the
individual files &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;share&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;doc&lt;span style="color: #000000; font-weight: bold;"&gt;/*/&lt;/span&gt;copyright.
 
Debian GNU&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Sep &lt;span style="color: #000000;"&gt;10&lt;/span&gt; &lt;span style="color: #000000;"&gt;14&lt;/span&gt;:&lt;span style="color: #000000;"&gt;33&lt;/span&gt;:&lt;span style="color: #000000;"&gt;42&lt;/span&gt; &lt;span style="color: #000000;"&gt;2017&lt;/span&gt; from 192.168.0.7
pi&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:~ $ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;su&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;pi&lt;span style="color: #666666; font-style: italic;"&gt;# cd /etc/squid3/&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# ls -las&lt;/span&gt;
total &lt;span style="color: #000000;"&gt;832&lt;/span&gt;
  &lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxr-xr-x   &lt;span style="color: #000000;"&gt;2&lt;/span&gt; root root   &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Sep  &lt;span style="color: #000000;"&gt;9&lt;/span&gt; 08:&lt;span style="color: #000000;"&gt;44&lt;/span&gt; .
  &lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxr-xr-x &lt;span style="color: #000000;"&gt;112&lt;/span&gt; root root   &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Sep  &lt;span style="color: #000000;"&gt;9&lt;/span&gt; &lt;span style="color: #000000;"&gt;11&lt;/span&gt;:&lt;span style="color: #000000;"&gt;17&lt;/span&gt; ..
  &lt;span style="color: #000000;"&gt;4&lt;/span&gt; &lt;span style="color: #660033;"&gt;-rw-r--r--&lt;/span&gt;   &lt;span style="color: #000000;"&gt;1&lt;/span&gt; root root   &lt;span style="color: #000000;"&gt;1547&lt;/span&gt; Dec &lt;span style="color: #000000;"&gt;24&lt;/span&gt;  &lt;span style="color: #000000;"&gt;2016&lt;/span&gt; errorpage.css
  &lt;span style="color: #000000;"&gt;4&lt;/span&gt; &lt;span style="color: #660033;"&gt;-rw-r--r--&lt;/span&gt;   &lt;span style="color: #000000;"&gt;1&lt;/span&gt; root root    &lt;span style="color: #000000;"&gt;421&lt;/span&gt; Dec &lt;span style="color: #000000;"&gt;24&lt;/span&gt;  &lt;span style="color: #000000;"&gt;2016&lt;/span&gt; msntauth.conf
&lt;span style="color: #000000;"&gt;272&lt;/span&gt; &lt;span style="color: #660033;"&gt;-rw-r--r--&lt;/span&gt;   &lt;span style="color: #000000;"&gt;1&lt;/span&gt; root root &lt;span style="color: #000000;"&gt;277585&lt;/span&gt; Sep  &lt;span style="color: #000000;"&gt;9&lt;/span&gt; 08:&lt;span style="color: #000000;"&gt;44&lt;/span&gt; squid.conf
&lt;span style="color: #000000;"&gt;272&lt;/span&gt; &lt;span style="color: #660033;"&gt;-rw-r--r--&lt;/span&gt;   &lt;span style="color: #000000;"&gt;1&lt;/span&gt; root root &lt;span style="color: #000000;"&gt;277565&lt;/span&gt; Sep  &lt;span style="color: #000000;"&gt;3&lt;/span&gt; &lt;span style="color: #000000;"&gt;11&lt;/span&gt;:06 squid.conf.local-vm
&lt;span style="color: #000000;"&gt;272&lt;/span&gt; &lt;span style="color: #660033;"&gt;-rw-r--r--&lt;/span&gt;   &lt;span style="color: #000000;"&gt;1&lt;/span&gt; root root &lt;span style="color: #000000;"&gt;277526&lt;/span&gt; Sep  &lt;span style="color: #000000;"&gt;2&lt;/span&gt; &lt;span style="color: #000000;"&gt;19&lt;/span&gt;:&lt;span style="color: #000000;"&gt;22&lt;/span&gt; squid.conf.original
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# curl -sS -L --compressed "http://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&amp;showintro=0&amp;mimetype=plaintext" &gt; ad_block.txt &lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# ls -las&lt;/span&gt;
total &lt;span style="color: #000000;"&gt;872&lt;/span&gt;
  &lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxr-xr-x   &lt;span style="color: #000000;"&gt;2&lt;/span&gt; root root   &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Sep &lt;span style="color: #000000;"&gt;17&lt;/span&gt; &lt;span style="color: #000000;"&gt;15&lt;/span&gt;:&lt;span style="color: #000000;"&gt;20&lt;/span&gt; .
  &lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxr-xr-x &lt;span style="color: #000000;"&gt;112&lt;/span&gt; root root   &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Sep  &lt;span style="color: #000000;"&gt;9&lt;/span&gt; &lt;span style="color: #000000;"&gt;11&lt;/span&gt;:&lt;span style="color: #000000;"&gt;17&lt;/span&gt; ..
 &lt;span style="color: #000000;"&gt;40&lt;/span&gt; &lt;span style="color: #660033;"&gt;-rw-r--r--&lt;/span&gt;   &lt;span style="color: #000000;"&gt;1&lt;/span&gt; root root  &lt;span style="color: #000000;"&gt;40042&lt;/span&gt; Sep &lt;span style="color: #000000;"&gt;17&lt;/span&gt; &lt;span style="color: #000000;"&gt;15&lt;/span&gt;:&lt;span style="color: #000000;"&gt;20&lt;/span&gt; ad_block.txt
  &lt;span style="color: #000000;"&gt;4&lt;/span&gt; &lt;span style="color: #660033;"&gt;-rw-r--r--&lt;/span&gt;   &lt;span style="color: #000000;"&gt;1&lt;/span&gt; root root   &lt;span style="color: #000000;"&gt;1547&lt;/span&gt; Dec &lt;span style="color: #000000;"&gt;24&lt;/span&gt;  &lt;span style="color: #000000;"&gt;2016&lt;/span&gt; errorpage.css
  &lt;span style="color: #000000;"&gt;4&lt;/span&gt; &lt;span style="color: #660033;"&gt;-rw-r--r--&lt;/span&gt;   &lt;span style="color: #000000;"&gt;1&lt;/span&gt; root root    &lt;span style="color: #000000;"&gt;421&lt;/span&gt; Dec &lt;span style="color: #000000;"&gt;24&lt;/span&gt;  &lt;span style="color: #000000;"&gt;2016&lt;/span&gt; msntauth.conf
&lt;span style="color: #000000;"&gt;272&lt;/span&gt; &lt;span style="color: #660033;"&gt;-rw-r--r--&lt;/span&gt;   &lt;span style="color: #000000;"&gt;1&lt;/span&gt; root root &lt;span style="color: #000000;"&gt;277585&lt;/span&gt; Sep  &lt;span style="color: #000000;"&gt;9&lt;/span&gt; 08:&lt;span style="color: #000000;"&gt;44&lt;/span&gt; squid.conf
&lt;span style="color: #000000;"&gt;272&lt;/span&gt; &lt;span style="color: #660033;"&gt;-rw-r--r--&lt;/span&gt;   &lt;span style="color: #000000;"&gt;1&lt;/span&gt; root root &lt;span style="color: #000000;"&gt;277565&lt;/span&gt; Sep  &lt;span style="color: #000000;"&gt;3&lt;/span&gt; &lt;span style="color: #000000;"&gt;11&lt;/span&gt;:06 squid.conf.local-vm
&lt;span style="color: #000000;"&gt;272&lt;/span&gt; &lt;span style="color: #660033;"&gt;-rw-r--r--&lt;/span&gt;   &lt;span style="color: #000000;"&gt;1&lt;/span&gt; root root &lt;span style="color: #000000;"&gt;277526&lt;/span&gt; Sep  &lt;span style="color: #000000;"&gt;2&lt;/span&gt; &lt;span style="color: #000000;"&gt;19&lt;/span&gt;:&lt;span style="color: #000000;"&gt;22&lt;/span&gt; squid.conf.original
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;#&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;The blacklist is now in place - you can see it in the directory listing as file &lt;strong&gt;ad_block.txt&lt;/strong&gt;. The next job is to add this to the Squid configuration as an acl. This needs to be placed above the &lt;strong&gt;http_access allow all&lt;/strong&gt; line we put in the config in the previous blog. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666; font-style: italic;"&gt;## disable ads ( http://pgl.yoyo.org/adservers/ )&lt;/span&gt;
acl ads dstdom_regex &lt;span style="color: #ff0000;"&gt;"/etc/squid3/ad_block.txt"&lt;/span&gt;
http_access deny ads&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
You can use your favourite editor for this - I used vi - and then reboot the server. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# vi ad_block.txt &lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# service squid3 restart&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
We are now ready to test our solution by landing on an ad heavy website such as NME. There are two excellent methods of doing this - one is checking the &lt;strong&gt;access.log&lt;/strong&gt; in real time for &lt;strong&gt;TCP_DENIED&lt;/strong&gt; records, and the other is to eyeball the site and see if the ads really are missing. Let's go for option one first. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# tail -f /var/log/squid3/access.log&lt;/span&gt;
&lt;span style="color: #000000;"&gt;1505665437.619&lt;/span&gt;     &lt;span style="color: #000000;"&gt;38&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;630&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;pagead2.googlesyndication.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;activeview? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;216.58.208.130 image&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;gif
&lt;span style="color: #000000;"&gt;1505665440.152&lt;/span&gt;   &lt;span style="color: #000000;"&gt;3632&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;4009&lt;/span&gt; CONNECT bs.serving-sys.com:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;82.199.68.72 -
&lt;span style="color: #000000;"&gt;1505665449.828&lt;/span&gt;   &lt;span style="color: #000000;"&gt;8361&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;630&lt;/span&gt; CONNECT ml314.com:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;34.252.181.159 -
&lt;span style="color: #000000;"&gt;1505665452.178&lt;/span&gt;     &lt;span style="color: #000000;"&gt;78&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;204&lt;/span&gt; &lt;span style="color: #000000;"&gt;740&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;beacon.krxd.net&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;event.gif? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;54.228.222.160 image&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;gif
&lt;span style="color: #000000;"&gt;1505665491.360&lt;/span&gt;  &lt;span style="color: #000000;"&gt;69091&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;746&lt;/span&gt; CONNECT www.facebook.com:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;31.13.90.36 -
&lt;span style="color: #000000;"&gt;1505665493.069&lt;/span&gt;  &lt;span style="color: #000000;"&gt;65946&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;5038&lt;/span&gt; CONNECT match.adsrvr.org:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;54.247.91.116 -
&lt;span style="color: #000000;"&gt;1505665502.280&lt;/span&gt;  &lt;span style="color: #000000;"&gt;65538&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;5552&lt;/span&gt; CONNECT odr.mookie1.com:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;35.157.149.45 -
&lt;span style="color: #000000;"&gt;1505665519.263&lt;/span&gt;  &lt;span style="color: #000000;"&gt;91582&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;3318&lt;/span&gt; CONNECT bam.nr-data.net:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;162.247.242.21 -
&lt;span style="color: #000000;"&gt;1505665544.650&lt;/span&gt; &lt;span style="color: #000000;"&gt;120399&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;1227&lt;/span&gt; CONNECT session.timecommerce.net:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;54.192.2.48 -
&lt;span style="color: #000000;"&gt;1505665554.600&lt;/span&gt;      &lt;span style="color: #000000;"&gt;7&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;503&lt;/span&gt; &lt;span style="color: #000000;"&gt;4491&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;pagead2.googlesyndication.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;activeview? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665577.132&lt;/span&gt;      &lt;span style="color: #000000;"&gt;8&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3709&lt;/span&gt; CONNECT www.google-analytics.com:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665577.146&lt;/span&gt;      &lt;span style="color: #000000;"&gt;9&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3727&lt;/span&gt; CONNECT securepubads.g.doubleclick.net:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665577.357&lt;/span&gt;    &lt;span style="color: #000000;"&gt;200&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;27785&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;www.nme.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;54.230.11.205 text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665577.396&lt;/span&gt;    &lt;span style="color: #000000;"&gt;249&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;252&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;uid1.vindicosuite.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;e&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;35.186.160.37 text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;plain
&lt;span style="color: #000000;"&gt;1505665577.495&lt;/span&gt;      &lt;span style="color: #000000;"&gt;7&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;4577&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;pagead2.googlesyndication.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;activeview? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665577.567&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3727&lt;/span&gt; CONNECT securepubads.g.doubleclick.net:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665577.615&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3727&lt;/span&gt; CONNECT securepubads.g.doubleclick.net:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665577.748&lt;/span&gt;    &lt;span style="color: #000000;"&gt;337&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;364&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;www.summerhamster.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bcn? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;52.27.8.169 image&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;gif
&lt;span style="color: #000000;"&gt;1505665579.364&lt;/span&gt;     &lt;span style="color: #000000;"&gt;58&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;304&lt;/span&gt; &lt;span style="color: #000000;"&gt;446&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;dnn506yrbagrg.cloudfront.net&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;pages&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;scripts&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;0025&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;8842&lt;/span&gt;.js - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;54.230.11.179 -
&lt;span style="color: #000000;"&gt;1505665579.380&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3727&lt;/span&gt; CONNECT securepubads.g.doubleclick.net:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665579.669&lt;/span&gt;     &lt;span style="color: #000000;"&gt;69&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;576&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;mpp.vindicosuite.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bg&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;130.211.103.172 application&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;javascript
&lt;span style="color: #000000;"&gt;1505665579.676&lt;/span&gt;      &lt;span style="color: #000000;"&gt;4&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;4350&lt;/span&gt; POST http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;timeinc.demdex.net&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;event? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665579.761&lt;/span&gt;      &lt;span style="color: #000000;"&gt;3&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;4176&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;b.scorecardresearch.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;b? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665579.785&lt;/span&gt;     &lt;span style="color: #000000;"&gt;79&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;304&lt;/span&gt; &lt;span style="color: #000000;"&gt;341&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;img.en25.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;i&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;elqCfg.min.js - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;23.207.182.156 application&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;x-javascript
&lt;span style="color: #000000;"&gt;1505665579.794&lt;/span&gt;    &lt;span style="color: #000000;"&gt;197&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;8677&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;uid1.vindicosuite.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;js&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tm.js? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;35.186.160.37 application&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;x-javascript
&lt;span style="color: #000000;"&gt;1505665579.802&lt;/span&gt;     &lt;span style="color: #000000;"&gt;64&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;304&lt;/span&gt; &lt;span style="color: #000000;"&gt;577&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;cdn.optimizely.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;js&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;103816086&lt;/span&gt;.js - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;2.21.189.139 text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;javascript
&lt;span style="color: #000000;"&gt;1505665579.852&lt;/span&gt;      &lt;span style="color: #000000;"&gt;3&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;6207&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;as.casalemedia.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;cygnus? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665579.928&lt;/span&gt;     &lt;span style="color: #000000;"&gt;83&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;619&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;uconnect.tealiumiq.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ulog&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;_error? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;54.72.62.235 image&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;gif
&lt;span style="color: #000000;"&gt;1505665579.939&lt;/span&gt;      &lt;span style="color: #000000;"&gt;7&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;10853&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;timeinc.demdex.net&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;event? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665579.989&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3718&lt;/span&gt; CONNECT googleads.g.doubleclick.net:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665580.067&lt;/span&gt;      &lt;span style="color: #000000;"&gt;3&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;6209&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;as.casalemedia.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;cygnus? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665580.696&lt;/span&gt;      &lt;span style="color: #000000;"&gt;3&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3727&lt;/span&gt; CONNECT securepubads.g.doubleclick.net:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665580.728&lt;/span&gt;      &lt;span style="color: #000000;"&gt;3&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;4014&lt;/span&gt; POST http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;as.casalemedia.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;headerstats? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665580.756&lt;/span&gt;      &lt;span style="color: #000000;"&gt;3&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;4061&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;p.skimresources.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;px.gif? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665580.758&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;4061&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;p.skimresources.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;px.gif? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665580.763&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;4446&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;r.skimresources.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;api&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665580.829&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;4014&lt;/span&gt; POST http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;as.casalemedia.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;headerstats? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665581.101&lt;/span&gt;    &lt;span style="color: #000000;"&gt;222&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;413&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;s1642912926.t.eloqua.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;visitor&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;v200&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;svrGP? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;142.0.160.13 image&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;gif
&lt;span style="color: #000000;"&gt;1505665581.101&lt;/span&gt;    &lt;span style="color: #000000;"&gt;225&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;252&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;uid1.vindicosuite.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;e&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;35.186.160.37 text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;plain
&lt;span style="color: #000000;"&gt;1505665581.462&lt;/span&gt;     &lt;span style="color: #000000;"&gt;53&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;726&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;0914.global.ssl.fastly.net&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ad2&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;script&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;x.js? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;151.101.60.249 text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;javascript
&lt;span style="color: #000000;"&gt;1505665581.492&lt;/span&gt;     &lt;span style="color: #000000;"&gt;44&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;759&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;0914.global.ssl.fastly.net&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ad2&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;img&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;x.gif? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;151.101.60.249 image&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;gif
&lt;span style="color: #000000;"&gt;1505665581.496&lt;/span&gt;     &lt;span style="color: #000000;"&gt;43&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;759&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;0914.global.ssl.fastly.net&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ad2&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;img&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;x.gif? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;151.101.60.249 image&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;gif
&lt;span style="color: #000000;"&gt;1505665581.661&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3709&lt;/span&gt; CONNECT www.google-analytics.com:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665581.666&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3709&lt;/span&gt; CONNECT www.google-analytics.com:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665581.732&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3709&lt;/span&gt; CONNECT www.google-analytics.com:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665582.039&lt;/span&gt;    &lt;span style="color: #000000;"&gt;204&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;204&lt;/span&gt; &lt;span style="color: #000000;"&gt;657&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;gwiq.globalwebindex.net&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;gwiq&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;69.16.175.10 text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;javascript
&lt;span style="color: #000000;"&gt;1505665582.099&lt;/span&gt;     &lt;span style="color: #000000;"&gt;90&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;8775&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;ksassets.timeincuk.net&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;wp&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;uploads&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sites&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;55&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;2016&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;10&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;cropped-nme-site-icon-300x300.jpg - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;52.85.74.98 image&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;jpeg
&lt;span style="color: #000000;"&gt;1505665582.208&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;4197&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;b.scorecardresearch.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;b? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665582.230&lt;/span&gt;    &lt;span style="color: #000000;"&gt;114&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;304&lt;/span&gt; &lt;span style="color: #000000;"&gt;534&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;ksassets.timeincuk.net&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;wp&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;uploads&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sites&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;55&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;2016&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;10&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;cropped-nme-site-icon-300x300.jpg - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;52.85.74.98 -
&lt;span style="color: #000000;"&gt;1505665582.314&lt;/span&gt;    &lt;span style="color: #000000;"&gt;262&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;605&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;po.st&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;v1&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;status? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;74.217.253.90 application&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;javascript
&lt;span style="color: #000000;"&gt;1505665582.414&lt;/span&gt;     &lt;span style="color: #000000;"&gt;71&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;410&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;p.po.st&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;p? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;208.146.36.215 image&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;gif
&lt;span style="color: #000000;"&gt;1505665586.135&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3925&lt;/span&gt; POST http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;t.skimresources.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;api&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;link&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665592.588&lt;/span&gt;  &lt;span style="color: #000000;"&gt;13319&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;4157&lt;/span&gt; CONNECT c.disquscdn.com:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;104.16.77.166 -
&lt;span style="color: #000000;"&gt;1505665592.589&lt;/span&gt;  &lt;span style="color: #000000;"&gt;15014&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;154&lt;/span&gt; CONNECT cdn.shopify.com:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;151.101.62.110 -
&lt;span style="color: #000000;"&gt;1505665592.591&lt;/span&gt;  &lt;span style="color: #000000;"&gt;15018&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;154&lt;/span&gt; CONNECT cdn.shopify.com:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;151.101.62.110 -
&lt;span style="color: #000000;"&gt;1505665592.592&lt;/span&gt;  &lt;span style="color: #000000;"&gt;15460&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;213&lt;/span&gt; CONNECT csi.gstatic.com:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;216.58.201.163 -
&lt;span style="color: #000000;"&gt;1505665592.592&lt;/span&gt;  &lt;span style="color: #000000;"&gt;13326&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;3666&lt;/span&gt; CONNECT disqus.com:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;151.101.64.134 -
&lt;span style="color: #000000;"&gt;1505665601.000&lt;/span&gt;      &lt;span style="color: #000000;"&gt;4&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;6210&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;as.casalemedia.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;cygnus? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665601.173&lt;/span&gt;      &lt;span style="color: #000000;"&gt;4&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;4014&lt;/span&gt; POST http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;as.casalemedia.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;headerstats? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665601.173&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3727&lt;/span&gt; CONNECT securepubads.g.doubleclick.net:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665603.359&lt;/span&gt;      &lt;span style="color: #000000;"&gt;8&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3709&lt;/span&gt; CONNECT www.google-analytics.com:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665603.359&lt;/span&gt;      &lt;span style="color: #000000;"&gt;3&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3727&lt;/span&gt; CONNECT securepubads.g.doubleclick.net:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665603.557&lt;/span&gt;    &lt;span style="color: #000000;"&gt;150&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;27785&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;www.nme.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;54.230.11.205 text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665603.560&lt;/span&gt;    &lt;span style="color: #000000;"&gt;200&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;252&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;uid1.vindicosuite.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;e&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;35.186.160.37 text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;plain
&lt;span style="color: #000000;"&gt;1505665603.720&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3727&lt;/span&gt; CONNECT securepubads.g.doubleclick.net:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665603.889&lt;/span&gt;    &lt;span style="color: #000000;"&gt;173&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;364&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;www.summerhamster.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bcn? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;52.27.8.169 image&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;gif
&lt;span style="color: #000000;"&gt;1505665605.489&lt;/span&gt;     &lt;span style="color: #000000;"&gt;24&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;304&lt;/span&gt; &lt;span style="color: #000000;"&gt;446&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;dnn506yrbagrg.cloudfront.net&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;pages&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;scripts&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;0025&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;8842&lt;/span&gt;.js - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;54.230.11.179 -
&lt;span style="color: #000000;"&gt;1505665605.595&lt;/span&gt;     &lt;span style="color: #000000;"&gt;24&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;304&lt;/span&gt; &lt;span style="color: #000000;"&gt;341&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;img.en25.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;i&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;elqCfg.min.js - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;23.207.182.156 application&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;x-javascript
&lt;span style="color: #000000;"&gt;1505665605.601&lt;/span&gt;     &lt;span style="color: #000000;"&gt;34&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;576&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;mpp.vindicosuite.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bg&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;130.211.103.172 application&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;javascript
&lt;span style="color: #000000;"&gt;1505665605.615&lt;/span&gt;      &lt;span style="color: #000000;"&gt;3&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;4350&lt;/span&gt; POST http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;timeinc.demdex.net&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;event? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665605.620&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;4176&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;b.scorecardresearch.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;b? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665605.679&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3709&lt;/span&gt; CONNECT www.google-analytics.com:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665605.686&lt;/span&gt;      &lt;span style="color: #000000;"&gt;4&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;6207&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;as.casalemedia.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;cygnus? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665605.734&lt;/span&gt;      &lt;span style="color: #000000;"&gt;6&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;10875&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;timeinc.demdex.net&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;event? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665605.745&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3718&lt;/span&gt; CONNECT googleads.g.doubleclick.net:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665605.748&lt;/span&gt;    &lt;span style="color: #000000;"&gt;207&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;8677&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;uid1.vindicosuite.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;js&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tm.js? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;35.186.160.37 application&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;x-javascript
&lt;span style="color: #000000;"&gt;1505665605.776&lt;/span&gt;     &lt;span style="color: #000000;"&gt;38&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;619&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;uconnect.tealiumiq.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ulog&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;_error? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;54.72.62.235 image&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;gif
&lt;span style="color: #000000;"&gt;1505665605.882&lt;/span&gt;      &lt;span style="color: #000000;"&gt;3&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;4062&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;p.skimresources.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;px.gif? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665605.887&lt;/span&gt;      &lt;span style="color: #000000;"&gt;3&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;4062&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;p.skimresources.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;px.gif? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665605.892&lt;/span&gt;      &lt;span style="color: #000000;"&gt;3&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;4446&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;r.skimresources.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;api&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665605.998&lt;/span&gt;    &lt;span style="color: #000000;"&gt;111&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;413&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;s1642912926.t.eloqua.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;visitor&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;v200&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;svrGP? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;142.0.160.13 image&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;gif
&lt;span style="color: #000000;"&gt;1505665606.169&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3727&lt;/span&gt; CONNECT securepubads.g.doubleclick.net:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665606.175&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;4014&lt;/span&gt; POST http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;as.casalemedia.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;headerstats? - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665606.669&lt;/span&gt;    &lt;span style="color: #000000;"&gt;208&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;252&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;uid1.vindicosuite.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;e&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;35.186.160.37 text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;plain
&lt;span style="color: #000000;"&gt;1505665606.788&lt;/span&gt;     &lt;span style="color: #000000;"&gt;22&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;728&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;0914.global.ssl.fastly.net&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ad2&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;script&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;x.js? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;151.101.60.249 text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;javascript
&lt;span style="color: #000000;"&gt;1505665606.813&lt;/span&gt;     &lt;span style="color: #000000;"&gt;22&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;759&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;0914.global.ssl.fastly.net&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ad2&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;img&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;x.gif? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;151.101.60.249 image&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;gif
&lt;span style="color: #000000;"&gt;1505665606.817&lt;/span&gt;     &lt;span style="color: #000000;"&gt;24&lt;/span&gt; 192.168.0.4 TCP_MISS&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt; &lt;span style="color: #000000;"&gt;759&lt;/span&gt; GET http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;0914.global.ssl.fastly.net&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ad2&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;img&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;x.gif? - HIER_DIRECT&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;151.101.60.249 image&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;gif
&lt;span style="color: #000000;"&gt;1505665607.000&lt;/span&gt;      &lt;span style="color: #000000;"&gt;3&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3709&lt;/span&gt; CONNECT www.google-analytics.com:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
&lt;span style="color: #000000;"&gt;1505665607.003&lt;/span&gt;      &lt;span style="color: #000000;"&gt;2&lt;/span&gt; 192.168.0.4 TCP_DENIED&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;403&lt;/span&gt; &lt;span style="color: #000000;"&gt;3709&lt;/span&gt; CONNECT www.google-analytics.com:&lt;span style="color: #000000;"&gt;443&lt;/span&gt; - HIER_NONE&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;- text&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
^C
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Looks like there is a bunch of them! To check let's pipe the access file through cordcount looking for TCP_DENIED
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# cat /var/log/squid3/access.log | grep TCP_DENIED | wc&lt;/span&gt;
     &lt;span style="color: #000000;"&gt;44&lt;/span&gt;     &lt;span style="color: #000000;"&gt;440&lt;/span&gt;    &lt;span style="color: #000000;"&gt;5192&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;#&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
There we are - there have been 44 instances that have been blocked.&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Eyeball the Websites&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/Screenshot_2017-09-17-17-44-08.png?itok=3kh_x58c 183w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/Screenshot_2017-09-17-17-44-08.png?itok=9-tZgSVE 366w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/Screenshot_2017-09-17-17-44-08.png?itok=c9nHic4w 731w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2017-09/Screenshot_2017-09-17-17-44-08.png?itok=PtGEQAZF 1080w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/Screenshot_2017-09-17-17-44-08.png?itok=3kh_x58c" alt="NME" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;NME was totally successful - empty spaces in the screen where the blocked ads would've been seen. In this instance two ads have been blocked. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/Screenshot_2017-09-17-17-43-12.png?itok=5EzJrj3E 183w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/Screenshot_2017-09-17-17-43-12.png?itok=nhA6xyf8 366w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/Screenshot_2017-09-17-17-43-12.png?itok=IhyWlAlI 731w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2017-09/Screenshot_2017-09-17-17-43-12.png?itok=LwMOq94F 1080w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/Screenshot_2017-09-17-17-43-12.png?itok=5EzJrj3E" alt="Whipser" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;The native Android app Whisper was partially successful. The main ad shows a diagnostic that the ad failed to launch - I'm happy with that - but it failed to block the small ad at the bottom of the screen. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Automating the Fetching of the Blacklist&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;The list should be refreshed occasionally - like every week - in case there are new entries. The best way of achieving this is to put the earlier &lt;strong&gt;curl&lt;/strong&gt; command in a shell script and then add a cron entry. &lt;br /&gt;
&lt;strong&gt;/etc/squid3/newads.sh&lt;/strong&gt;
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666; font-style: italic;"&gt;#!/bin/bash&lt;/span&gt;
curl &lt;span style="color: #660033;"&gt;-sS&lt;/span&gt; &lt;span style="color: #660033;"&gt;-L&lt;/span&gt; &lt;span style="color: #660033;"&gt;--compressed&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;"http://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&amp;showintro=0&amp;mimetype=plaintext"&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ad_block.txt 
 
&lt;span style="color: #666666; font-style: italic;"&gt;## restart squid&lt;/span&gt;
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sbin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3 restart&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
And now ad an entry to the root crontab - I have elected to download the script once a week just into Sunday morning. &lt;br /&gt;
&lt;strong&gt;crontab -e&lt;/strong&gt;
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666; font-style: italic;"&gt;# Squid3 fetch ad blocker blacklist&lt;/span&gt;
&lt;span style="color: #000000;"&gt;5&lt;/span&gt; &lt;span style="color: #000000;"&gt;4&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt; &lt;span style="color: #000000;"&gt;1&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;newads.sh  &lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;null &lt;span style="color: #000000;"&gt;2&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&amp;&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
  &lt;div class="field field--name-field-blog-terms field--type-entity-reference field--label-inline"&gt;
    &lt;div class="field--label"&gt;blog terms&lt;/div&gt;
          &lt;span class="field__items"&gt;
              &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/squid" hreflang="en"&gt;Squid&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/raspberrypi" hreflang="en"&gt;Raspberry Pi&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/linux" hreflang="en"&gt;Linux&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/hardware" hreflang="en"&gt;Hardware&lt;/a&gt;&lt;/span&gt;
              &lt;/span&gt;
      &lt;/div&gt;
</description>
  <pubDate>Sun, 17 Sep 2017 15:33:40 +0000</pubDate>
    <dc:creator>nigel</dc:creator>
    <guid isPermaLink="false">25 at http://badzilla.co.uk</guid>
    </item>
<item>
  <title>Raspberry Pi with Squid Proxy Server for Testing Hand-Held Devices when Developing in a Sandbox</title>
  <link>http://badzilla.co.uk/raspberry-pi-squid-proxy-server-testing-hand-held-devices-when-developing-sandbox</link>
  <description>
&lt;span&gt;Raspberry Pi with Squid Proxy Server for Testing Hand-Held Devices when Developing in a Sandbox&lt;/span&gt;

&lt;span&gt;&lt;span lang="" about="http://badzilla.co.uk/user/1" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;nigel&lt;/span&gt;&lt;/span&gt;

&lt;span&gt;Sat, 09/09/2017 - 22:43&lt;/span&gt;

      &lt;div class="field field--name-field-heading-image-text field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/20170729_090241-scaled.jpg?itok=c13CCCIH 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/20170729_090241-scaled.jpg?itok=FC18opU- 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/20170729_090241-scaled.jpg?itok=J5eATDWu 1000w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/20170729_090241-scaled.jpg?itok=c13CCCIH" alt="Raspberry Pi and Keyboard" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;This blog shows you how to build a Squid proxy server on an inexpensive Raspberry Pi machine to help to test web application development in a local VM sandbox.&lt;/p&gt;

&lt;p&gt;So here's the problem. Say you are using a VirtualBox hosting Linux in a MacBook to develop your web application. This is practically an industry standard these days; certainly in the open source world anyway. You will have defined the IP address allocated to your VM in your &lt;strong&gt;/etc/hosts&lt;/strong&gt; along with the domain name you have chosen.&lt;/p&gt;

&lt;p&gt;You have elected a 'browser first' strategy for the markup, but how do you test your website against hand held devices? Option 1 is using the simulator in Chrome and other browsers which do a very good job of emulating most common devices, but they aren't perfect and frequently the results will differ between the simulator and the physical device. But since it isn't possible to edit the &lt;strong&gt;/etc/hosts&lt;/strong&gt; file in hand held devices, how do you point them to your arbitrarily named website domain? Well the second option is to use an external servicessuch as &lt;strong&gt;localtunnel&lt;/strong&gt; that can expose an IP address to the Internet - but a local service must be running constantly on the VM and firewalls have to be configured to allow incoming http requests which is not always desirable.&lt;/p&gt;

&lt;p&gt;There is a third way - use a proxy server to redirect the urls tapped into the hand held devices to the VM in your host machine (Mac / Windows or Linux). The easiest way to achieve this is to use &lt;strong&gt;Squid&lt;/strong&gt; - a mature and free proxy server used throughout the IT industry. It has immense capabilities - such as blacklisting genres of websites (e.g. porn / sex sites) so young family members aren't exposed to what they shouldn't be. But we really only need simple redirection.&lt;/p&gt;

&lt;p&gt;So my choice is &lt;strong&gt;Squid&lt;/strong&gt; which runs on Linux. Should I buy even more new hardware for my apartment? Or repurpose equipment from my hardware junkyard in the spare bedroom? Nope. I've always wanted a &lt;strong&gt;Raspberry Pi&lt;/strong&gt; to play with, and now I have an excuse to buy one!&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Bill of Materials&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;table border="1" bordercolor="#FFCC00" cellpadding="3" cellspacing="3" style="background-color:#FFFF99" width="100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Device&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.amazon.co.uk/gp/product/B01CD5VC92/ref=as_li_tl?ie=UTF8&amp;camp=1634&amp;creative=6738&amp;creativeASIN=B01CD5VC92&amp;linkCode=as2&amp;tag=upcomingfilms-21&amp;linkId=c99962502bfdde1e7041b22cd690b3fa" target="_blank"&gt;Raspberry Pi 3 Model B Quad Core CPU 1.2 GHz 1 GB RAM Motherboard&lt;/a&gt;&lt;img alt="" border="0" data-entity-type="" data-entity-uuid="" height="1" src="//ir-uk.amazon-adsystem.com/e/ir?t=upcomingfilms-21&amp;l=am2&amp;o=2&amp;a=B01CD5VC92" style="border:none !important; margin:0px !important;" width="1" /&gt;&lt;/td&gt;
&lt;td&gt;Amazon.co.uk&lt;/td&gt;
&lt;td&gt;£32.50&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SD Card&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.amazon.co.uk/gp/product/B010NE3QHQ/ref=as_li_tl?ie=UTF8&amp;tag=upcomingfilms-21&amp;camp=1634&amp;creative=6738&amp;linkCode=as2&amp;creativeASIN=B010NE3QHQ&amp;linkId=2b05d88f58835375c0c4b21cbf23c064" target="_blank"&gt;SanDisk Ultra 32 GB microSDHC Class 10 Memory Card up to 48 Mb/s - White/Grey&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Amazon.co.uk&lt;/td&gt;
&lt;td&gt;£13.50&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Box&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.amazon.co.uk/gp/product/B01F1PSFY6/ref=as_li_tl?ie=UTF8&amp;tag=upcomingfilms-21&amp;camp=1634&amp;creative=6738&amp;linkCode=as2&amp;creativeASIN=B01F1PSFY6&amp;linkId=762aa34fc3364f7961c2f7e1d1979b13" target="_blank"&gt;Raspberry Pi 3 Case - Black/Grey&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Amazon.co.uk&lt;/td&gt;
&lt;td&gt;£5.50&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Keyboard&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.amazon.co.uk/gp/product/B01M8HUQE7/ref=as_li_tl?ie=UTF8&amp;tag=upcomingfilms-21&amp;camp=1634&amp;creative=6738&amp;linkCode=as2&amp;creativeASIN=B01M8HUQE7&amp;linkId=4309a00a31cbe2c792ba61e63d32020e" target="_blank"&gt;Mofii Full-size Colorful Wired USB LED Backlit Gaming Keyboard for PC &amp; MAC - UK Layout&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Amazon.co.uk&lt;/td&gt;
&lt;td&gt;£12.99&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Power Cable&lt;/td&gt;
&lt;td&gt;2M / 6.5ft USB 2.0 A To MICRO B Cable Data and Charging Lead Cable - Black&lt;/td&gt;
&lt;td&gt;eBay.co.uk&lt;/td&gt;
&lt;td&gt;£1.65&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wall Plug&lt;/td&gt;
&lt;td&gt;DC5V 2A UK 3pin USB Charger Wall Plug Power Adapter&lt;/td&gt;
&lt;td&gt;eBay.co.uk&lt;/td&gt;
&lt;td&gt;£3.45&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mouse&lt;/td&gt;
&lt;td&gt;USB Mouse - spare&lt;/td&gt;
&lt;td&gt;n/a&lt;/td&gt;
&lt;td&gt;£-&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Network Cable&lt;/td&gt;
&lt;td&gt;RJ45 CAT5 cable - spare&lt;/td&gt;
&lt;td&gt;n/a&lt;/td&gt;
&lt;td&gt;£-&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td align="RIGHT"&gt;&lt;strong&gt;TOTAL&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;£68.80&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;So the total price was significantly less than buying a new desktop or laptop computer and obviously the USB keyboard can be reused on other projects. I could've reduced my exposure by sharing phone charging cables around my apartment rather than buy another one to be dedicated for the Raspberry Pi but I wanted a 5V 2A power supply so it made sense to spend a small amount of extra money.&lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Building the System&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;There are plenty of tutorials on the Internet for setting up the base Raspberry Pi operation system - so I won't duplicate it here, but please note you will need to install the Raspberry Pi version of Debian Linux (&lt;strong&gt;Raspbian&lt;/strong&gt;) on the SD card. &lt;/p&gt;
&lt;h3&gt;Here's a list of useful links:&lt;/h3&gt;
&lt;p&gt; &lt;a href="https://www.raspberrypi.org/learning/software-guide/quickstart/" target="_blank"&gt;Raspberry Pi Software Guide&lt;/a&gt;&lt;br /&gt;
 &lt;a href="http://www.macworld.co.uk/how-to/mac/how-to-set-up-raspberry-pi-3-with-mac-3637490/" target="_blank"&gt;How to set up and use a Raspberry Pi 3 with a Mac&lt;/a&gt;&lt;br /&gt;
 &lt;a href="https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md" target="_blank"&gt;SETTING WIFI UP VIA THE COMMAND LINE&lt;/a&gt; - Only needed if you are not going to use a static IP address through the LAN connection&lt;br /&gt;
 &lt;a href="http://www.instructables.com/id/Use-ssh-to-talk-with-your-Raspberry-Pi/" target="_blank"&gt;Use Ssh to Talk With Your Raspberry Pi.&lt;/a&gt;   &lt;/p&gt;
&lt;p&gt;Once your Raspberry Pi is set up and you are ready to go, you can either ssh into the machine (as I did) or connect to it using a keyboard and mouse. If you choose SSH, you will have to enable that service first - see the link above if you are unsure how to do this.&lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Update the distribution&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Always a good idea to update the box in case there are pending patches which weren't in the initial downloaded distribution. When I ran the commands below I got a welter of updates (which I've removed from the blow listing due to brevity reasons)
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;pi&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:~ $ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;apt-get update&lt;/span&gt;
pi&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:~ $ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;apt-get upgrade&lt;/span&gt;
pi&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:~ $ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;apt-get dist-upgrade&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Set a Static IP Address&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;The Raspberry Pi 3 does come with WifI so theoretically it is possible to set it up to have a DHCP dynamically assigned IP address. However that would be saving up problems should the IP address change due to rebooting or power interruptions. It would mean a whole load of settings would need to be changed in our system each time that happens. Most routers come with a built-in DHCP server and the range of IP addresses can be set - see below. I have already set my range to be 192.168.0.2 to 192.168.0.199 so anything 200 and above is reserved for devices that need a static address. &lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/Screen%20Shot%202017-09-02%20at%2011.12.20.png?itok=1kPwTZ-3 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/Screen%20Shot%202017-09-02%20at%2011.12.20.png?itok=xJbwD5Av 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/Screen%20Shot%202017-09-02%20at%2011.12.20.png?itok=B6ZPmrI8 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2017-09/Screen%20Shot%202017-09-02%20at%2011.12.20.png?itok=Xuhb6Cnm 1392w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/Screen%20Shot%202017-09-02%20at%2011.12.20.png?itok=1kPwTZ-3" alt="Router IP Range" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;I now start up the Raspberry Pi, connected to my LAN with a RJ45 cable, and it gets allocated a dynamic IP address by the DHCP server on my router. This can be checked through the router UI (see below) or by issuing &lt;em&gt;ifconfig&lt;/em&gt; when logged on to the Pi. &lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/PIIP.png?itok=OgTGJwqS 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/PIIP.png?itok=YscW2_4c 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/PIIP.png?itok=3XPbUqCn 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2017-09/PIIP.png?itok=VfRvutn1 1420w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/PIIP.png?itok=OgTGJwqS" alt="DHCP Allocated IP Address" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Become the super user and edit the /etc/dhcpcd.conf file with vi or nano. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;pi&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:~ $ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;su&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;pi&lt;span style="color: #666666; font-style: italic;"&gt;# cd /etc/&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #666666; font-style: italic;"&gt;# vi dhcpcd.conf&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now add the following text to the end of it. Note that I am just using the tail command to list the edits I have already made. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #666666; font-style: italic;"&gt;# tail -5 dhcpcd.conf&lt;/span&gt;
 
interface eth0
static &lt;span style="color: #007800;"&gt;ip_address&lt;/span&gt;=192.168.0.201&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;24&lt;/span&gt;        
static &lt;span style="color: #007800;"&gt;routers&lt;/span&gt;=192.168.0.1
static &lt;span style="color: #007800;"&gt;domain_name_servers&lt;/span&gt;=90.207.238.97
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #666666; font-style: italic;"&gt;# &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
You will need to change the values according to your circumstances. I am using &lt;strong&gt;201&lt;/strong&gt; for my Pi server, &lt;strong&gt;1&lt;/strong&gt; is my router and the domain name server setting is pointing to my ISP's DNS address. Now reboot the Pi.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #666666; font-style: italic;"&gt;# init 6&lt;/span&gt;
Connection to 192.168.0.12 closed by remote host.
Connection to 192.168.0.12 closed.&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Once the device has completed its startup sequence, go back to your router and check you've got an entry for your Pi - see screenshot below. My two servers can be seen highlighted - FreeNAS using &lt;strong&gt;200&lt;/strong&gt; and the Pi at &lt;strong&gt;201&lt;/strong&gt;. We are good to go!&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/PIIP2.png?itok=v48151Ev 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/PIIP2.png?itok=aduu_nWo 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/PIIP2.png?itok=mGuicyAw 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2017-09/PIIP2.png?itok=K6rdBwKZ 1384w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/PIIP2.png?itok=v48151Ev" alt="Static IP Address" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Install Squid&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Ok let's install Squid
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;pi&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:~ $ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;apt-get install&lt;/span&gt; squid3
Reading package lists... Done
Building dependency &lt;span style="color: #c20cb9; font-weight: bold;"&gt;tree&lt;/span&gt;       
Reading state information... Done
The following extra packages will be installed:
  libecap2 libmnl0 libnetfilter-conntrack3 squid-langpack squid3-common
Suggested packages:
  squidclient squid-cgi squid-purge smbclient ufw winbindd
The following NEW packages will be installed:
  libecap2 libmnl0 libnetfilter-conntrack3 squid-langpack squid3 squid3-common
&lt;span style="color: #000000;"&gt;0&lt;/span&gt; upgraded, &lt;span style="color: #000000;"&gt;6&lt;/span&gt; newly installed, &lt;span style="color: #000000;"&gt;0&lt;/span&gt; to remove and &lt;span style="color: #000000;"&gt;0&lt;/span&gt; not upgraded.
Need to get &lt;span style="color: #000000;"&gt;2&lt;/span&gt;,&lt;span style="color: #000000;"&gt;370&lt;/span&gt; kB of archives.
After this operation, &lt;span style="color: #000000;"&gt;8&lt;/span&gt;,&lt;span style="color: #000000;"&gt;372&lt;/span&gt; kB of additional disk space will be used.
Do you want to &lt;span style="color: #7a0874; font-weight: bold;"&gt;continue&lt;/span&gt;? &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;Y&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;n&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; Y
Get:&lt;span style="color: #000000;"&gt;1&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;mirrordirector.raspbian.org&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;raspbian&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; jessie&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;main libmnl0 armhf 1.0.3-&lt;span style="color: #000000;"&gt;5&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #000000;"&gt;10.9&lt;/span&gt; kB&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;
Get:&lt;span style="color: #000000;"&gt;2&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;mirrordirector.raspbian.org&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;raspbian&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; jessie&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;main libnetfilter-conntrack3 armhf 1.0.4-&lt;span style="color: #000000;"&gt;1&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #000000;"&gt;40.0&lt;/span&gt; kB&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;
Get:&lt;span style="color: #000000;"&gt;3&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;mirrordirector.raspbian.org&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;raspbian&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; jessie&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;main squid-langpack all &lt;span style="color: #000000;"&gt;20140506&lt;/span&gt;-&lt;span style="color: #000000;"&gt;1&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #000000;"&gt;150&lt;/span&gt; kB&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;
Get:&lt;span style="color: #000000;"&gt;4&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;mirrordirector.raspbian.org&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;raspbian&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; jessie&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;main libecap2 armhf 0.2.0-&lt;span style="color: #000000;"&gt;3&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #000000;"&gt;13.8&lt;/span&gt; kB&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;
Get:&lt;span style="color: #000000;"&gt;5&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;mirrordirector.raspbian.org&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;raspbian&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; jessie&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;main squid3-common all 3.4.8-&lt;span style="color: #000000;"&gt;6&lt;/span&gt;+deb8u4 &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #000000;"&gt;259&lt;/span&gt; kB&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;
Get:&lt;span style="color: #000000;"&gt;6&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;mirrordirector.raspbian.org&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;raspbian&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; jessie&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;main squid3 armhf 3.4.8-&lt;span style="color: #000000;"&gt;6&lt;/span&gt;+deb8u4 &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;,&lt;span style="color: #000000;"&gt;897&lt;/span&gt; kB&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;
Fetched &lt;span style="color: #000000;"&gt;2&lt;/span&gt;,&lt;span style="color: #000000;"&gt;370&lt;/span&gt; kB &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; 3s &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;634&lt;/span&gt; kB&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;s&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;   
Selecting previously unselected package libmnl0:armhf.
&lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;Reading database ... &lt;span style="color: #000000;"&gt;115447&lt;/span&gt; files and directories currently installed.&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
Preparing to unpack ...&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;libmnl0_1.0.3-&lt;span style="color: #000000;"&gt;5&lt;/span&gt;_armhf.deb ...
Unpacking libmnl0:armhf &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;1.0.3-&lt;span style="color: #000000;"&gt;5&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Selecting previously unselected package libnetfilter-conntrack3:armhf.
Preparing to unpack ...&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;libnetfilter-conntrack3_1.0.4-&lt;span style="color: #000000;"&gt;1&lt;/span&gt;_armhf.deb ...
Unpacking libnetfilter-conntrack3:armhf &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;1.0.4-&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Selecting previously unselected package squid-langpack.
Preparing to unpack ...&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid-langpack_20140506-&lt;span style="color: #000000;"&gt;1&lt;/span&gt;_all.deb ...
Unpacking squid-langpack &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;20140506&lt;/span&gt;-&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Selecting previously unselected package libecap2.
Preparing to unpack ...&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;libecap2_0.2.0-&lt;span style="color: #000000;"&gt;3&lt;/span&gt;_armhf.deb ...
Unpacking libecap2 &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;0.2.0-&lt;span style="color: #000000;"&gt;3&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Selecting previously unselected package squid3-common.
Preparing to unpack ...&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3-common_3.4.8-&lt;span style="color: #000000;"&gt;6&lt;/span&gt;+deb8u4_all.deb ...
Unpacking squid3-common &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;3.4.8-&lt;span style="color: #000000;"&gt;6&lt;/span&gt;+deb8u4&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Selecting previously unselected package squid3.
Preparing to unpack ...&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3_3.4.8-&lt;span style="color: #000000;"&gt;6&lt;/span&gt;+deb8u4_armhf.deb ...
Unpacking squid3 &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;3.4.8-&lt;span style="color: #000000;"&gt;6&lt;/span&gt;+deb8u4&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Processing triggers &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; man-db &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;2.7.5-&lt;span style="color: #000000;"&gt;1&lt;/span&gt;~bpo8+&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Processing triggers &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; systemd &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;215&lt;/span&gt;-&lt;span style="color: #000000;"&gt;17&lt;/span&gt;+deb8u7&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Setting up libmnl0:armhf &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;1.0.3-&lt;span style="color: #000000;"&gt;5&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Setting up libnetfilter-conntrack3:armhf &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;1.0.4-&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Setting up squid-langpack &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;20140506&lt;/span&gt;-&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Setting up libecap2 &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;0.2.0-&lt;span style="color: #000000;"&gt;3&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Setting up squid3-common &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;3.4.8-&lt;span style="color: #000000;"&gt;6&lt;/span&gt;+deb8u4&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Setting up squid3 &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;3.4.8-&lt;span style="color: #000000;"&gt;6&lt;/span&gt;+deb8u4&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Creating Squid HTTP proxy &lt;span style="color: #000000;"&gt;3&lt;/span&gt;.x spool directory structure
&lt;span style="color: #000000;"&gt;2017&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;07&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;30&lt;/span&gt; &lt;span style="color: #000000;"&gt;18&lt;/span&gt;:&lt;span style="color: #000000;"&gt;55&lt;/span&gt;:00 kid1&lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; Set Current Directory to &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;var&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;spool&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3
&lt;span style="color: #000000;"&gt;2017&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;07&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;30&lt;/span&gt; &lt;span style="color: #000000;"&gt;18&lt;/span&gt;:&lt;span style="color: #000000;"&gt;55&lt;/span&gt;:00 kid1&lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; Creating missing swap directories
&lt;span style="color: #000000;"&gt;2017&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;07&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;30&lt;/span&gt; &lt;span style="color: #000000;"&gt;18&lt;/span&gt;:&lt;span style="color: #000000;"&gt;55&lt;/span&gt;:00 kid1&lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; No cache_dir stores are configured.
Processing triggers &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; libc-bin &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;2.19&lt;/span&gt;-&lt;span style="color: #000000;"&gt;18&lt;/span&gt;+deb8u10&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Processing triggers &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; systemd &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;215&lt;/span&gt;-&lt;span style="color: #000000;"&gt;17&lt;/span&gt;+deb8u7&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
pi&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:~ $ &lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Configuring Squid&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;First change directory to the squid configuration Squid directory and save the original configuration file just in case it needs to revered sometime.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;root@raspberrypi:~# &lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;cd&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# cp squid.conf squid.conf.original&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;#&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
By default Squid doesn't allow any access to the Internet so that will need fixing. Like most ACL based systems, once Squid finds a rule that applies to a particular URL then it stops looking for more rules. So early in the config file you need to tell Squid to allow all HTTP traffic. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;http_access allow all&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
You will also need to tell Squid about your local network. I am using the 192.168.0.0 range of IP addresses - find that in the configuration and uncomment it
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;acl localnet src 192.168.0.0&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;16&lt;/span&gt;	&lt;span style="color: #666666; font-style: italic;"&gt;# RFC1918 possible internal network&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Finally we don't want any caching since we will be using our Squid mainly for redirection purposes and when recent website changes need to be seen for testing purposes, so add this at the caching section
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;cache deny all&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Below is a list of the changes in a form of a diff file which some may find more useful than the separate settings I've mentioned above. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# diff -Naur  squid.conf.original squid.conf&lt;/span&gt;
&lt;span style="color: #660033;"&gt;---&lt;/span&gt; squid.conf.original	&lt;span style="color: #000000;"&gt;2017&lt;/span&gt;-09-02 &lt;span style="color: #000000;"&gt;19&lt;/span&gt;:&lt;span style="color: #000000;"&gt;22&lt;/span&gt;:&lt;span style="color: #000000;"&gt;23.804970154&lt;/span&gt; +0000
+++ squid.conf	&lt;span style="color: #000000;"&gt;2017&lt;/span&gt;-09-03 &lt;span style="color: #000000;"&gt;10&lt;/span&gt;:&lt;span style="color: #000000;"&gt;41&lt;/span&gt;:&lt;span style="color: #000000;"&gt;48.190318779&lt;/span&gt; +0000
&lt;span style="color: #000000; font-weight: bold;"&gt;@@&lt;/span&gt; -&lt;span style="color: #000000;"&gt;1037&lt;/span&gt;,&lt;span style="color: #000000;"&gt;10&lt;/span&gt; +&lt;span style="color: #000000;"&gt;1037&lt;/span&gt;,&lt;span style="color: #000000;"&gt;11&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;@@&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;# should be allowed&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;#acl localnet src 10.0.0.0/8	# RFC1918 possible internal network&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;#acl localnet src 172.16.0.0/12	# RFC1918 possible internal network&lt;/span&gt;
&lt;span style="color: #666666;"&gt;-#&lt;/span&gt;acl localnet src 192.168.0.0&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;16&lt;/span&gt;	&lt;span style="color: #666666; font-style: italic;"&gt;# RFC1918 possible internal network&lt;/span&gt;
+acl localnet src 192.168.0.0&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;16&lt;/span&gt;	&lt;span style="color: #666666; font-style: italic;"&gt;# RFC1918 possible internal network&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;#acl localnet src fc00::/7       # RFC 4193 local private network range&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;#acl localnet src fe80::/10      # RFC 4291 link-local (directly plugged) machines&lt;/span&gt;
 
+
 acl SSL_ports port &lt;span style="color: #000000;"&gt;443&lt;/span&gt;
 acl Safe_ports port &lt;span style="color: #000000;"&gt;80&lt;/span&gt;		&lt;span style="color: #666666; font-style: italic;"&gt;# http&lt;/span&gt;
 acl Safe_ports port &lt;span style="color: #000000;"&gt;21&lt;/span&gt;		&lt;span style="color: #666666; font-style: italic;"&gt;# ftp&lt;/span&gt;
&lt;span style="color: #000000; font-weight: bold;"&gt;@@&lt;/span&gt; -&lt;span style="color: #000000;"&gt;1180&lt;/span&gt;,&lt;span style="color: #000000;"&gt;6&lt;/span&gt; +&lt;span style="color: #000000;"&gt;1181&lt;/span&gt;,&lt;span style="color: #000000;"&gt;7&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;@@&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;#Default:&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;# Deny, unless rules exist in squid.conf.&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;#&lt;/span&gt;
+http_access allow all
 
 &lt;span style="color: #666666; font-style: italic;"&gt;#&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;# Recommended minimum Access Permission configuration:&lt;/span&gt;
&lt;span style="color: #000000; font-weight: bold;"&gt;@@&lt;/span&gt; -&lt;span style="color: #000000;"&gt;2999&lt;/span&gt;,&lt;span style="color: #000000;"&gt;6&lt;/span&gt; +&lt;span style="color: #000000;"&gt;3001&lt;/span&gt;,&lt;span style="color: #000000;"&gt;9&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;@@&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;# DISK CACHE OPTIONS&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;# -----------------------------------------------------------------------------&lt;/span&gt;
 
+cache deny all
+
+
 &lt;span style="color: #666666; font-style: italic;"&gt;#  TAG: cache_replacement_policy&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;#	The cache replacement policy parameter determines which&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;#	objects are evicted (replaced) when disk space is needed.&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
We are now done with the configuration in the conf file so we can restart the Squid service so these changes take effect
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# service squid3 restart&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Won't be the worst idea to copy the configuration just for safety. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# cp squid.conf squid.conf.local-vm&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
You are now probably wondering how does Squid possibly know where my Virtual Hosts in my Virtual Machine are!! This is the simple bit :) - you need to add all those sites you are working on into the &lt;strong&gt;/etc/hosts&lt;/strong&gt; file on your Pi. You will already have these listed in your Macbook hosts file so simply copy and paste. My file ended up looking like this below:
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# cat /etc/hosts&lt;/span&gt;
127.0.0.1	localhost
::&lt;span style="color: #000000;"&gt;1&lt;/span&gt;		localhost ip6-localhost ip6-loopback
ff02::&lt;span style="color: #000000;"&gt;1&lt;/span&gt;		ip6-allnodes
ff02::&lt;span style="color: #000000;"&gt;2&lt;/span&gt;		ip6-allrouters
 
127.0.1.1	raspberrypi
 
192.168.0.14 badzilla-d8.localhost
192.168.0.14 meedjum.localhost
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;#&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt; 
The last two entries - badzilla-d8.localhost and meedjum.localhost are the two sites I am working on. The migration of Badzilla from D6 to D8. Yey!&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Handheld Device Client Configuration&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;We are now ready to test our solution, and for this I'll use screenshots from Android and iOS.&lt;/p&gt;
&lt;h3&gt;Android&lt;/h3&gt;
&lt;p&gt;Go to Settings-&gt;WiFi, then long tap on your network and tap 'Modify network config', then tap 'Show advanced options' and add the configuration for the proxy, then tap save.&lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/Screenshot_2017-09-09-13-04-04-blur.png?itok=XKO50cBU 183w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/Screenshot_2017-09-09-13-04-04-blur.png?itok=0vyAfyIa 366w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/Screenshot_2017-09-09-13-04-04-blur.png?itok=GzycG_g_ 731w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2017-09/Screenshot_2017-09-09-13-04-04-blur.png?itok=W_xJiC6v 1080w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/Screenshot_2017-09-09-13-04-04-blur.png?itok=XKO50cBU" alt="Android Proxy Settings" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Now point a web browser to your web development domain&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/Screenshot_2017-09-09-13-07-23.png?itok=9nnC0tbr 183w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/Screenshot_2017-09-09-13-07-23.png?itok=l-Syy2jG 366w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/Screenshot_2017-09-09-13-07-23.png?itok=oaJ9a9UY 731w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2017-09/Screenshot_2017-09-09-13-07-23.png?itok=Kj-mk4cT 1080w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/Screenshot_2017-09-09-13-07-23.png?itok=9nnC0tbr" alt="Android Website" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;h3&gt;iOS&lt;/h3&gt;
&lt;p&gt;Go to settings, tap on your WiFi, tap on the information icon, tap on 'Manual' under HTTP Proxy, and enter the values.&lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/IMG_0001-blur.PNG?itok=IRZi4N5E 244w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/IMG_0001-blur.PNG?itok=Hlw0iLcq 488w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/IMG_0001-blur.PNG?itok=llgbp1dt 975w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2017-09/IMG_0001-blur.PNG?itok=9Surfa4H 1536w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/IMG_0001-blur.PNG?itok=IRZi4N5E" alt="iOS Proxy Settings" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Now point a web browser to your web development domain - this is very early in the process as you can see. Somehow two seach boxes are on this early build!&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/IMG_0002.PNG?itok=Jb7EOkP9 244w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/IMG_0002.PNG?itok=E_syylef 488w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/IMG_0002.PNG?itok=4aZshtFb 975w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2017-09/IMG_0002.PNG?itok=9k2duuq5 1536w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/IMG_0002.PNG?itok=Jb7EOkP9" alt="iOS Website" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
  &lt;div class="field field--name-field-blog-terms field--type-entity-reference field--label-inline"&gt;
    &lt;div class="field--label"&gt;blog terms&lt;/div&gt;
          &lt;span class="field__items"&gt;
              &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/raspberrypi" hreflang="en"&gt;Raspberry Pi&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/squid" hreflang="en"&gt;Squid&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/linux" hreflang="en"&gt;Linux&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/drupal" hreflang="en"&gt;Drupal&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/development" hreflang="en"&gt;Development&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/virtualbox" hreflang="en"&gt;VirtualBox&lt;/a&gt;&lt;/span&gt;
              &lt;/span&gt;
      &lt;/div&gt;
</description>
  <pubDate>Sat, 09 Sep 2017 21:43:47 +0000</pubDate>
    <dc:creator>nigel</dc:creator>
    <guid isPermaLink="false">1 at http://badzilla.co.uk</guid>
    </item>

  </channel>
</rss>
