+ Post New Thread
Results 1 to 3 of 3
*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 ...
  1. #1
    bmdixon's Avatar
    Join Date
    Apr 2008
    Thank Post
    Thanked 58 Times in 39 Posts
    Rep Power

    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

  2. #2
    ahuxham's Avatar
    Join Date
    Apr 2008
    Thank Post
    Thanked 138 Times in 109 Posts
    Rep Power
    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
    Attached Files Attached Files
    Last edited by ahuxham; 16th October 2008 at 12:22 PM.

  3. #3

    Join Date
    May 2011
    Thank Post
    Thanked 0 Times in 0 Posts
    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.

+ Post New Thread

Similar Threads

  1. Replies: 7
    Last Post: 4th August 2008, 02:50 PM
  2. Classic Phrases
    By button_ripple in forum General Chat
    Replies: 93
    Last Post: 16th January 2008, 10:28 PM
  3. Squid Screwed
    By Gatt in forum Wireless Networks
    Replies: 11
    Last Post: 10th October 2006, 03:12 PM
  4. Squid beginner
    By nightowl in forum *nix
    Replies: 11
    Last Post: 19th June 2006, 09:20 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts