Endian Bugtracker
Endian Issue Tracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001422 [Endian Firewall] Proxy HTTP block always 2008-11-04 16:14 2009-10-27 13:01
Reporter f1iqf View Status public  
Assigned To simon
Priority normal Resolution fixed  
Status closed   Product Version 2.2-rc3
Summary 0001422: proxy.pac file always return "DIRECT" !
Description Hello,

I seem to still have a problem similar as the 0000751 (closed in 2.2rc1).
I have a "no authentification" http proxy declared for my green network (explicit proxy). Therefore the proxy should send back, the proxy adress for this zone, but it is returning always "DIRECT", therefore the applications do not try to use the proxy and fail.

I have the feeling that is a problem similar as the bug 0000751.

Thank you for your help !
Nicolas
Additional Information function FindProxyForURL(url, host)
{
        if (isPlainHostName(host) ||
                shExpMatch( url, "*192.168.5.1*" ) )
                return "DIRECT";
        else if (host == "127.0.0.1")
                return "DIRECT";
        else if (isInNet(host, "192.168.5.0", "255.255.255.0"))
                return "DIRECT";

        else
                return "DIRECT";
}

The last return "DIRECT" should be return "192.168.5.1:8080"
Tags needsfix
Attached Files

- Relationships
child of 0001365closedsimon Browser autoconfiguration doesn't work for HTTP-Proxy 

-  Notes
(0001768)
f1iqf (reporter)
2008-11-04 16:51

I have found the origin of the problem: the file /var/efw/proxy/settings is missing the following 2 lines when the green_proxy is set to "no authentification":
PROXY_PORT=8080
PROXY_GREEN=noauth

If I add theses 2 lines manualy to the file, all works fine.
If I switch again the proxy to transparent, then my settings becomes:

MEM_POLICY=LRU
CACHE_MEM=20
L1_DIRS=16
UPSTREAM_PASSWORD=
UPSTREAM_USER=
LOGQUERY=off
PROXY=on
UPSTREAM_PROXY=
MAX_SIZE=4096
LOGGING=on
PROXY_BLUE=transparent
ADMIN_MAIL_ADDRESS=
PROXY_GREEN=transparent
VISIBLE_HOSTNAME=firewall
CACHE_POLICY=LRU
ERR_LANGUAGE=English
LOGUSERAGENT=off

and if I switch again to "no authentication", PROXY_GREEN and PROXY_PORT are missing again.
(0001769)
f1iqf (reporter)
2008-11-04 17:02

One should read:
PROXY_GREEN=enabled
(0001770)
simon (developer)
2008-11-04 17:09

thx for the info. i will fix it asap

Best Regards
Simon
(0001811)
simon (developer)
2008-11-20 12:44

now default settings file is also read to get the status info from all proxy zones (settings saves only the diff)
(0001926)
bonald (reporter)
2009-01-21 05:52

same problem with rc3.
here's the settings file i have with no auth.

MEM_POLICY=
CACHE_MEM=60
L1_DIRS=
UPSTREAM_PASSWORD=
UPSTREAM_USER=
PROXY=on
UPSTREAM_PROXY=
MAX_SIZE=2048
ADMIN_MAIL_ADDRESS=
CACHE_SIZE=550
VISIBLE_HOSTNAME=
CACHE_POLICY=
ERR_LANGUAGE=English

WPAD return DIRECT


Settings using authentication
MEM_POLICY=
CACHE_MEM=60
L1_DIRS=
UPSTREAM_PASSWORD=
UPSTREAM_USER=
PROXY=on
UPSTREAM_PROXY=
MAX_SIZE=2048
ADMIN_MAIL_ADDRESS=
PROXY_GREEN=auth
CACHE_SIZE=550
VISIBLE_HOSTNAME=
CACHE_POLICY=
ERR_LANGUAGE=English

WPAD return DIRECT


Transparent selected
MEM_POLICY=
CACHE_MEM=60
L1_DIRS=
UPSTREAM_PASSWORD=
UPSTREAM_USER=
PROXY=on
UPSTREAM_PROXY=
MAX_SIZE=2048
ADMIN_MAIL_ADDRESS=
PROXY_GREEN=transparent
CACHE_SIZE=550
VISIBLE_HOSTNAME=
CACHE_POLICY=
ERR_LANGUAGE=English

WPAD Direct!
(0001977)
simon (developer)
2009-02-18 13:43

look at bug 0001365 for quickfix (patchfile)

- Issue History
Date Modified Username Field Change
2008-11-04 16:14 f1iqf New Issue
2008-11-04 16:14 f1iqf Assigned To => simon
2008-11-04 16:24 peter Tag Attached: needsfix
2008-11-04 16:51 f1iqf Note Added: 0001768
2008-11-04 17:02 f1iqf Note Added: 0001769
2008-11-04 17:09 simon Note Added: 0001770
2008-11-20 11:50 simon Relationship added child of 0001365
2008-11-20 12:44 simon Note Added: 0001811
2008-11-20 12:44 simon Status new => resolved
2008-11-20 12:44 simon Fixed in Version => 2.3
2008-11-20 12:44 simon Resolution open => fixed
2009-01-21 05:52 bonald Note Added: 0001926
2009-01-21 05:52 bonald Status resolved => feedback
2009-01-21 05:52 bonald Resolution fixed => reopened
2009-02-18 13:43 simon Note Added: 0001977
2009-02-18 13:43 simon Status feedback => resolved
2009-02-18 13:43 simon Resolution reopened => fixed
2009-10-27 13:01 peter Status resolved => closed

Copyright © 2005-2008 Endian, SRL. All rights reserved.


Mantis [^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker