<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to InstallationGuide</title><link>https://sourceforge.net/p/icappfd/wiki/InstallationGuide/</link><description>Recent changes to InstallationGuide</description><atom:link href="https://sourceforge.net/p/icappfd/wiki/InstallationGuide/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 09 Dec 2013 13:19:16 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/icappfd/wiki/InstallationGuide/feed" rel="self" type="application/rss+xml"/><item><title>InstallationGuide modified by Menne Kamminga</title><link>https://sourceforge.net/p/icappfd/wiki/InstallationGuide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -9,9 +9,7 @@
 * a dansguardian phraselist. Download from: http://contentfilter.futuragts.com/phraselists/

 ######Install IcapPFD######
-First of all, download the latest version of IcapPFD from this website.
-
-[[download_button]]
+First of all, download the latest version of IcapPFD from this website. [[download_button]]

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Menne Kamminga</dc:creator><pubDate>Mon, 09 Dec 2013 13:19:16 -0000</pubDate><guid>https://sourceforge.net2fb863589f3881db760bb4137a9ced954493fb05</guid></item><item><title>InstallationGuide modified by Menne Kamminga</title><link>https://sourceforge.net/p/icappfd/wiki/InstallationGuide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -12,6 +12,8 @@
 First of all, download the latest version of IcapPFD from this website.

 [[download_button]]
+
+

 Now: execute the following command in you console:

@@ -61,7 +63,7 @@
     #To start icappfd
     icappfd

-    #To see if icappfd loaded: it should display a line like: icappfd: ICAP phrase filter daemon: PID:11780, version:0.2-1386412808, phrases:6511 duplicate words:2161.
+    #To see if icappfd loaded: it should display a line icappfd and a version nr.
     tail /var/log/messages

     #Reload squid
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Menne Kamminga</dc:creator><pubDate>Mon, 09 Dec 2013 13:18:46 -0000</pubDate><guid>https://sourceforge.net2a062994e334a28bb4a41599849496bff38fb723</guid></item><item><title>InstallationGuide modified by Menne Kamminga</title><link>https://sourceforge.net/p/icappfd/wiki/InstallationGuide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,4 +1,4 @@
-This is a quick installation guide for IcapPFD used with squid3
+This is a quick installation guide for IcapPFD to set up a web filtering proxy server.

 This guide is for system administrators / power users.

@@ -6,11 +6,14 @@
 * linux
 * squid3 (proxy software)
 * c++ compiler that supports c++11 (gcc)
-* a version of IcapPFD to install
+* a dansguardian phraselist. Download from: http://contentfilter.futuragts.com/phraselists/

 ######Install IcapPFD######
 First of all, download the latest version of IcapPFD from this website.
+
 [[download_button]]
+
+Now: execute the following command in you console:

     tar zxvf icappfd-0.2.tar.gz
     cd icappfd-0.2/build/
@@ -19,3 +22,54 @@
     make install

 Now there should be an icappfd executable in /usr/local/sbin and a icappfd.conf in /usr/local/etc/
+
+######Install phraselists######
+unzip and install the phraselist you downloaded using the following commands
+
+    mkdir /usr/local/etc/icappfd
+    cd /usr/local/etc/icappfd
+    unzip /where/ever/you/downloaded/the/phraselists/phraselistsoct23.zip
+    mv _current\ phraselists lists
+    mv lists/weightedphraselist.DG\ 2.9.x lists/weightedphraselist
+
+Edit the /usr/local/etc/icappfd.conf and change at the very least the .Include&lt;/pre&gt;&lt;pre&gt; statement to match where you installed the phraselist.
+
+######Setting up squid######
+Edit /etc/squid3/squid.conf and add the following lines:
+
+    #this replaces the Accept-Encoding header so icappf is sure to read the content.
+    request_header_access Accept-Encoding deny all
+    request_header_replace Accept-Encoding gzip
+    
+    #Acl's because it is only interesting to scan HTML/Text content:
+    acl htmlfiles rep_mime_type text/html
+    acl htmlfiles rep_mime_type application/json
+    acl htmlfiles rep_mime_type text/xml
+    
+    #Only scan normal traffic
+    acl normal_status http_status 200
+    
+    #Enable sending traffic trough the scanner:
+    icap_enable on
+    icap_service service_resp respmod_precache bypass=0 icap://127.0.0.1:1344/response
+    adaptation_access service_resp allow htmlfiles normal_status
+
+
+######Finishing up######
+To finish up issue the following commands:
+
+    #To start icappfd
+    icappfd
+    
+    #To see if icappfd loaded: it should display a line like: icappfd: ICAP phrase filter daemon: PID:11780, version:0.2-1386412808, phrases:6511 duplicate words:2161.
+    tail /var/log/messages
+    
+    #Reload squid
+    service squid3 reload
+    
+    #extra: to reload icappfd:
+    killall -HUP icappfd
+    
+
+
+    
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Menne Kamminga</dc:creator><pubDate>Mon, 09 Dec 2013 13:17:57 -0000</pubDate><guid>https://sourceforge.net60ee374451d6ec32ee6c1ad45b91e94bbc76aa42</guid></item><item><title>InstallationGuide modified by Menne Kamminga</title><link>https://sourceforge.net/p/icappfd/wiki/InstallationGuide/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This is a quick installation guide for IcapPFD used with squid3&lt;/p&gt;
&lt;p&gt;This guide is for system administrators / power users.&lt;/p&gt;
&lt;h6 id="requirements"&gt;Requirements&lt;/h6&gt;
&lt;ul&gt;
&lt;li&gt;linux&lt;/li&gt;
&lt;li&gt;squid3 (proxy software)&lt;/li&gt;
&lt;li&gt;c++ compiler that supports c++11 (gcc)&lt;/li&gt;
&lt;li&gt;a version of IcapPFD to install&lt;/li&gt;
&lt;/ul&gt;
&lt;h6 id="install-icappfd"&gt;Install IcapPFD&lt;/h6&gt;
&lt;p&gt;First of all, download the latest version of IcapPFD from this website.&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;span class="download-button-528f645eb9363c64ba4d5540" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;tar&lt;/span&gt; &lt;span class="n"&gt;zxvf&lt;/span&gt; &lt;span class="n"&gt;icappfd&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;0.2&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tar&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;gz&lt;/span&gt;
&lt;span class="n"&gt;cd&lt;/span&gt; &lt;span class="n"&gt;icappfd&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;0.2&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;build&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;
&lt;span class="n"&gt;cmake&lt;/span&gt; &lt;span class="p"&gt;..&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;
&lt;span class="n"&gt;make&lt;/span&gt;
&lt;span class="n"&gt;make&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Now there should be an icappfd executable in /usr/local/sbin and a icappfd.conf in /usr/local/etc/&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Menne Kamminga</dc:creator><pubDate>Mon, 09 Dec 2013 12:52:50 -0000</pubDate><guid>https://sourceforge.net003bc7f8519a8e6715b33ef35ca89f1441debd76</guid></item></channel></rss>