This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.

FTPPortMapper6 Element Documentation

NAME

FTPPortMapper6 -- Click element; Translates FTP control commands.

SYNOPSIS

FTPPortMapper6(TCPAddressTranslator)

Ports: 2 inputs, 2 outputs
Processing: push
Package: ip6_natpt

DESCRIPTION

Expects FTP control packets. Watches packets for PORT/EPRT, PASV/EPSV commands and their respective responses in IPv4/IPv6 packets. It must be used after after the packets are translated from IPv4 to IPv6 or vice versa, because FTPPortMapper6 takes the source address of the packet to replace it in the PORT/EPRT command to be translated. It works like this: Connection from a IPv4 FTP client to a IPv6 FTP Server: - if the client sends a PORT command, it gets translated to a EPRT command. The

 the IPv6 address for the EPRT command is taken from the source address field in
 the IPv6 header and the port number is taken from the old PORT command.
 It's response gets translated too (200 EPRT command successful to 200 PORT command
 succesful).

- if the client sends a PASV command, it gets translated to a EPSV command. It's

 response gets translated too.

Connection from a IPv6 FTP client to a IPv4 FTP Server: - if the client sends a EPRT command, it gets translated to a PORT command. The

 the IPv4 address for the PORT command is taken from the source address field in
 the IPv4 header and the port number is taken from the old EPRT command.
 It's response gets translated too(200 PORT command successful to 200 EPRT command
 succesful).

- if the client sends a EPSV command, it gets translated to PASV command. It's

 response gets translated too.

This makes FTP possible through a NAT-PT setup. RFC 959, File Transfer Protocol (FTP) RFC 2428, FTP extensions for IPv6 RFC 2765, Stateless IP/ICMP Translation Algorithim (SIIT)

Generated by 'click-elem2man' from 'package/ftpportmapper6.hh:6' on 17/Jan/2012.

COMMENTS

 
elements/ftpportmapper6.txt · Last modified: 2012/01/17 10:23 (external edit)
 
Recent changes RSS feed Driven by DokuWiki