//
// Filename : wpad.dat
// Description : Web Proxy Automatic Configuration File
// For use in R*** University
// Written by : Travers van Lierop
// Created on : March 10 2004
//
// Updated : See files in wpad directory for last changes
//
// elluminate.com via bproxy ChangeRequest 1375
function FindProxyForURL(url, host) {
// local addresses don't go through cache
if (
( isPlainHostName(host) ||
shExpMatch(host,"*.r***.edu.**") ||
isInNet(host,"127.0.0.0", "255.0.0.0") ||
isInNet(host,"203.17.179.0","255.255.255.0") ||
isInNet(host,"131.170.0.0","255.255.0.0") ||
isInNet(host,"144.205.0.0","255.255.0.0") ||
isInNet(host,"192.168.0.0","255.255.0.0") ||
isInNet(host,"172.16.0.0","255.240.0.0") ||
isInNet(host,"10.0.0.0","255.0.0.0") ||
isInNet(myIpAddress(),"131.170.170.0","255.255.255.0") ||
(host == "203.8.68.150") ||
shExpMatch(host,"*.nautilus.org") ||
shExpMatch(host,"*.mediaportal.com.**") ||
shExpMatch(host,"*.hmdevsite.com") ||
shExpMatch(host,"tafe.acer.edu.**") ||
shExpMatch(host,"r***1.quick-links.net") ||
shExpMatch(host,"*.vientianetimes.org.la") ||
shExpMatch(host,"*.vetvirtual.com") ||
shExpMatch(host,"*.r***publishing.com.**") ||
shExpMatch(host,"*.r***englishworldwide.com") ||
shExpMatch(host,"*.r***training.com") ||
shExpMatch(host,"*.jet.org.**") ||
shExpMatch(host,"*.relta.org") ||
shExpMatch(host,"*.infor***.com.**") ||
shExpMatch(host,"*refchatter.net")
)
&&
!( shExpMatch(host,"*.cfd.r***.edu.**") ||
shExpMatch(host,"*libguides.r***.edu.**") ||
shExpMatch(host,"*yourcareer.r***.edu.**") ||
shExpMatch(host,"*triggerthat.r***.edu.**") ||
shExpMatch(host,"researchbank.r***.edu.**") ||
shExpMatch(url,"*ejobs.r***.edu.***")
)
)
return "DIRECT";
// SPECIALS: A few sites playing up via Bluecoats, temporarily use sproxy2 until B/C resolved
else if (
// SPECIAL:Novell/BM Patch Problem,Infra 617227,602540,618761,629129,641740,650919,load testing pcmsat,737043,723257
shExpMatch(host,"*.ocf.berkeley.edu") ||
shExpMatch(host,"*.caul.edu.**") ||
shExpMatch(host,"*.math.uni-bielefeld.de") ||
shExpMatch(host,"*.caval.edu.**") ||
shExpMatch(host,"designvictoria.immersivestaging.net") ||
shExpMatch(host,"dev-www.yourbuilding.qut.edu.**")||
shExpMatch(host,"gateway.apollo-moon.com.**") ||
shExpMatch(host,"www.ncbi.nlm.nih.gov") ||
shExpMatch(host,"www.collectionscanada.ca") ||
shExpMatch(host,"mail.parentingrc.org.**") ||
shExpMatch(host,"*.quick-links.net") ||
shExpMatch(host,"pcmsatt.mercury-mms.com") ||
shExpMatch(host,"*.skillport.com") ||
shExpMatch(host,"sharepoint.melbourne.org.**") ||
shExpMatch(host,"gams.arc.gov.**") ||
shExpMatch(host,"manage.immersive.com.**") ||
shExpMatch(host,"www.eicgrowth.com") ||
shExpMatch(host,"*.curriculum.edu.**") ||
shExpMatch(host,"www.informaworld.com") ||
shExpMatch(host,"www.obhe.ac.uk") ||
shExpMatch(host,"xpress.equigroup.com") ||
shExpMatch(host,"*.pageuppeople.com") ||
shExpMatch(host,"www.tsfx.com.**") ||
shExpMatch(host,"*.elluminate.com") ||
shExpMatch(host,"www.gobi3.com")
)
return "PROXY bproxy.r***.edu.**:8080";
// Wireless Subnets
else if ( isInNet(myIpAddress(),"172.17.0.0","255.255.0.0") )
return "PROXY proxy.wireless.r***.edu.**:8080";
// R*** Training Subnets
else if ( isInNet(myIpAddress(),"131.170.57.0","255.255.255.0") ||
isInNet(myIpAddress(),"131.170.89.0","255.255.255.0") ||
isInNet(myIpAddress(),"203.17.179.0","255.255.255.0")
)
return "PROXY trnproxy.training.r***.edu.**:8080";
// Computer Science Subnets
// adrianw Infra 1048429: Redirecting 010.11.023 subnet (131.170.205.64/26)
// to proxy.r***.edu.**.
else if ( isInNet(myIpAddress(),"131.170.24.0","255.255.255.0") ||
isInNet(myIpAddress(),"131.170.25.0","255.255.255.0") ||
isInNet(myIpAddress(),"131.170.26.0","255.255.255.0") ||
isInNet(myIpAddress(),"131.170.27.0","255.255.255.0") ||
isInNet(myIpAddress(),"131.170.65.0","255.255.255.0") ||
isInNet(myIpAddress(),"131.170.204.0","255.255.255.0") ||
isInNet(myIpAddress(),"131.170.205.0","255.255.255.192") ||
isInNet(myIpAddress(),"131.170.205.128","255.255.255.192") ||
isInNet(myIpAddress(),"131.170.205.192","255.255.255.192") ||
isInNet(myIpAddress(),"131.170.206.64","255.255.255.192") ||
isInNet(myIpAddress(),"131.170.206.128","255.255.255.192") ||
isInNet(myIpAddress(),"131.170.207.0","255.255.255.0")
)
return "PROXY proxy.csit.r***.edu.**:8080";
// Subnet 131.170.205.64/26 in 010.11.023, used by non-CSIT.
// Subnet 131.170.206.0/26 in 014.09.015
// Subnet 131.170.206.192/26 in 014.09.023
else if ( isInNet(myIpAddress(),"131.170.205.64","255.255.255.192")||
isInNet(myIpAddress(),"131.170.206.0","255.255.255.192")||
isInNet(myIpAddress(),"131.170.206.192","255.255.255.192")
)
return "PROXY proxy.r***.edu.**:8080";
else
// Fallback if it can't work it out
return "PROXY proxy:8080;PROXY proxy.r***.edu.**:8080";
}// FindProxyForURL
Sorry, I replace my institution name into ***.
As I said before, I’m not really good on networking. I wonder how did you know that it was autoconfiguration URL. How to differ auto-config and manual-config? Sorry, if I’m asking stupid questions.