+ 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
    Location
    Birmingham
    Posts
    252
    Thank Post
    40
    Thanked 57 Times in 38 Posts
    Rep Power
    22

    Blocking keywords/phrases in squid

    Hello
    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).
    example:
    '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
    Thanks

  2. #2
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,122
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    30
    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 11:22 AM.

  3. #3

    Join Date
    May 2011
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Blocking sexy site throug key words

    how many keywords that i block sex or porn site through our acl in squid. pl help.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 7
    Last Post: 4th August 2008, 01:50 PM
  2. Classic Phrases
    By button_ripple in forum General Chat
    Replies: 93
    Last Post: 16th January 2008, 09:28 PM
  3. Squid Screwed
    By Gatt in forum Wireless Networks
    Replies: 11
    Last Post: 10th October 2006, 02:12 PM
  4. Squid beginner
    By nightowl in forum *nix
    Replies: 11
    Last Post: 19th June 2006, 08: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
  •