Bug 14305

Summary: natd should know FTP EPRT command
Product: Base System Reporter: ume <ume>
Component: binAssignee: ru <ru>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.3-RELEASE   
Hardware: Any   
OS: Any   

Description ume 1999-10-13 17:50:01 UTC
	In RFC2428 (FTP Extensions for IPv6 and NATs), new FTP command
	EPRT was defined.  The EPRT has IP address in a command, like as
	PORT command.  So, to use EPRT, NAT box should know what EPRT is.
	Though EPRT is defined in conjunction with IPv6, EPRT itself is
	protocol independent, and usable with IPv4.
	In IPv6 enabled distribution such as NetBSD-current, FTP client
	try EPRT first, and if fail, fall back to use PORT as default.
	In this senario, if FTP server speak EPRT, FTP data connection
	would be blocked by NAT box.

Fix: 

Please apply the patch resides in:

		http://www.imasy.or.jp/~ume/ipv6/FreeBSD/alias_ftp.c.eprt.diff
How-To-Repeat: 
	Ftp to the server which support EPRT, using EPRT supported
	FTP client.
Comment 1 bill fumerola freebsd_committer freebsd_triage 1999-10-13 18:20:24 UTC
Responsible Changed
From-To: freebsd-bugs->ru

Ruslan would probably want to look at this. 
Comment 2 ru freebsd_committer freebsd_triage 2000-04-06 16:55:21 UTC
State Changed
From-To: open->closed

A slightly modified version committed to 5.0-CURRENT.