[index] AT-AR2010V コマンドリファレンス 5.5.1
モード: 特権EXECモード
カテゴリー: トラフィック制御 / URLオフロード
# show url-offload pac-file
URLオフロード機能が生成したプロキシー自動構成ファイル(PACファイル)の内容を表示する。
awplus# show url-offload pac-file ↓ function UO_dnsResolve(host) { return (typeof dnsResolveEx === "function" ? dnsResolveEx(host): dnsResolve(host)); } function UO_isInNet(host_ips, network, mask, full_addr) { const addrList = host_ips.split(";"); for(let i = 0; i < addrList.length; i++) { const match = (typeof isInNetEx === "function" ? isInNetEx(addrList[i], full_addr): isInNet(addrList[i], network, mask)); if (match) { return true; } } return false; } function FindProxyForURLEx(url, host) { var direct = "DIRECT"; var proxyServer = "PROXY "; /* Host is on local network (no dots in name) */ if (isPlainHostName (host)) { return direct; } /* Exclude matches */ if(shExpMatch (host, "exclude.example.com")) { return proxyServer; } /* Include matches */ if(shExpMatch (host, "*.example.com") || shExpMatch (host, "*.sharepoint.com") || shExpMatch (host, "outlook.office.com") || shExpMatch (host, "outlook.office365.com") || (isResolvable(host) && (host_ips = UO_dnsResolve(host)) && (UO_isInNet(host_ips, "13.107.6.152", "255.255.255.254", "13.107.6.152/31") || UO_isInNet(host_ips, "13.107.18.10", "255.255.255.254", "13.107.18.10/31") || UO_isInNet(host_ips, "13.107.64.0", "255.255.192.0", "13.107.64.0/18") || UO_isInNet(host_ips, "13.107.128.0", "255.255.252.0", "13.107.128.0/22") || UO_isInNet(host_ips, "13.107.136.0", "255.255.252.0", "13.107.136.0/22") || UO_isInNet(host_ips, "23.103.160.0", "255.255.240.0", "23.103.160.0/20") || UO_isInNet(host_ips, "40.96.0.0", "255.248.0.0", "40.96.0.0/13") || UO_isInNet(host_ips, "40.104.0.0", "255.254.0.0", "40.104.0.0/15") || UO_isInNet(host_ips, "40.108.128.0", "255.255.128.0", "40.108.128.0/17") || UO_isInNet(host_ips, "52.96.0.0", "255.252.0.0", "52.96.0.0/14") || UO_isInNet(host_ips, "52.104.0.0", "255.252.0.0", "52.104.0.0/14") || UO_isInNet(host_ips, "52.112.0.0", "255.252.0.0", "52.112.0.0/14") || UO_isInNet(host_ips, "104.146.128.0", "255.255.128.0", "104.146.128.0/17") || UO_isInNet(host_ips, "131.253.33.215", "255.255.255.255", "131.253.33.215/32") || UO_isInNet(host_ips, "132.245.0.0", "255.255.0.0", "132.245.0.0/16") || UO_isInNet(host_ips, "150.171.32.0", "255.255.252.0", "150.171.32.0/22") || UO_isInNet(host_ips, "150.171.40.0", "255.255.252.0", "150.171.40.0/22") || UO_isInNet(host_ips, "191.234.140.0", "255.255.252.0", "191.234.140.0/22") || UO_isInNet(host_ips, "204.79.197.215", "255.255.255.255", "204.79.197.215/32") || UO_isInNet(host_ips, "2603:1006::", "40", "2603:1006::/40") || UO_isInNet(host_ips, "2603:1016::", "36", "2603:1016::/36") || UO_isInNet(host_ips, "2603:1026::", "36", "2603:1026::/36") || UO_isInNet(host_ips, "2603:1036::", "36", "2603:1036::/36") || UO_isInNet(host_ips, "2603:1046::", "36", "2603:1046::/36") || UO_isInNet(host_ips, "2603:1056::", "36", "2603:1056::/36") || UO_isInNet(host_ips, "2603:1096::", "38", "2603:1096::/38") || UO_isInNet(host_ips, "2603:1096:400::", "40", "2603:1096:400::/40") || UO_isInNet(host_ips, "2603:1096:600::", "40", "2603:1096:600::/40") || UO_isInNet(host_ips, "2603:1096:a00::", "39", "2603:1096:a00::/39") || UO_isInNet(host_ips, "2603:1096:c00::", "40", "2603:1096:c00::/40") || UO_isInNet(host_ips, "2603:10a6:200::", "40", "2603:10a6:200::/40") || UO_isInNet(host_ips, "2603:10a6:400::", "40", "2603:10a6:400::/40") || UO_isInNet(host_ips, "2603:10a6:600::", "40", "2603:10a6:600::/40") || UO_isInNet(host_ips, "2603:10a6:800::", "40", "2603:10a6:800::/40") || UO_isInNet(host_ips, "2603:10d6:200::", "40", "2603:10d6:200::/40") || UO_isInNet(host_ips, "2620:1ec:4::152", "128", "2620:1ec:4::152/128") || UO_isInNet(host_ips, "2620:1ec:4::153", "128", "2620:1ec:4::153/128") || UO_isInNet(host_ips, "2620:1ec:c::10", "128", "2620:1ec:c::10/128") || UO_isInNet(host_ips, "2620:1ec:c::11", "128", "2620:1ec:c::11/128") || UO_isInNet(host_ips, "2620:1ec:d::10", "128", "2620:1ec:d::10/128") || UO_isInNet(host_ips, "2620:1ec:d::11", "128", "2620:1ec:d::11/128") || UO_isInNet(host_ips, "2620:1ec:8f0::", "46", "2620:1ec:8f0::/46") || UO_isInNet(host_ips, "2620:1ec:8f8::", "46", "2620:1ec:8f8::/46") || UO_isInNet(host_ips, "2620:1ec:900::", "46", "2620:1ec:900::/46") || UO_isInNet(host_ips, "2620:1ec:908::", "46", "2620:1ec:908::/46") || UO_isInNet(host_ips, "2620:1ec:a92::152", "128", "2620:1ec:a92::152/128") || UO_isInNet(host_ips, "2620:1ec:a92::153", "128", "2620:1ec:a92::153/128") || UO_isInNet(host_ips, "2a01:111:f400::", "48", "2a01:111:f400::/48") || UO_isInNet(host_ips, "2a01:111:f402::", "48", "2a01:111:f402::/48")))) { return direct; } return proxyServer; } function FindProxyForURL(url, host) { return FindProxyForURLEx (url, host); }
entry(手動エンドポイントモード)
exclude-entry(Office365エンドポイントモード)
exclude-entry(手動エンドポイントモード)
pac-file http-server port(URLオフロードモード)
pac-file proxy-address(URLオフロードモード)
pac-file template(URLオフロードモード)
show url-offload pac-file template(特権EXECモード)
update-interval(Office365エンドポイントモード)
url-offload update-now(特権EXECモード)
(C) 2016 - 2021 アライドテレシスホールディングス株式会社
PN: 613-002311 Rev.AG