Welcome, Guest. Please login or register.
Did you miss your activation email?
Friday 27 December 2024, 11:23:57 pm

Login with username, password and session length

Get the new Updates directly from Endian  HERE
14262 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  EFW SMTP, HTTP, SIP, FTP Proxy Support
| | |-+  How to add words to block sites?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: How to add words to block sites?  (Read 18132 times)
Dirk
Jr. Member
*
Offline Offline

Posts: 6



« on: Tuesday 19 November 2013, 07:13:16 pm »

Hello,

I reinstalled Endian 2.5

-- I enabled content filtering based on the words (phrases).
-- The proxy is set in a manner NOT transparent.
-- By activating certain categories everything works perfectly.

But how can I add new words / phrases to block certain sites?
Which file should I change?
If I wanted to block sites  poker how should I do?
Please give me some help.
Thank you.
Logged
dda
Sr. Member
****
Offline Offline

Posts: 227


« Reply #1 on: Wednesday 20 November 2013, 02:24:40 am »

Did you turn on the games and gambling filter?  Also if there is a particular site you can blacklist it.
Logged
anderberin
Jr. Member
*
Offline Offline

Posts: 1


« Reply #2 on: Thursday 30 January 2014, 12:57:36 am »

I do it with the command line...

Go to the directory "/var/signatures/dansguardian/blacklists":
Code:
cd /var/signatures/dansguardian/blacklists

Create a new sub dir and change to it: ("mycustom" in my example)
Code:
mkdir mycustom
cd mycustom

With nano editor (or other) create a file with the name "expressions"
Code:
nano expressions

write yours words (Regular Expressions) one by line

Open the web interface.
Go to "Proxy" -> "ContentFilter" -> and edit your profile
Select "Filter pages known to have content of the following categories. (URL Blacklist)"
Expand the "Uncategorized" section.
the option "mycustom" shoud appear (the name of the dir created)
select it and save

Tested with 2.5.1 and 2.5.2 versions

don't work with 3.0 version :-(

If you don't want to use de command line interface, you can use de WinSCP software for create and edit files on your Endian Firewall . (you must enable de SSH service). And use a editor like Notepad++ to edit the linux files from endian.

Sorry by my poor english...
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

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