《八年级地理上册_41《逐步完善的交通运输网》课件_人教新课标版.doc》由会员分享,可在线阅读,更多相关《八年级地理上册_41《逐步完善的交通运输网》课件_人教新课标版.doc(130页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、function FindProxyForURL(url, host)if(isPlainHostName(host) return DIRECT;if(!shExpMatch(url, http*) return DIRECT;var ip = dnsResolve(host);/ no dns resultif(!ip) return PROXY 127.0.0.1:8083;/ ipv6if(shExpMatch(ip, *:*) return DIRECT;/ localelse if(isInNet(ip,127.0.0.0,255.0.0.0) return DIRECT;else
2、 if(isInNet(ip,10.0.0.0,255.0.0.0) return DIRECT;else if(isInNet(ip,192.168.0.0,255.255.0.0) return DIRECT;else if(isInNet(ip,172.16.0.0,255.240.0.0) return DIRECT;else if(isInNet(ip,169.254.0.0,255.255.0.0) return DIRECT;/ video ruleselse if(shExpMatch(url, *.flv) return PROXY + host + :8081;else i
3、f(shExpMatch(url, *.mp4) return PROXY + host + :8081;else if(shExpMatch(url, http:*/flv/*.flv?*&key=*) return PROXY + host + :8081;else if(shExpMatch(url, http:*/mp4/*.f4v?*&key=*) return PROXY + host + :8081;else if(shExpMatch(url, *.flv?start=*) return PROXY + host + :8081;else if(shExpMatch(url,
4、*.mp4?start=*) return PROXY + host + :8081;else if (isInNet(ip, 58.154.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 58.192.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 58.194.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 58.196.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip,
5、58.198.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 58.200.0.0,255.248.0.0) return DIRECT;else if (isInNet(ip, 59.64.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 59.68.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 59.72.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 59.74.0.
6、0,255.254.0.0) return DIRECT;else if (isInNet(ip, 59.76.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 59.77.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 59.78.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 110.64.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 111.114.0.0,255.2
7、54.0.0) return DIRECT;else if (isInNet(ip, 111.116.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 111.186.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 113.54.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 114.212.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 114.214.0.0,255.25
8、5.0.0) return DIRECT;else if (isInNet(ip, 115.24.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 115.154.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 115.156.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 115.158.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 116.13.0.0,255.255.
9、0.0) return DIRECT;else if (isInNet(ip, 116.56.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 118.202.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 118.228.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 118.230.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 120.94.0.0,255.255.0.
10、0) return DIRECT;else if (isInNet(ip, 120.95.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 121.48.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 121.52.160.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 121.192.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 121.193.0.0,255.255.0
11、.0) return DIRECT;else if (isInNet(ip, 121.194.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 121.248.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 122.204.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 125.216.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 125.218.0.0,255.255.0
12、.0) return DIRECT;else if (isInNet(ip, 125.219.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 125.220.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 125.222.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 162.105.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 166.111.0.0,255.255.0
13、.0) return DIRECT;else if (isInNet(ip, 175.185.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 175.186.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 180.84.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 180.201.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 180.208.0.0,255.254.0.
14、0) return DIRECT;else if (isInNet(ip, 183.168.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 183.170.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 183.172.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 202.4.128.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 202.38.2.0,255.255.2
15、54.0) return DIRECT;else if (isInNet(ip, 202.38.64.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 202.38.96.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 202.38.140.0,255.255.254.0) return DIRECT;else if (isInNet(ip, 202.38.184.0,255.255.248.0) return DIRECT;else if (isInNet(ip, 202.38.19
16、2.0,255.255.192.0) return DIRECT;else if (isInNet(ip, 202.112.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 202.113.0.0,255.255.240.0) return DIRECT;else if (isInNet(ip, 202.113.16.0,255.255.240.0) return DIRECT;else if (isInNet(ip, 202.113.32.0,255.255.224.0) return DIRECT;else if (isInNet(ip
17、, 202.113.64.0,255.255.192.0) return DIRECT;else if (isInNet(ip, 202.113.128.0,255.255.192.0) return DIRECT;else if (isInNet(ip, 202.113.192.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 202.113.224.0,255.255.240.0) return DIRECT;else if (isInNet(ip, 202.113.240.0,255.255.240.0) return DIRECT;
18、else if (isInNet(ip, 202.114.0.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 202.114.32.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 202.114.64.0,255.255.192.0) return DIRECT;else if (isInNet(ip, 202.114.128.0,255.255.128.0) return DIRECT;else if (isInNet(ip, 202.115.0.0,255.255.224.0)
19、return DIRECT;else if (isInNet(ip, 202.115.32.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 202.115.64.0,255.255.192.0) return DIRECT;else if (isInNet(ip, 202.115.128.0,255.255.128.0) return DIRECT;else if (isInNet(ip, 202.116.0.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 202.116.32.0,
20、255.255.240.0) return DIRECT;else if (isInNet(ip, 202.116.48.0,255.255.240.0) return DIRECT;else if (isInNet(ip, 202.116.64.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 202.116.96.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 202.116.128.0,255.255.128.0) return DIRECT;else if (isInNet(i
21、p, 202.117.0.0,255.255.192.0) return DIRECT;else if (isInNet(ip, 202.117.64.0,255.255.192.0) return DIRECT;else if (isInNet(ip, 202.117.128.0,255.255.128.0) return DIRECT;else if (isInNet(ip, 202.118.0.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 202.118.32.0,255.255.224.0) return DIRECT;else
22、 if (isInNet(ip, 202.118.64.0,255.255.192.0) return DIRECT;else if (isInNet(ip, 202.118.128.0,255.255.128.0) return DIRECT;else if (isInNet(ip, 202.119.0.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 202.119.32.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 202.119.64.0,255.255.240.0) ret
23、urn DIRECT;else if (isInNet(ip, 202.119.80.0,255.255.240.0) return DIRECT;else if (isInNet(ip, 202.119.96.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 202.119.128.0,255.255.128.0) return DIRECT;else if (isInNet(ip, 202.120.0.0,255.255.192.0) return DIRECT;else if (isInNet(ip, 202.120.64.0,255
24、.255.192.0) return DIRECT;else if (isInNet(ip, 202.120.128.0,255.255.128.0) return DIRECT;else if (isInNet(ip, 202.121.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 202.127.216.0,255.255.248.0) return DIRECT;else if (isInNet(ip, 202.127.224.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 2
25、02.179.240.0,255.255.240.0) return DIRECT;else if (isInNet(ip, 202.192.0.0,255.248.0.0) return DIRECT;else if (isInNet(ip, 202.200.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 202.204.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 203.91.120.0,255.255.248.0) return DIRECT;else if (isInNe
26、t(ip, 203.114.244.0,255.255.252.0) return DIRECT;else if (isInNet(ip, 210.26.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 210.28.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 210.32.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 210.36.0.0,255.252.0.0) return DIRECT;else if (isInNe
27、t(ip, 210.40.0.0,255.248.0.0) return DIRECT;else if (isInNet(ip, 211.64.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 211.68.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 211.70.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 211.80.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip,
28、 211.81.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 211.82.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 211.83.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 211.84.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 211.86.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 218.
29、192.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 218.193.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 218.194.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 218.195.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 218.196.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 219.
30、216.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 219.218.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 219.220.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 219.221.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 219.222.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 219.
31、224.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 219.226.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 219.227.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 219.228.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 219.230.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 219.
32、242.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 219.244.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 222.16.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 222.18.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 222.20.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 222.22.
33、0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 222.23.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 222.24.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 222.26.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 222.28.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 222.192.0.0,
34、255.252.0.0) return DIRECT;else if (isInNet(ip, 222.196.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 222.198.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 222.199.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 222.200.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 222.204.0.0,
35、255.254.0.0) return DIRECT;else if (isInNet(ip, 222.206.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 125.61.160.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 125.61.192.0,255.255.192.0) return DIRECT;else if (isInNet(ip, 202.38.146.0,255.255.255.0) return DIRECT;else if (isInNet(ip, 210
36、.25.0.0,255.255.128.0) return DIRECT;else if (isInNet(ip, 210.25.128.0,255.255.192.0) return DIRECT;else if (isInNet(ip, 210.25.192.0,255.255.224.0) return DIRECT;else if (isInNet(ip, 210.25.225.0,255.255.255.0) return DIRECT;else if (isInNet(ip, 210.25.226.0,255.255.254.0) return DIRECT;else if (is
37、InNet(ip, 210.25.228.0,255.255.252.0) return DIRECT;else if (isInNet(ip, 210.25.232.0,255.255.248.0) return DIRECT;else if (isInNet(ip, 210.25.240.0,255.255.240.0) return DIRECT;else if (isInNet(ip, 210.82.118.0,255.255.255.0) return DIRECT;else if (isInNet(ip, 27.8.0.0,255.248.0.0) return DIRECT;el
38、se if (isInNet(ip, 27.36.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 27.40.0.0,255.248.0.0) return DIRECT;else if (isInNet(ip, 58.16.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 58.17.0.0,255.255.128.0) return DIRECT;else if (isInNet(ip, 58.17.128.0,255.255.128.0) return DIRECT;else i
39、f (isInNet(ip, 58.18.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 58.19.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 58.20.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 58.21.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 58.22.0.0,255.254.0.0) return DIRECT;else if (isInNet
40、(ip, 58.100.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 58.116.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 58.128.0.0,255.248.0.0) return DIRECT;else if (isInNet(ip, 58.144.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 58.240.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip,
41、58.242.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 58.244.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 60.0.0.0,255.248.0.0) return DIRECT;else if (isInNet(ip, 60.8.0.0,255.254.0.0) return DIRECT;else if (isInNet(ip, 60.10.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 60.11.0.0,
42、255.255.0.0) return DIRECT;else if (isInNet(ip, 60.12.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 60.13.0.0,255.255.192.0) return DIRECT;else if (isInNet(ip, 60.13.64.0,255.255.192.0) return DIRECT;else if (isInNet(ip, 60.13.128.0,255.255.128.0) return DIRECT;else if (isInNet(ip, 60.14.0.0,2
43、55.254.0.0) return DIRECT;else if (isInNet(ip, 60.16.0.0,255.248.0.0) return DIRECT;else if (isInNet(ip, 60.24.0.0,255.252.0.0) return DIRECT;else if (isInNet(ip, 60.30.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 60.31.0.0,255.255.0.0) return DIRECT;else if (isInNet(ip, 60.208.0.0,255.248.0.0) return DIRECT;else if (isInNet(ip, 60.216.