*nix Thread, Blocking keywords/phrases in squid in Technical; Hello
I'm trying to get squid/Squidguard to block sites and searches based on keywords and/or phrases. Up to now i've ...
16th October 2008, 12:05 PM #1
Blocking keywords/phrases in squid
I'm trying to get squid/Squidguard to block sites and searches based on keywords and/or phrases. Up to now i've been putting full sites into Squidguard's lbl file and this has worked fine but i'm thinking it might be better to try and do some blocking based on keywords.
If i add single words to the block.url file in /etc/squid then they are blocked fine but it won't work when i try and put in several words (from a google search).
'bloons' = blocked
'bloons+game' = not blocked
'bloons game' = blocked
How can i get it to block things which have special characters in?
Any advice would be appreciated
16th October 2008, 12:17 PM #2
Easiest thing todo is use something like webmin, and install the squidguard plugin module, from there you get a GUI of sorts to block works including help files within the module
Webmin && niemueller.de - webmin modules - SquidGuard Configuration
I use DG so not familiar with SG, however same principles, DG has better regex's for controlling banned words.
<proxy> is blanket block, where <proxy > isnt. Attached is a txt file with the configuration we use, which in turn DG took from SG
Last edited by ahuxham; 16th October 2008 at 12:22 PM.
12th May 2011, 11:36 AM #3
- Rep Power
Blocking sexy site throug key words
how many keywords that i block sex or porn site through our acl in squid. pl help.
Last Post: 4th August 2008, 02:50 PM
By button_ripple in forum General Chat
Last Post: 16th January 2008, 10:28 PM
By Gatt in forum Wireless Networks
Last Post: 10th October 2006, 03:12 PM
By nightowl in forum *nix
Last Post: 19th June 2006, 09:20 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)