Re: [Exim] 4.14: IPv6 on glibc 2.2.4 (SuSE-Linux 7.3) system…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Lutz Pressler
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] 4.14: IPv6 on glibc 2.2.4 (SuSE-Linux 7.3) systems broken
On Wed, 12 Mar 2003, Lutz Pressler wrote:

> I'm afraid, but the change in IPv6 socket initialization
> (46 b of ChangeLog-4.14)
>    Exim calls getaddrinfo() instead of inet_pton() to convert a textual
>    IPv6 address for actual use. This function recognizes the percent
>    convention in some operating systems.

>
> seems to have broken IPv6 support on (older) Linux systems.


Sigh.

> Tested on a SuSE 7.3 system with latest available glibc (2.2.4)
>
> configure-file containing
> "local_interfaces = <; 0.0.0.0 ; 2001:638:603:abcd::1"


My tests only use

local_interfaces = <; 127.0.0.7 ; ::1

and that works on Solaris 8. I will try testing with other values, just
to make sure it's not something general that I have screwed up.

> Maybe it is necessary to make the old mechanism optionally available, too?


Since getaddrinfo() is now called in just one place, changing it should
be relatively simple.

But I'm also waiting to hear if other people hit this problem...

Philip


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.