Firewall Project

This is Not Just another WordPress.com site :)

Adding content filtering functionality to IpCop

leave a comment »

To add content filtering functionality to IpCop you need to add Cop+ addon. Cop+ is a Dansguardian add-on for the IPCop firewall. You may choose other, but this one works pretty well. More info about Cop+ http://home.earthlink.net/~copplus/

Starting with instalation to IpCop box.

SSH in IpCop box and copy “copplusaddon-3.1.0.tgz” to root, download it at link above.

Extract package on your host pc, then ssh in ipcop, after that browse to “var/ipcop/” and copy copplus folder (which you get by extracting the downloaded archive) to ipcop box.

After that ssh in ipcop box and copy copplusaddon-3.1.0.tgz to root. Then extract and run setup.

# tar -xzvf copplusaddon-3.1.0.tgz

# cd var/ipcop/copplus/

# ./copplussetup

# logout

After that in ipcop panel should appear

 

 

 

After that you can proceed to configuring, its already predefined filters included, so if you want to ad some special phareses or domains, IP and so on, to be block, then you can do it by clicking on Blacklist edit and add some keywords that will be blocked. More about whats black, white and grey lists you can read when you click edit button.

 

 

 

 

 

In example we entered Facebook.com in black list so client cant access it. So when client will try to enter site, he will get message like this

 

 

 

 

You can check in logs about statistics of content blocking, in main page of content filtering choose DansGuardian Logs. For instance you want to see summary of denied requests, you click Denied and Run report.

 

 

 

 

 

This window will pop up and there you can see statistics of denied pages. You can see that google.com is on a block list, it is because client was requesting inappropriate search query that was blocked.

 

 

 

 

 

 

 

Then you click Trace and you can see who was who requested the page that was blocked.

Written by zigurds

March 11, 2011 at 22:29

Posted in Progress & Tasks

Leave a comment