Re: [squid-users] udp_incoming_address and /etc/hosts

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 03 Mar 2012 00:09:13 +1300

On 2/03/2012 11:01 p.m., Matus UHLAR - fantomas wrote:
>>>>> On 01.03.12 12:50, Matus UHLAR - fantomas wrote:
>>>>>> 195.168.1.136 proxy1.nextra.sk proxy.nextra.sk
>>>>> ...
>>>>>> udp_incoming_address proxy.nextra.sk
>>>>> ...
>>>>>> 2012/03/01 12:26:32| Accepting ICP messages at 0.0.0.0:3130, FD 21.
>
>>> On 02.03.12 02:35, Amos Jeffries wrote:
>>>> http://www.squid-cache.org/~amosjeffries/patches/squid-3.1_incoming_hostname.patch
>>>>
>
> On 02.03.12 15:05, Amos Jeffries wrote:
>> Regression added with IPv6 :( . Sorry about that and thank you for
>> the quick feedback.
>> It's now working its way down to 3.1 and should be in the next stable.
>
> That reminds me of a question - should this work if the host has
> both ipv4 and ipv6 address in hosts?
>

Yes. But it only uses the first compatible address which gethostbyname()
finds. For example, IPv4-only Squid skip to the first v4 address listed.

Amos
Received on Fri Mar 02 2012 - 11:09:19 MST

This archive was generated by hypermail 2.2.0 : Fri Mar 02 2012 - 12:00:02 MST