[Bug 675409] New: alpine doesn't connect through IPv6 if available
https://bugzilla.novell.com/show_bug.cgi?id=675409 https://bugzilla.novell.com/show_bug.cgi?id=675409#c0 Summary: alpine doesn't connect through IPv6 if available Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: max@novell.com ReportedBy: jkosina@novell.com QAContact: qa@suse.de Found By: Development Blocker: --- alpine doesn't seem to be connecting through IPv6 even if it's available both on the host system and the server (which is what all applications are supposed to be doing by default). I guess alpine is being compiled without IPv6 support ... ? Seems to be the case with Factory version as well. Thanks in advance. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=675409
https://bugzilla.novell.com/show_bug.cgi?id=675409#c1
Reinhard Max
alpine doesn't seem to be connecting through IPv6 even if it's available both on the host system and the server (which is what all applications are supposed to be doing by default).
Please give more details on what kind of connection you are trying to establish (SMTP, IMAP, POP3) and how it fails.
I guess alpine is being compiled without IPv6 support ... ?
AFAICS alpine has IPv6 enabled by default and we don't explicitly disable it at build time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=675409
https://bugzilla.novell.com/show_bug.cgi?id=675409#c2
Jiri Kosina
Please give more details on what kind of connection you are trying to establish (SMTP, IMAP, POP3) and how it fails.
It just doesn't seem to be using IPv6 at all (I am using SMTP and IMAP, not tried POP3) and always falls back to IPv4, even when IPv6 connection to the server available. 1) IMAP. Server is 'twin.jikos.cz'. It responds on port 143 on its IPv6 address: $ telnet twin.jikos.cz 143 Trying 2001:470:1f15:1724::1... Connected to twin.jikos.cz. Escape character is '^]'. * OK Dovecot ready. but alpine is connecting to its IPv4 address apparently: netstat -tupan | grep alpine tcp 0 0 192.168.1.102:38048 89.185.236.188:143 ESTABLISHED 18353/alpine 2) SMTP. Server is 'twin.jikos'cz again. It responds on port 25 on its IPv6 address: $ telnet twin.jikos.cz 25 Trying 2001:470:1f15:1724::1... Connected to twin.jikos.cz. Escape character is '^]'. 220 twin.jikos.cz ESMTP Sendmail 8.13.6/8.13.6; Mon, 28 Feb 2011 10:18:07 +0100 but alpine is apparently using IPv4 again, as can be seen for example in the headers of the mails sent through this SMTP server: Received: from [192.168.1.102] (ip-78-102-86-15.net.upcbroadband.cz [78.102.86.15]) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=675409
https://bugzilla.novell.com/show_bug.cgi?id=675409#c3
Reinhard Max
https://bugzilla.novell.com/show_bug.cgi?id=675409
https://bugzilla.novell.com/show_bug.cgi?id=675409#c4
Eduardo Chappa
The problem is, that alpine only attempts to connect to the first address in the list returned by getaddrinfo() (to mimic the behaviour of gethostbyname()), which e.g. breaks when the server has an IPv6 address, but the daemon alpine asks for only listens on IPv4, or when there is no IPv6 routing between the two machines despite both having IPv6 addresses.
Eduardo, do you know if re-alpine is any better in that respect?
Sorry for the late reply. There is no much difference in the code of Alpine 2.00 and any version of Re-Alpine, and certainly the difference is not in this. If you do not have the problem why the support was disabled, then you probably will be fine. -- Eduardo -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=675409
https://bugzilla.novell.com/show_bug.cgi?id=675409#c5
Reinhard Max
participants (1)
-
bugzilla_noreply@novell.com