--> PAC stands for Proxy auto-config.
--> PAC file has a lot of advantages compared to the manual proxy configuration in the browser.
--> PAC File tells the browser how to reach the Proxy Server.
--> PAC File allows you to configure multiple proxy server IP addresses.
--> PAC File allows you to load balancing between multiple Proxy Servers ( EX: Dept1 accesses the Internet via Proxy1 and other Dept access the Internet using Proxy2).
--> PAC File allows you to configure failover of proxy server ( EX: If the user in the organization network then uses the Proxy settings, don't use a proxy if he is not connected to organization network).
--> PAC File can be stored in a local machine/Web Server.
--> PAC File is written in JavaScript.
function FindProxyForURL(url, host) {
if (isInNet(myIPaddress(), "192.168.10.0",
"255.255.255.0")) return "PROXY
proxy1.my.net:8000; PROXY
proxy2.my.net:8000; DIRECT"; else return
"DIRECT"; }
--> If the browser supports wapd then the browser can receive the PAC file using DHCP or DNS.
--> DHCP option 252 is used to find the location of the PAC file or using FQDN of the user computer browser tries to find the PAC file location in the case of DNS.
--> If the computer name is user1.cisco.com then the browser tries to find the pac file location by accessing wpad.cisco.com/wpad.dat
--> PAC file has a lot of advantages compared to the manual proxy configuration in the browser.
--> PAC File tells the browser how to reach the Proxy Server.
--> PAC File allows you to configure multiple proxy server IP addresses.
--> PAC File allows you to load balancing between multiple Proxy Servers ( EX: Dept1 accesses the Internet via Proxy1 and other Dept access the Internet using Proxy2).
--> PAC File allows you to configure failover of proxy server ( EX: If the user in the organization network then uses the Proxy settings, don't use a proxy if he is not connected to organization network).
--> PAC File can be stored in a local machine/Web Server.
--> PAC File is written in JavaScript.
function FindProxyForURL(url, host) {
if (isInNet(myIPaddress(), "192.168.10.0",
"255.255.255.0")) return "PROXY
proxy1.my.net:8000; PROXY
proxy2.my.net:8000; DIRECT"; else return
"DIRECT"; }
--> If the browser supports wapd then the browser can receive the PAC file using DHCP or DNS.
--> DHCP option 252 is used to find the location of the PAC file or using FQDN of the user computer browser tries to find the PAC file location in the case of DNS.
--> If the computer name is user1.cisco.com then the browser tries to find the pac file location by accessing wpad.cisco.com/wpad.dat
Super Duper Explanation
ReplyDelete