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
Anonymous | Login | 2022-06-28 19:10 UTC | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000751 | Endian Firewall | Application Level Proxies | public | 2008-05-04 18:25 | 2009-10-27 12:03 | ||||
Reporter | jzdrzalek | ||||||||
Assigned To | peter-endian | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | 2.2-rc1 | |||||||
Summary | 0000751: Browser autoconfiguration doesn't work for HTTP-Proxy | ||||||||
Description | hi, even if http proxy is enabled (for green+red scenario), the proxy.pac script at http://wpad/proxy.pa [^] doen't configure the browser to use a proxy. | ||||||||
Additional Information | my EFW is Model: Demo (software 2.2) Last update: 2008-05-04 18:12:15 Returned proxy.pa is always that: function FindProxyForURL(url, host) { if (isPlainHostName(host) || shExpMatch( url, "*10.2.1.1*" ) ) return "DIRECT"; else if (host == "127.0.0.1") return "DIRECT"; else if (isInNet(host, "10.2.1.0", "24")) return "DIRECT"; else return "DIRECT"; } I found that the cgi script /home/http/html/wpad.dat checks for a file /var/efw/proxy/enable_green (green is lower case of the ZONE). Too bad, that isn't created anymore. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
(0001132) peter-endian (administrator) 2008-05-08 11:09 |
thank you for the report. here is a little patch which fixes the problem: Index: src/html/proxy.pac =================================================================== --- src/html/proxy.pac (revision 13120) +++ src/html/proxy.pac (working copy) @@ -146,9 +146,9 @@ sub get_port($) { my $zone = shift; my %conf; - $zone = lc($zone); - if (-e $PROXY_ENABLED.$zone) { - readhash($PROXY_SETTINGS, \%conf); + $zone = uc($zone); + readhash($PROXY_SETTINGS, \%conf); + if ($conf{"PROXY_$zone"} =~ /^enabled|auth$/) { return $conf{'PROXY_PORT'}; } return ""; |
![]() |
|||
Date Modified | Username | Field | Change |
2008-05-04 18:25 | jzdrzalek | New Issue | |
2008-05-05 07:58 | ra-endian | Status | new => assigned |
2008-05-05 07:58 | ra-endian | Assigned To | => simon-endian |
2008-05-08 11:07 | peter-endian | Assigned To | simon-endian => peter-endian |
2008-05-08 11:09 | peter-endian | Note Added: 0001132 | |
2008-05-08 11:12 | peter-endian | Status | assigned => resolved |
2008-05-08 11:12 | peter-endian | Fixed in Version | => 2.2-rc1 |
2008-05-08 11:12 | peter-endian | Resolution | open => fixed |
2009-10-27 12:03 | peter-endian | Status | resolved => closed |
Copyright © 2000 - 2012 MantisBT Group |