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

0001536: dansguardian logviewer misinterprets format when there is an upstream proxy behind the firewall - MantisBT
MantisBT - Endian Firewall
View Issue Details
0001536Endian FirewallGUIpublic2009-01-22 11:382009-10-27 12:01
peter-endian 
peter-endian 
normalminoralways
closedfixed 
2.2-rc3 
2.3 
0001536: dansguardian logviewer misinterprets format when there is an upstream proxy behind the firewall
if users use another proxy which has as upstream proxy the firewalls http proxy with enabled dansguardian, the log entry is like this:

Sep 15 18:55:18 UPLINKSTEST dansguardian: 2008.9.15 18:55:18 127.0.0.1 192.168.11.55, 10.11.39.38 http://w0.extreme-dm.com/0.gif?tag=earshot1&j=y&srw=1680&srb=24&rs=0&l= [^] *DENIED* Banned site: extreme-dm.com GET 0 0
1 403 - default profile (content1) -

the log viewer splits using /\s+/, which would parse the second source ip address 10.11.39.38 as URL.

splitter must use /[^,]\s+/ in order to include all source ip addresses within the field
No tags attached.
Issue History
2009-01-22 11:38peter-endianNew Issue
2009-01-22 11:38peter-endianAssigned To => peter-endian
2009-01-22 11:39peter-endianStatusnew => resolved
2009-01-22 11:39peter-endianFixed in Version => 2.3
2009-01-22 11:39peter-endianResolutionopen => fixed
2009-10-27 12:01peter-endianStatusresolved => closed

There are no notes attached to this issue.