Bug 854150

Summary: ftp does not support IPv6 on RHEL-5
Product: Red Hat Enterprise Linux 5 Reporter: Patrik Kis <pkis>
Component: ftpAssignee: Jan Synacek <jsynacek>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8CC: dapospis
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-02 11:54:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Patrik Kis 2012-09-04 08:03:03 UTC
Description of problem:
While vsftpd supports IPv6 on RHEL-5 it seems ftp (the client) does not.

Version-Release number of selected component (if applicable):
ftp-0.17-37.el5

How reproducible:
always

Steps to Reproduce:
1. Enable IPv6 in vsftpd ad start the daemon
# netstat -na | grep :21
tcp        0      0 :::21                       :::*                        LISTEN      

2. Connect via ftp
# ftp 2000:dead:beef:a:5054:ff:fe68:13d4
ftp: 2000:dead:beef:a:5054:ff:fe68:13d4: unknown host
ftp> bye
# ftp ::1
ftp: ::1: unknown host
ftp> bye

3. The connection was verified from RHEL-6 ftp client and it worked.
  
Actual results:
ftp via IPv6 fail

Expected results:
ftp support IPv6

Additional info:

Comment 1 RHEL Program Management 2012-09-04 08:09:45 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 3 Jan Synacek 2012-10-02 11:54:19 UTC
Please, make sure you are using ftp client from the 'ftp' package, not the kerberized version.

# which ftp
/usr/kerberos/bin/ftp

This version is from krb5 package and it probably doesn't support ipv6.

The client from 'ftp' package does support ipv6:

# /usr/bin/ftp ::1
< connection ok >