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

0000048: HTTP Proxy: Source subnet/ip/mac without authentication doesn't work (multiple lines) - MantisBT
MantisBT - Endian Firewall
View Issue Details
0000048Endian FirewallApplication Level Proxiespublic2006-11-16 12:322008-02-02 07:28
ra-endian 
ra-endian 
normalmajoralways
closedfixed 
2.1.2 
2.2-beta2 
0000048: HTTP Proxy: Source subnet/ip/mac without authentication doesn't work (multiple lines)
Source subnet/ip/mac without authentication doesn't work (multiple lines)
No tags attached.
Issue History
2006-11-16 12:32ra-endianNew Issue
2006-11-16 12:33ra-endianStatusnew => assigned
2006-11-16 12:33ra-endianAssigned To => ra-endian
2006-11-16 12:33ra-endianStatusassigned => resolved
2006-11-16 12:33ra-endianFixed in Version => 2.1
2006-11-16 12:33ra-endianResolutionopen => fixed
2007-01-02 07:53ra-endianStatusresolved => closed
2007-09-20 08:25AnonymousStatusclosed => feedback
2007-09-20 08:25AnonymousResolutionfixed => reopened
2007-09-20 08:25AnonymousNote Added: 0000512
2007-10-24 00:19AnonymousNote Edited: 0000512
2007-10-24 00:22AnonymousNote Edited: 0000512
2007-10-24 00:24AnonymousNote Added: 0000535
2007-10-24 00:24AnonymousStatusfeedback => confirmed
2008-01-11 09:17ra-endianProduct Version2 => 2.1.2
2008-01-11 09:17ra-endianSummaryDomains without authenticationg => HTTP Proxy: Domains without authenticationg doesn't work
2008-01-11 10:34ra-endianStatusconfirmed => resolved
2008-01-11 10:34ra-endianFixed in Version2.1 => 2.2-beta2
2008-01-11 10:34ra-endianResolutionreopened => fixed
2008-01-11 10:34ra-endianNote Added: 0000779
2008-01-11 10:36ra-endianSummaryHTTP Proxy: Domains without authenticationg doesn't work => HTTP Proxy: Source subnet/ip/mac without authentication doesn't work (multiple lines)
2008-01-11 10:36ra-endianDescription Updated
2008-02-02 07:28raphael-endianStatusresolved => closed

Notes
(0000512)
Anonymous   
2007-09-20 08:25   
(edited on: 2007-10-24 00:22)
cannot work on 2.12

I can confirm the same problem exists with the box labeled "Source subnet/ip/mac without authentication (one per line)". This is a problem anytime more than one entry is entered in the textarea.

The problem seems to be in the way the settings file is being populated with the multiple values being added one per line.

The data needs to be "one per line" for the squid acl file (which is generated fine), but that format is inappropriate for the advanced settings file. This breaks restartsquid.py where the getconfig function is called and prevents squid from starting.

We have been able to hack around this by blanking the proxysettings('MAC_NOAUTH') variable in advproxy.cgi just before writing the settings file and repopulating it just before it writes the squid acl config.

This will be true for the "Domains without authentication (one per line):" textarea also, as the variables are populated and written using the same method.

(0000535)
Anonymous   
2007-10-24 00:24   
I can confirm the same problem exists with the box labeled "Source subnet/ip/mac without authentication (one per line)". This is a problem anytime more than one entry is entered in the textarea.

The problem seems to be in the way the settings file is being populated with the multiple values being added one per line.

The data needs to be "one per line" for the squid acl file (which is generated fine), but that format is inappropriate for the advanced settings file. This breaks restartsquid.py where the getconfig function is called and prevents squid from starting.

We have been able to hack around this by blanking the proxysettings('MAC_NOAUTH') variable in advproxy.cgi just before writing the settings file and repopulating it just before it writes the squid acl config.

This will be true for the "Domains without authentication (one per line):" textarea also, as the variables are populated and written using the same method.
(0000779)
ra-endian   
2008-01-11 10:34   
fixed with efw 2.2