lftp uses ipv6 addresses even when ipv6 is not available

Bug #736479 reported by James Troup
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lftp (Debian)
New
Undecided
Unassigned
lftp (Ubuntu)
Invalid
High
Unassigned

Bug Description

Binary package hint: lftp

lftp uses ipv6 addresses even when ipv6 is not available

| tuna 22:41 ~ % lftp
| lftp :~> debug 9
| lftp :~> open http://releases.ubuntu.com/
| ---- Resolving host address...
| ---- 4 addresses found: 2001:7b8:3:37::21:1, 2001:6b0:e:2018::1337, 2620:0:dc0:1800:214:4fff:fe7d:1b9, 91.189.92.163
| ---- Connecting to releases.ubuntu.com (2001:7b8:3:37::21:1) port 80
| **** connect: Network is unreachable
| ---- Closing HTTP connection
| cd: Success
| lftp releases.ubuntu.com:/9.10/> exit
| zsh: exit 1 lftp
| tuna 22:42 ~ %

This is a regression from maverick.

tags: added: regression-release
removed: regression-proposed
Changed in lftp (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Noël Köthe (noel) wrote :

/etc/lftp.conf from Debian (ubuntu might be the same) is:
# try inet6 before inet
set dns:order "inet6 inet"

which is also the default lftp(1):
       dns:order (list of protocol names)
              sets the order of DNS queries. Default is ``inet6 inet'' which means first look up address in inet6 family, then inet and use
              them in that order. To disable inet6 (AAAA) lookup, set this variable to ``inet''.

lftp tries to connect first to IPv6 and then v4. The connection still works (after the v6 tries).
But correct me.;)

Changed in lftp (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.