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

From: Brett Lymn <brett.lymn_at_baesystems.com>
Date: Tue, 3 Dec 2013 09:15:10 +1030

On Mon, Dec 02, 2013 at 11:53:40AM +0000, Stephen Borrill wrote:
> 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.
>

Could it be bug 3848?

-- 
Brett Lymn
"Warning:
The information contained in this email and any attached files is
confidential to BAE Systems Australia. If you are not the intended
recipient, any use, disclosure or copying of this email or any
attachments is expressly prohibited.  If you have received this email
in error, please notify us immediately. VIRUS: Every care has been
taken to ensure this email and its attachments are virus free,
however, any loss or damage incurred in using this email is not the
sender's responsibility.  It is your responsibility to ensure virus
checks are completed before installing any data sent in this email to
your computer."
Received on Mon Dec 02 2013 - 22:45:21 MST

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