RFC1545 FTP Operation Over Big Address Records (FOOBAR)

1545 FTP Operation Over Big Address Records (FOOBAR). D. Piscitello. November 1993. (Format: TXT=8985 bytes) (Obsoleted by RFC1639) (Status: EXPERIMENTAL)

日本語訳
RFC一覧

参照

Network Working Group                                      D. Piscitello
Request for Comments: 1545                                      Bellcore
Category: Experimental                                     November 1993


            FTP Operation Over Big Address Records (FOOBAR)

Status of this Memo

   This memo defines an Experimental Protocol for the Internet
   community.  This memo does not specify an Internet standard of any
   kind.  Discussion and suggestions for improvement are requested.
   Distribution of this memo is unlimited.

Abstract

   This paper describes a convention for specifying longer addresses in
   the PORT command.

Introduction

   This RFC specifies a method for assigning long addresses in the
   HOST-PORT specification for the data port to be used in establishing
   a data connection for File Transfer Protocol, FTP (STD 9, RFC 959).
   This is a general solution, applicable for all "next generation" IP
   alternatives, and can also be extended to allow FTP operation over
   transport interfaces other than TCP.

Acknowledgments

   Many thanks to all the folks in the IETF who casually mentioned how
   to do this, but who left it to me to write this RFC.  Special thanks
   to Rich Colella, Bob Ullmann, Shawn Ostermann, Steve Lunt, and Brian
   Carpenter who had the time and decency to comment on the initial
   draft.  :-)

1.  Background

   The PORT command of File Transfer Protocol allows users to specify an
   address other than the default data port for the transport connection
   over which data are transferred. The PORT command syntax is:

      PORT   

   The  argument is the concatenation of a 32-bit internet
    and a 16-bit TCP .  This address
   information is broken into 8-bit fields and the value of each field
   is transmitted as a decimal number (in character string



Piscitello                                                      [Page 1]

RFC 1545                  FTP Over Big Address             November 1993


   representation).  The fields are separated by commas.  A port command
   is thus of the general form "PORT h1,h2,h3,h4,p1,p2", where h1 is the
   high order 8 bits of the internet host address.

   To accommodate larger network addresses anticipated for all IP "next
   generation" alternatives, new commands and reply codes are needed for
   FTP.  This memo addresses these needs.

2.  The LPRT Command

   The LPRT command allows users to specify a "long" address for the
   transport connection over which data are transferred. The LPRT
   command syntax is:

      LPRT   

   The  argument is the concatenation of the following
   fields;

   o  an 8-bit  argument (af)

   o  an 8-bit  argument (hal)

   o  a  of  (h1, h2, ...)

   o  an 8-bit  (pal)

   o  a  of  (p1, p2, ...)

   The  argument takes the value of the version number
   of IP (see Assigned Numbers, STD 2, RFC 1340), or generally speaking,
   an Internet layer protocol.  Relevant assigned IPng version numbers
   are:

     Decimal         Keyword
     ------          -------
     0               reserved
     1-3             unassigned
     4               Internet Protocol (IP)
     5               ST Datagram Mode
     6               SIP
     7               TP/IX
     8               PIP
     9               TUBA
     10-14           unassigned
     15              reserved





Piscitello                                                      [Page 2]

RFC 1545                  FTP Over Big Address             November 1993


   The value of each field is broken into 8-bit fields and the value of
   each field is transmitted as an unsigned decimal number (in character
   string representation, note that negative numbers are explicitly not
   permitted).  The fields are separated by commas.

   A LPRT command is thus of the general form

      LPRT af,hal,h1,h2,h3,h4...,pal,p1,p2...

   where h1 is the high order 8 bits of the internet host address, and
   p1 is the high order 8 bits of the port number (transport address).

3.  The LPSV Command

   The L(ONG) PASSIVE command requests the server-DTP to listen on a
   data port other than its default data port and to wait for a
   connection rather than initiate one upon receipt of a transfer
   command.  The response to this command includes the address family,
   host address length indicator, host address, port address length, and
   port address this server is listening on.  The reply code and text
   for entering the passive mode using a long address is 228
   (Interpretation according to FTP is: positive completion reply 2yz,
   connections x2z, passive mode entered using long address xy8).  The
   suggested textual message to accompany this reply code is:

      228 Entering Long Passive Mode (af,hal,h1,h2,h3,h4...,pal,p1,p2...)

4.  Permanent Negative Completion Reply Codes

   The negative completion reply codes that are associated with syntax
   errors in the PORT and PASV commands are appropriate for the LPRT and
   LPSV commands (500, 501).  An additional negative completion reply
   code is needed to distinguish the case where a host supports the LPRT
   or LPSV command, but does not support the address family specified.
   Of the FTP function groupings currently defined for reply codes
   (syntax, information, connections, authentication and accounting, and
   file system), "connections" seems the most logical choice; thus, an
   additional negative command completion reply code, 521 is added, with
   the following suggested textual message:

      521 Supported address families are (af1, af2, ..., afn)

   Where (af1, af2, ..., afn) are the values of the version numbers of
   the "next generation" or other protocol families supported.  IP
   address noted earlier.






Piscitello                                                      [Page 3]

RFC 1545                  FTP Over Big Address             November 1993


5.  Rationale

   An explicit address family argument in the LPRT command and LPSV
   reply allows the Internet community to experiment with a variety of
   "next generation IP" alternatives within a common FTP implementation
   framework.  (It also allows the use of a different address family on
   the command and data connections.)  An explicit length indicator for
   the host address is necessary because some of the IPNG alternatives
   make use of variable length addresses.  An explicit host address is
   necessary because FTP says it's necessary.

   The decision to provide a length indicator for the port number is not
   as obvious, and certainly goes beyond the necessary condition of
   having to support TCP port numbers. Currently, at least one IPng
   alternative (TP/IX) supports longer port addresses.  And given the
   increasingly "multi-protocol" nature of the Internet, it seems
   reasonable that someone, somewhere, might wish to operate FTP operate
   over Appletalk, IPX, and OSI networks as well as TCP/IP networks.
   (In theory, FTP should operate over *any* transport protocol that
   offers the same service as TCP.) Since some of these transport
   protocols may offer transport selectors or port numbers that exceed
   16 bits, a length indicator may be desirable.  If FTP must indeed be
   changed to accommodate larger network addresses, it may be prudent to
   determine at this time whether the same flexibility is useful or
   necessary with respect to transport addresses.

6.  Conclusions

   The mechanism defined here is simple, extensible, and meets both IPNG
   and possibly multi-protocol internet needs.

7.  References

   STD 9, RFC 959  Postel, J., and J. Reynolds, "File Transfer Protocol",
                   STD 9, RFC 959, USC/Information Sciences Institute,
                   October 1985.

   STD 2, RFC 1340 Reynolds, J., and J. Postel, "Assigned Numbers",
                   STD 2, RFC 1340, USC/Information Sciences Institute,
                   July 1992.  (Does not include recently assigned IPv7
                   numbers).

   STD 3, RFC 1123 Braden, R., Editor, "Requirements for Internet
                   Hosts - Application and Support", STD 3, RFC 1123,
                   USC/Information Sciences Institute, October 1989.






Piscitello                                                      [Page 4]

RFC 1545                  FTP Over Big Address             November 1993


8.  Security Considerations

   Security issues are not discussed in this memo.

9.  Author's Address

   David M. Piscitello
   Bell Communications Research
   NVC 1C322
   331 Newman Springs Road
   Red Bank, NJ 07701

   EMail: dave@mail.bellcore.com






































一覧

 RFC 1〜100  RFC 1401〜1500  RFC 2801〜2900  RFC 4201〜4300 
 RFC 101〜200  RFC 1501〜1600  RFC 2901〜3000  RFC 4301〜4400 
 RFC 201〜300  RFC 1601〜1700  RFC 3001〜3100  RFC 4401〜4500 
 RFC 301〜400  RFC 1701〜1800  RFC 3101〜3200  RFC 4501〜4600 
 RFC 401〜500  RFC 1801〜1900  RFC 3201〜3300  RFC 4601〜4700 
 RFC 501〜600  RFC 1901〜2000  RFC 3301〜3400  RFC 4701〜4800 
 RFC 601〜700  RFC 2001〜2100  RFC 3401〜3500  RFC 4801〜4900 
 RFC 701〜800  RFC 2101〜2200  RFC 3501〜3600  RFC 4901〜5000 
 RFC 801〜900  RFC 2201〜2300  RFC 3601〜3700  RFC 5001〜5100 
 RFC 901〜1000  RFC 2301〜2400  RFC 3701〜3800  RFC 5101〜5200 
 RFC 1001〜1100  RFC 2401〜2500  RFC 3801〜3900  RFC 5201〜5300 
 RFC 1101〜1200  RFC 2501〜2600  RFC 3901〜4000  RFC 5301〜5400 
 RFC 1201〜1300  RFC 2601〜2700  RFC 4001〜4100  RFC 5401〜5500 
 RFC 1301〜1400  RFC 2701〜2800  RFC 4101〜4200 

スポンサーリンク

format-patch

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る