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
MantisBT - Endian Firewall
View Issue Details
0004294Endian FirewallProxy HTTPpublic2012-03-08 12:052012-03-08 12:06
normalminorhave not tried
0004294: urlblacklist doesn't have #listcategory tag
#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)"
Issue History
2012-03-08 12:05luca-endianNew Issue
2012-03-08 12:06luca-endianTag Attached: purple
2012-03-08 12:06luca-endianStatusnew => confirmed

There are no notes attached to this issue.