EFW Support

Support => EFW SMTP, HTTP, SIP, FTP Proxy Support => Topic started by: rroginela on Tuesday 19 January 2010, 05:34:57 am



Title: Content Filter is not working at all!
Post by: rroginela on Tuesday 19 January 2010, 05:34:57 am
Hi,

Setup a 2.3 Community box today and configured some content filtering unfortunately the only limit that is applied is weight phrase limit. Here is some specifics of my setup:

1. Proxy set to non-transparent
2. Server getting groups for auth from ADS successfully
3. Setup multiple profiles and policies to match my groups.
4. Everything looks great and seems like it is working
5. But unless I go to some truly obscene site (porntube.com... etc) I go right through even though all categories are checked to be disallowed I can go anywhere I please.

So unless a site has a naughty word you can browse all day long wherever you like.

Any help would be appreciated.

Rafal


Title: Re: Content Filter is not working at all!
Post by: steven on Tuesday 26 January 2010, 04:36:25 am
I am having the same problem, I see there is a confirmed bug regarding a problem with blacklisted sites not being blocked, see below for more information.


http://bugs.endian.com/view.php?id=2300


The problem is that when they add the option to custom whitelists and blacklists, they broke the non-custom blacklists.

The solution could be to edit the /usr/local/bin/restartdansguardian.py and change the lines 308 and 319:

Line 308: exceptionsitefile = open("/etc/dansguardian/profiles/%s/exceptionsitelist" % number, "w")
Line 319: bannedsitefile = open("/etc/dansguardian/profiles/%s/bannedsitelist" % number, "w")

Change the "w" to "a". That will append custom site lists instead of overwriting them.


Title: Re: Content Filter is not working at all!
Post by: sephiroth_4 on Sunday 21 February 2010, 07:44:23 am
did you ever solve this?