Re: [squid-users] Options Requests

From: James Gray <james_gray@dont-contact.us>
Date: Tue, 12 Oct 2004 15:08:21 +1000

On Tue, 12 Oct 2004 02:18 pm, Christian Ricardo dos Santos wrote:
> Hello,
>
> I want to know why, almost all windows XP/2K from our network, send
> multiple requests to the proxy server trying to access some network shares
> or even to resolve names.
>
> How can I avoid it ?
>
> Here are some examples that I copied today from squid access log.
>
> 192.168.74.79 - - [12/Oct/2004:01:55:49 -0300] "OPTIONS http://saturno/
> HTTP/1.0" 403 1578 TCP_DENIED:NONE

** Snipped **

Bypass the proxy for local addresses/domains. How you're configuring your
clients will determine where this is managed:
1. If you're using automatic proxy config, edit the config file that the
   clients read and add something like this:
   (See http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html
   for all the details)

   //If they have only specified a hostname, go directly.
   if (isPlainHostName(host))
       return "DIRECT";

   //These connect directly
   if (shExpMatch(host, "saturno*")||
       shExpMatch(host, "terra*")||
       shExpMatch(host, "epimetheus*")||
       shExpMatch(host, "127.0.0.*"))
       return "DIRECT";

2. If you're configuring the clients in the browsers manually, select whatever
   options are appropriate to bypass the proxy for local addresses.

HTH,

James
Received on Mon Oct 11 2004 - 23:08:35 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST