lftp uses ipv6 addresses even when ipv6 is not available
Bug #736479 reported by
James Troup
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://
| ---- Resolving host address...
| ---- 4 addresses found: 2001:7b8:
| ---- Connecting to releases.ubuntu.com (2001:7b8:
| **** connect: Network is unreachable
| ---- Closing HTTP connection
| cd: Success
| lftp releases.
| 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 |
To post a comment you must log in.
/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.;)