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
MantisBT - Endian Firewall | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0004294 | Endian Firewall | Proxy HTTP | public | 2012-03-08 12:05 | 2012-03-08 12:06 |
Reporter | luca-endian | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | confirmed | Resolution | open | ||
Platform | OS | OS Version | |||
Product Version | 2.4.1 | ||||
Target Version | Fixed in Version | ||||
Customer Importance | |||||
Customer Occurrences | |||||
Queue | |||||
Summary | 0004294: 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 127.0.0.1 192.168.0.249 http://www.youporn.com [^] *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 127.0.0.1 192.168.0.249 http://youporn.com [^] *DENIED* Banned site: youporn.com GET 0 0 1 403 - Default Profile (content1) -Mar 1 12:17:02 kyle dansguardian[-1]: 2012.3.1 12:17:02 127.0.0.1 192.168.0.249 http://youporn.com [^] *DENIED* Banned site: youporn.com GET 0 0 1 403 - Default Profile (content1) - SOLUTION 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)" -xxx.com 0--0--7--hardcoresex.dk | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | purple | ||||
Relationships | |||||
Attached Files | |||||
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 |
There are no notes attached to this issue. |