Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 23 November 2024, 08:58:13 am

Login with username, password and session length

Get the new Updates directly from Endian  HERE
14258 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  include banned word
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: include banned word  (Read 14846 times)
grupotecnologia
Jr. Member
*
Offline Offline

Posts: 8


« on: Wednesday 17 June 2009, 10:43:54 am »

who i include in banned word "messenger" i have endian 2.2. final release
Logged
Steve
Sr. Member
****
Offline Offline

Posts: 108



WWW
« Reply #1 on: Wednesday 17 June 2009, 02:08:34 pm »

You can use the Content Filter to ban sites that contain words of your choice.
You can use the existing content filter phrase filters or create your own.
Here is how to create your own.


Create a folder called MyFilter
Create a text file called weighted using the following format and place it inside the MyFilter folder you created.

#My List
<badword><160>
<anotherbadword><160>
<yetanotherbadword><160>


Replace the first part (badword) with the word you want to ban, replace the second part (160) with the weight you want this word to have.
(Have a look at  Max. score for phrases (50-300) to get an idea here: Proxy => HTTP => Content filter)

Now place your MyFilter folder in /etc/dansguardian/phraselists (you will see a lot of other folders here)


First you need to activate your content filter,
then go to Proxy => HTTP => Content filter and click on  Uncategorized  - You will now see your MyFilter filter.
Activate the MyFilter filter and save.

You can even create your own category for your filter if you edit the categories file in  /etc/dansguardian/phraselists
This should give you an idea on where to start.
Smiley




Logged

                          
gyp_the_cat
Full Member
***
Offline Offline

Posts: 81



WWW
« Reply #2 on: Thursday 25 June 2009, 11:54:52 pm »

If you're trying to block Googlemail chat you'll probably need the following sites denied too:

Quote
chatenabled.mail.google.com
mail.google.com/mail/im/
mail.google.com/mail/channel/
talk.google.com
www.google.com/talk

If you mean MSN messenger, the easiest way was to add a MIME type of x-msn-messenger and block it, not sure with "Live Messenger" though.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.078 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com