From ume@mahoroba.org Wed Oct 13 09:45:30 1999
Return-Path: <ume@mahoroba.org>
Received: from peace.mahoroba.org (peace.calm.imasy.or.jp [202.227.26.34])
	by hub.freebsd.org (Postfix) with ESMTP id 7C91F1527E
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 13 Oct 1999 09:45:26 -0700 (PDT)
	(envelope-from ume@mahoroba.org)
Received: (from ume@localhost)
	by peace.mahoroba.org (8.9.3+3.2W/3.7W-peace) id BAA45390;
	Thu, 14 Oct 1999 01:44:16 +0900 (JST)
	(envelope-from ume)
Message-Id: <199910131644.BAA45390@peace.mahoroba.org>
Date: Thu, 14 Oct 1999 01:44:16 +0900 (JST)
From: ume@mahoroba.org
Reply-To: ume@mahoroba.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: natd should know FTP EPRT command
X-Send-Pr-Version: 3.2

>Number:         14305
>Category:       bin
>Synopsis:       natd should know FTP EPRT command
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 13 09:50:01 PDT 1999
>Closed-Date:    Thu Apr 6 08:55:21 PDT 2000
>Last-Modified:  Thu Apr  6 08:57:15 PDT 2000
>Originator:     Hajimu UMEMOTO
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
Internet Mutual Society YOKOHAMA (IMASY)
>Environment:

	Ftp to the server which support EPRT, using EPRT supported
	FTP client.  And, NAT box is resides between FTP server and
	FTP client.

>Description:

	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.

>How-To-Repeat:

	Ftp to the server which support EPRT, using EPRT supported
	FTP client.

>Fix:
	
	Please apply the patch resides in:

		http://www.imasy.or.jp/~ume/ipv6/FreeBSD/alias_ftp.c.eprt.diff


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->ru 
Responsible-Changed-By: billf 
Responsible-Changed-When: Wed Oct 13 10:20:24 PDT 1999 
Responsible-Changed-Why:  
Ruslan would probably want to look at this. 
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Thu Apr 6 08:55:21 PDT 2000 
State-Changed-Why:  
A slightly modified version committed to 5.0-CURRENT. 
>Unformatted:
