SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0004294: urlblacklist doesn't have #listcategory tag - MantisBT Endian Bugtracker
Endian Issue Tracker

Please see now our new Bugtracker system: JIRA

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004294Endian FirewallProxy HTTPpublic2012-03-08 12:052012-03-08 12:06
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version2.4.1 
Target VersionFixed in Version 
Summary0004294: urlblacklist doesn't have #listcategory tag
Description#listcategory keyword should be placed in every file handled by dansguardian.
The DG weighted files already have this tag and this is why category is detected in logs like this:

Mar 1 15:42:01 kyle dansguardian[-1]: 2012.3.1 15:42:01 [^] *DENIED* Weighted phrase limit of 160 : 8046 (weighted words) GET 42918 8046 Pornography, Pornography (Portuguese), Pornography (German), Pornography (Italian)
, Pornography (Spanish) 1 403 text/html Default Profile (content1) -

As you can see categories are listed because this is the content of dansguardian phrase files:
root@kyle:/etc/dansguardian/phraselists/pornography # head weighted
# Pornography Weighted Phrases
#listcategory: "Pornography"

When a site is detected by the urlblacklist category doesn't appear as you can see from this log file:
Mar 1 12:17:02 kyle dansguardian[-1]: 2012.3.1 12:17:02 [^] *DENIED* Banned site: GET 0 0 1 403 - Default Profile (content1) -Mar 1 12:17:02 kyle dansguardian[-1]: 2012.3.1 12:17:02 [^] *DENIED* Banned site: GET 0 0 1 403 - Default Profile (content1) -


Add for each file in the urlblacklist folder tree the #listcategory tag.
This information is the folder name that includes the urlblacklist and could be modified like below

root@kyle:/etc/dansguardian/blacklists/porn # head domains
#listcategory: "porn (urlblacklist)"
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2012-03-08 12:05 luca-endian New Issue
2012-03-08 12:06 luca-endian Tag Attached: purple
2012-03-08 12:06 luca-endian Status new => confirmed

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

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker