Add 192.168.0.0/16 and 10.0.0.0/8 to exceptions list for gobal proxy mode.
This commit is contained in:
@ -9,6 +9,6 @@
|
|||||||
#ifndef proxy_conf_helper_version_h
|
#ifndef proxy_conf_helper_version_h
|
||||||
#define proxy_conf_helper_version_h
|
#define proxy_conf_helper_version_h
|
||||||
|
|
||||||
#define kProxyConfHelperVersion @"1.5.0"
|
#define kProxyConfHelperVersion @"1.6.0"
|
||||||
|
|
||||||
#endif /* proxy_conf_helper_version_h */
|
#endif /* proxy_conf_helper_version_h */
|
||||||
|
@ -158,7 +158,7 @@ int main(int argc, const char * argv[])
|
|||||||
kCFNetworkProxiesSOCKSPort];
|
kCFNetworkProxiesSOCKSPort];
|
||||||
[proxies setObject:[NSNumber numberWithInt:1] forKey:(NSString*)
|
[proxies setObject:[NSNumber numberWithInt:1] forKey:(NSString*)
|
||||||
kCFNetworkProxiesSOCKSEnable];
|
kCFNetworkProxiesSOCKSEnable];
|
||||||
[proxies setObject:@[@"127.0.0.1", @"localhost"] forKey:(NSString *)kCFNetworkProxiesExceptionsList];
|
[proxies setObject:@[@"127.0.0.1", @"localhost", @"192.168.0.0/16", @"10.0.0.0/8"] forKey:(NSString *)kCFNetworkProxiesExceptionsList];
|
||||||
|
|
||||||
if (privoxyPort != 0) {
|
if (privoxyPort != 0) {
|
||||||
[proxies setObject:@"127.0.0.1" forKey:(NSString *)
|
[proxies setObject:@"127.0.0.1" forKey:(NSString *)
|
||||||
|
Reference in New Issue
Block a user