Endian Bugtracker
Endian Issue Tracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002300 [Endian Firewall] Proxy HTTP minor have not tried 2009-10-27 20:50 2010-04-13 21:27
Reporter Renee View Status public  
Assigned To simon
Priority normal Resolution reopened  
Status feedback   Product Version 2.3
Summary 0002300: Content Filter does not work
Description The content filter does not work the dansguardian starts but the blacklists have no effect.
Additional Information
Tags No tags attached.
Attached Files jpg file icon workdone.JPG [^] (145,848 bytes) 2009-10-30 04:06

- Relationships
related to 0002299closedRenee Havp won´t start 

-  Notes
(0003177)
Renee (reporter)
2009-10-29 17:27

I search for the error but I found nothing the blacklists exist in /etc/dansguardian/blacklists but dansguardian ignores the blacklists largely and allows to pass itself sides although they blacklistet are and also to block are marked.
(0003179)
simon (developer)
2009-10-29 17:42

did you create a contentfilter profile and did you create an access policy which uses that contentfilter profile for filter profile.

also check if you have an access rule with higher priority which allows the access.

to test it is best to have only one access rule which uses the contentfilter profile (you could disable all other rules to test)
(0003180)
peter (administrator)
2009-10-29 17:53

so this can also be closed?
(0003184)
Renee (reporter)
2009-10-29 18:29
edited on: 2009-10-29 19:19

No it can not closed, yes a have used the standart contentfilter profile and I used the the Standart access policy with filter using 'content1 and no other access rules exist I used the same configuration as with 2.3 Rc1 and there it has functioned.The filter seems to be work but not correctly at example at www.heise.de I have an Input from the blacklist but even not all and at www.computerbase.de it show all the ads from sites although they blacklistet.

//edit/ Can this be the Dansguardian simply the Ips any more cannot determine because sees just most Domains stand as an Ip address in the Blacklist?

@Peter this problem also exists after a new installation where no backup I was played in specially everything has made new once more.

I have tested it again the user-defined black and whitelist works but there it also does not seem to be taken over with the first one sometimes.But the Blacklisten do not function at all, for example, cracks.am stands in the Spyware Blacklist also on block, however, it was put I can access, nevertheless, easily the side.

(0003200)
Renee (reporter)
2009-10-30 22:32
edited on: 2009-10-30 23:55

I found the problem the url blacklists works but dansguardian ignores the domain blacklists and this is a very big problem.

/edit/ I found the problem the endian config write the blacklist url entries to /etc/dansguardian/profiles/1/bannedurllist but not the domains entries to /etc/dansguardian/profiles/1/bannedsitelist this file was empty I wrote my entries manually to the file now works the blacklisting.
The config also del by hand provided entries from bannedsitelist again as soon as a change in the profile I am made the problem has avoided first while I have changed the path for bannedsitelist in the conf files.

(0003226)
mrkroket (reporter)
2009-11-03 18:21

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.
(0003257)
arcanos (reporter)
2009-11-05 17:41

I've just confirmed this bug. With a 2.3 new installation non-custom blacklist don't work.

Solution commented by mrkroket works.
(0003407)
simon (developer)
2009-11-26 19:23

now custom blacklist does not overwrite the entries of bannedsitelist anymore

- Issue History
Date Modified Username Field Change
2009-10-27 20:50 Renee New Issue
2009-10-29 17:27 Renee Note Added: 0003177
2009-10-29 17:42 simon Note Added: 0003179
2009-10-29 17:53 peter Relationship added related to 0002299
2009-10-29 17:53 peter Note Added: 0003180
2009-10-29 17:53 peter Status new => feedback
2009-10-29 18:29 Renee Note Added: 0003184
2009-10-29 18:36 Renee Note Edited: 0003184
2009-10-29 18:50 Renee Note Edited: 0003184
2009-10-29 19:19 Renee Note Edited: 0003184
2009-10-30 04:06 vaohama File Added: workdone.JPG
2009-10-30 22:32 Renee Note Added: 0003200
2009-10-30 22:32 Renee Note Edited: 0003200
2009-10-30 23:30 Renee Note Edited: 0003200
2009-10-30 23:55 Renee Note Edited: 0003200
2009-11-03 18:21 mrkroket Note Added: 0003226
2009-11-05 17:41 arcanos Note Added: 0003257
2009-11-05 23:55 peter Status feedback => new
2009-11-05 23:55 peter Assigned To => simon
2009-11-05 23:56 peter Status new => assigned
2009-11-25 01:29 davvidde Issue Monitored: davvidde
2009-11-25 10:03 christian Relationship added child of 0002435
2009-11-25 18:36 peter Target Version => 2.3.1
2009-11-26 17:50 simon Relationship added related to 0002248
2009-11-26 17:50 simon Relationship added related to 0002419
2009-11-26 17:51 simon Relationship added related to 0002397
2009-11-26 17:51 simon Relationship added related to 0002404
2009-11-26 17:52 simon Relationship deleted related to 0002248
2009-11-26 17:52 simon Relationship deleted related to 0002419
2009-11-26 17:53 simon Relationship deleted related to 0002397
2009-11-26 17:53 simon Relationship deleted related to 0002404
2009-11-26 19:23 simon Note Added: 0003407
2009-11-26 19:23 simon Status assigned => resolved
2009-11-26 19:23 simon Fixed in Version => 2.3.1
2009-11-26 19:23 simon Resolution open => fixed
2010-04-13 21:27 Anonymous Status resolved => feedback
2010-04-13 21:27 Anonymous Resolution fixed => reopened

Copyright © 2005-2008 Endian, SRL. All rights reserved.


Mantis [^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker