Search squid archive

Re: udp_incoming_address and /etc/hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux