HP-UX Remote Access Services Administrator's Guide

IPv6 Support
To support IPv6 functionality, you must modify the /etc/inetd.conf file as follows:
ftp stream tcp6 nowait root /usr/bin/ftpd ftpd -l
However, if you specify tcp instead of tcp6, FTP operates in the IPv4 mode.
Following are the features that support IPv6:
Implementation of RFC 2428 (FTP Extensions for IPv6 and NATs)
This RFC specifies a method by which FTP clients and server exchange data
connection information, such as port, host address, and type of protocol family,
for both IPv4 and IPv6 addresses.
FTP uses EPRTand EPSV instead of PORTand PASV, respectively, for IPv6
connections.
EPRT - Extended Port
This command specifies a host port for both IPv4 and IPv6 connections.
Example 2-11 ERPT Command Output for IPv6 and IPv6 Connections
The following displays the output for the EPRT command for both IPv6 and
IPv6 connections.
For IPv4:
------> EPRT 1 132.235.1.2 50934
For IPv6:
------> EPRT 2 fe80::260:b0ff:fec1:7b2f 50934
EPSV - Extended Passive
This command requests a server to listen on a data port and wait for a
connection. The response to this command includes only the TCP port number
of the listening connection.
Example 2-12 EPASV Command Output
An example for the EPASV command is as follows:
ftp> passive
Passive mode on.
------> EPSV
229 Entering Extended Passive Mode ( 9495 ).
IPv6 Support 57