Strange IP-based proxy policy behavior

I want to set up following:
when local IP mask is: 10.125.* to use automatic proxy http://autoproxy:8888
when local IP mask is: 192.168.127.* - use direct
when local IP mask is 192.168.200.* - use proxy http://192.168.0.3:3128
All proxy should work for all URLs. These are just different networks where I plug in notebook.
Each proxy works fine when manually switching it, нowever when set to use patterns, when I'm in 192.168.127.* network, it tries to load http://autoproxy:8888 which is missing, displays error message and disables this proxy. When I try to enable it - it tries to load PAC once again and disables it after failure, ignoring local IP mask. I found a workaround with downloading PAC to file and use file://c:\autoproxy.pac, but this is not a good solution as PAC can be changed by IT and local copy requires updates. Could you please fix this behavior - not load PAC if local IPs doesn't match.
Thanks in advance,
Vadim

Hi Vadim, Can you tell me

Hi Vadim,

Can you tell me when does FoxyProxy Plus try to load http://autoproxy:8888? I know you are in the 192.168.127.* network, but does it try to load when Firefox starts or some other time?

Thanks,
Eric

It tries to load it when I

It tries to load it when I enable it in proxy list, fails and disables it - may be during this action Local IP is not checked. Currently I found a workaround with changing order of proxy servers and moving http://autoproxy:8888 to the end. But when it becomes active it feels like before any opening of the page there is downloads  autoproxy first, so autoproxy script is not cached and loaded every time...

Hi, I will make the fix "do

Hi,

I will make the fix "do not load PAC if local IPs doesn't match."

Do you also want the option to cache the PAC? You are right that currently it is not cached.

Eric

Eric, yes, it'd be nice to

Eric,
yes, it'd be nice to have such feature (not loading PAC on local IP mismatch), actually i think it'd be expected behavior. Caching of PAC is also cool - it'll reduce page loading times. As PAC rules can be quite complex, may be it's even worth to  cache what was result of PAC for particular server. I'm not sure what is Firefox bahavior with PAC, probably its make sense to mimic it.
 
Vadim

Firefox does not cache the

Firefox does not cache the result of PAC for particular servers. I will add the other 2 things, though.