binarycrusader / libproxy

Automatically exported from code.google.com/p/libproxy
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Ignore matching for IPs not working reliable #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
> _PX_DEBUG=1 proxy http://192.168.0.1 http://www.google.com
Using config: 22gnome_config_extension
Using ignore: localhost,127.0.0.1,10.0.0.0/8,.tmf-group.com
direct://
Using config: 22gnome_config_extension
Using ignore: localhost,127.0.0.1,10.0.0.0/8,.tmf-group.com
Config is: http://10.3.0.2:2323
http://10.3.0.2:2323

Ignore Config is: localhost,127.0.0.1,10.0.0.0/8,.tmf-group.com
=> 192.168.0.1 must not match

Original issue reported on code.google.com by dominiqu...@gmail.com on 2 May 2011 at 8:55

GoogleCodeExporter commented 9 years ago
sorry :) Same settings as in issue 161:
Proxy settings are (as per output from pxgsettings:
org.gnome.system.proxy/autoconfig-url   http://10.3.0.4/proxy.pac
org.gnome.system.proxy/ignore-hosts localhost,127.0.0.1,10.0.0.0/8,*.tmf-group.c
om
org.gnome.system.proxy/mode manual
org.gnome.system.proxy/use-same-proxy   true
org.gnome.system.proxy.http/authentication-password 
org.gnome.system.proxy.http/authentication-user 
org.gnome.system.proxy.http/enabled false
org.gnome.system.proxy.http/host    10.3.0.2
org.gnome.system.proxy.http/port    2323
org.gnome.system.proxy.http/use-authentication  false

Original comment by dominiqu...@gmail.com on 10 May 2011 at 3:21

GoogleCodeExporter commented 9 years ago
To reproduce:
Gnome / manual proxy config. Enter a proxy for http, like 10.1.2.3:1234
On the ignore list, add 10.0.0.0/8 to the list.
use the proxy binary to check the result for http://192.168.0.1
=> libproxy returns direct:// instead of http://10.1.2.3:1234

Original comment by dominiqu...@gmail.com on 10 May 2011 at 5:53

GoogleCodeExporter commented 9 years ago
Fix pushed as r809

Original comment by dominiqu...@gmail.com on 19 May 2011 at 8:42