[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exim and IPv6 Help
Jaromír Dolecek wrote:
>Jun-ichiro itojun Hagino wrote:
>
>>>Or, here is what I get when I try to run the JDK1.4beta in IPv6 mode on NetBSD-current:
>>> Jul 13 18:35:20 /netbsd: pid 5470 (java), uid 0: obsolete pre-RFC2553 sockaddr_in6 rejected
>>> Jul 13 18:35:21 /netbsd: pid 5470 (java), uid 0: obsolete pre-RFC2553 sockaddr_in6 rejected
>>>
>> the binary was compiled with obsoleted IPv6 API (RFC2133) and is
>> not compatible with NetBSD linux emulation code.
>>
>
>[..]
>All in all, your problem is not really fixable in Linux compat
>code. It's just common Linux mess - they shipped experimental code in
>official releases again :( Unless you can find some JDK1.4 binary compiled
>on more relecent Linux with RFC2553 API, you are stuck with Linux
>I'm afraid :(
>
>BTW, does Linux IPv6 stack provide any backward compatibility
>for pre-RFC2553 addresses, or the JDK1.4 binary fails on modern
>Linux kernels as well?
>
JDK1.4beta is a new releases, and works with all the recent Linux
kernels (JavaSoft recommends
a kernel >2.4.2, which is where IPv6 is not marked expermental anymore).
I've another theoriy on why the JDK uses old addresses: I'm pretty sure
the JDK has support
for both addresses, and has a mean to probe the kernel to find which one
is supported (maybee
based on the kernel version). Because the Linux emulation is incomplete,
the JDK make the
wrong guess and uses the older addresses.
Anyway, it's just a guess, and I will dig a little bit further on this
issue later this month,
when I come back from vacations.
Cedric.