Re: [squid-users] Cannot select peer when request is IP address

From: Stephen Borrill <squid_at_borrill.org.uk>
Date: Mon, 2 Dec 2013 11:53:40 +0000 (GMT)

On Sun, 1 Dec 2013, Amos Jeffries wrote:
> On 30/11/2013 5:03 a.m., Stephen Borrill wrote:
>> I've found a problem with selecting a parent cache if the request is an
>> IP address. Tested with various versions including 3.3.10. Example
>> config fragment is below:
>>
>> cache_peer 192.168.1.143 parent 3128 0 no-query no-digest default name=prox1
>> cache_peer 192.168.1.144 parent 3128 0 no-query no-digest name=prox2
>> never_direct allow all
>> acl domlist dstdomain -n .bbc.co.uk
>
> "-n" means do not use DNS when evaluating the dstdomain against a
> raw_IP. One guess what requesting http://123.234.123.234/ does?

-n was added later in an attempt to get it working. The problem still
occurs without -n.

-- 
Stephen
Received on Mon Dec 02 2013 - 11:53:52 MST

This archive was generated by hypermail 2.2.0 : Tue Dec 03 2013 - 12:00:05 MST