Penguin

Differences between version 45 and predecessor to the previous major change of WPAD.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 45 Last edited on Friday, October 13, 2006 1:30:36 pm by DuaneWessels Revert
Older page: version 43 Last edited on Tuesday, July 18, 2006 5:03:18 am by AristotlePagaltzis Revert
@@ -52,9 +52,9 @@
 * <tt>~http://wpad.net.nz/wpad.dat</tt> 
  
 (It’s only supposed to check to the second level, but according to the [Microsoft Security Bulletin MS99-054 | http://www.microsoft.com/technet/security/bulletin/ms99-054.mspx] the third level was special-cased in some unspecified ways. Presumably someone could register <tt>wpad.co.nz</tt> and be really nasty if they wanted.) 
  
- ''<tt>wpad.com</tt> does actually exist and is owned by Duane Wessles, the author of [Web Caching | http://www.oreilly.com/catalog/webcaching/]. There's no <tt>wpad.dat</tt> there. I mailed him a while back asking about it, and he constantly gets between 10 and 40 hits per second depending on the time of day. The 404 logs for that site are at http://www.life-gone-hazy.com/~snmp /http_status.cgi if you're interested.'' —zcat(1) 
+ ''<tt>wpad.com</tt> does actually exist and is owned by Duane Wessles, the author of [Web Caching | http://www.oreilly.com/catalog/webcaching/]. There's no <tt>wpad.dat</tt> there. I mailed him a while back asking about it, and he constantly gets between 10 and 40 hits per second depending on the time of day. The 404 logs for that site are at http://www.life-gone-hazy.com/%7esnmp /http_status.cgi if you're interested.'' —zcat(1) 
  
 Note: you might need to take the tick out of the check box and put it back in order to make it go. 
  
 Warning: beware that Internet Explorer 5.5+ may cache your wpad file and not recognize future changes you make to it -- this feature is referred to as Automatic Proxy Result Cache ([MS KB 271361 | http://support.microsoft.com/default.aspx?scid=kb;EN-US;271361]). If you turn off "Automatically detect settings", save the change, restart IE, turn it back on, and restart IE again, then it will force a refresh of the <tt>wpad.dat</tt> file from your WebServer. (If you're lucky. It seems IE 6 refuses to flush even then.) Here is [a Google Groups discussion of the issue | http://groups.google.com/groups?selm=b6239t%24mif%241%40FreeBSD.csie.NCTU.edu.tw]. 
@@ -123,9 +123,11 @@
 * [Super Proxy Scripts|http://naragw.sharp.co.jp/sps/] 
  
 ---- 
  
-Notes by Michael Zieger: 
+!!Konqueror and isInNet() function  
+  
+ Michael Zieger writes
  
 If you try to use a wpad.dat in Konqueror (I tested version 3.2.2), be aware that the following does NOT work: 
  
 <verbatim> 
@@ -164,12 +166,31 @@
 else 
  return proxy_no; 
 </verbatim> 
  
-Now you even can differentiate between Konqueror and InternetExplorer, and could give them different proxies. If you want to download the running config, visit http://zmi.at/wpad.dat 
+Now you even can differentiate between Konqueror and InternetExplorer, and could give them different proxies. If you want to download the running config, visit http://zmi.at/wpad.dat.  
+  
+Kasper Sandberg reports that isInNet works with a proxy.pac file in 3.5.3.  
  
 ---- 
  
-''I do not know about using <tt>wpad .dat </tt>, but using <tt >proxy .pac</tt> isInNet() works perfectly in konqueror , i have tested in 3 .5 .3 .'' --Kasper Sandberg  
+!!Localhost routing broken  
+  
+Google Desktop Search being blocked? Add an <tt>isInNet(host, "127 ...", "255...") </tt>:  
+  
+ <verbatim >  
+function FindProxyForURL(url, host)  
+{  
+ if (  
+ dnsDomainIs(host, " .local") ||  
+ isInNet(host, "127...1", "255.255.255.255" ) ||  
+ isInNet(host , "10 .7 .x .", "255.255.255.") ||  
+ isPlainHostName(host)  
+ )  
+ return "DIRECT";  
+ else  
+ return "PROXY wherever:8080; DIRECT";  
+}  
+</verbatim>  
  
 ---- 
 CategorySystemAdministration