Hide Forgot
Description of problem: lftp uses ipv6 addresses even when ipv6 is not available Version-Release number of selected component (if applicable): $ rpm -q lftp lftp-4.0.9-1.el6.i686 How reproducible: Always Steps to Reproduce: 1. $ ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:0C:29:1B:72:D9 inet addr:192.168.120.2 Bcast:192.168.120.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3060 errors:0 dropped:0 overruns:0 frame:0 TX packets:2885 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:607125 (592.8 KiB) TX bytes:386040 (376.9 KiB) Interrupt:19 Base address:0x2000 2. $ lftp -d http://ftp.twaren.net/Linux/ ---- Connecting to ftp.twaren.net (2001:e10:5c00:5::9) port 80 **** connect: Network is unreachable ---- Closing HTTP connection cd: Success 3. $ lftp -d http://releases.ubuntu.com/ ---- Connecting to releases.ubuntu.com (2001:7b8:3:37::21:1) port 80 **** connect: Network is unreachable ---- Closing HTTP connection cd: Success Actual results: As above. Expected results: $ lftp http://ftp.twaren.net/Linux/ cd ok, cwd=/Linux Additional info: 1. Similar bug report is available here: https://bugs.launchpad.net/ubuntu/+source/lftp/+bug/736479 2. After switching to lftp-4.2.1-1.fc15.i686.rpm or lftp-4.0.5-2.fc13.i686.rpm, this issue is gone.
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative.
Created attachment 542447 [details] The patch fixes described issue Attached patch corrects errno handling. This enables trying other IPs to connect. The patch fixes this issue for me.
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0793.html