Skip to main content

File Transfer Protocol HOST Command for Virtual Hosts
draft-hethmon-mcmurray-ftp-hosts-15

Revision differences

Document history

Date Rev. By Action
2015-10-14
15 (System) Notify list changed from phethmon@hethmon.com, robmcm@microsoft.com, draft-hethmon-mcmurray-ftp-hosts@ietf.org to (None)
2010-11-30
15 (System) Document replaced by draft-ietf-ftpext2-hosts
2010-11-18
15 Alexey Melnikov State changed to Publication Requested::AD Followup from Waiting for AD Go-Ahead::External Party.
2010-06-25
15 Alexey Melnikov All my recent AD comments were resolved in -15
2010-06-24
15 (System) New version available: draft-hethmon-mcmurray-ftp-hosts-15.txt
2010-06-19
15 Alexey Melnikov State Changes to Waiting for AD Go-Ahead::External Party from Waiting for AD Go-Ahead::AD Followup by Alexey Melnikov
2010-06-19
15 Alexey Melnikov Waiting for results of the FTPEXT BOF in Maastricht
2010-06-17
15 (System) Sub state has been changed to AD Follow up from New Id Needed
2010-06-17
14 (System) New version available: draft-hethmon-mcmurray-ftp-hosts-14.txt
2010-06-08
15 Alexey Melnikov State Changes to Waiting for AD Go-Ahead::Revised ID Needed from Waiting for AD Go-Ahead::External Party by Alexey Melnikov
2010-06-08
15 Alexey Melnikov Note field has been cleared by Alexey Melnikov
2010-06-08
15 Alexey Melnikov State Changes to Waiting for AD Go-Ahead::External Party from Waiting for AD Go-Ahead::AD Followup by Alexey Melnikov
2010-06-08
15 Alexey Melnikov Delaying IESG review till after FTP BOF in Maastricht.
2010-06-08
15 Alexey Melnikov [Note]: '
' added by Alexey Melnikov
2010-05-24
13 (System) New version available: draft-hethmon-mcmurray-ftp-hosts-13.txt
2010-05-20
15 (System) Sub state has been changed to AD Follow up from New Id Needed
2010-05-20
12 (System) New version available: draft-hethmon-mcmurray-ftp-hosts-12.txt
2010-05-18
15 Alexey Melnikov State Changes to Waiting for AD Go-Ahead::Revised ID Needed from Waiting for AD Go-Ahead by Alexey Melnikov
2010-05-10
15 (System) State has been changed to Waiting for AD Go-Ahead from In Last Call by system
2010-05-03
15 Amanda Baber
IANA comments:

Upon approval of this document, IANA will make the following assignment
in the "FTP Commands and Extensions" registry at
http://www.iana.org/assignments/ftp-commands-extensions/ftp-commands-extensions.xhtml

+-------+------+-------------------+------+------+-------------------------------------+
| cmd …
IANA comments:

Upon approval of this document, IANA will make the following assignment
in the "FTP Commands and Extensions" registry at
http://www.iana.org/assignments/ftp-commands-extensions/ftp-commands-extensions.xhtml

+-------+------+-------------------+------+------+-------------------------------------+
| cmd | FEAT | description | type | conf | RFC#s/References and Notes
|
| | Code | | | |
|

+-------+------+-------------------+------+------+--------------------------------------+
| HOST | HOST | Hostname | a | o |
[RFC-hethmon-mcmurray-ftp-hosts-11] |

+-------+------+-------------------+------+------+--------------------------------------+
2010-05-03
15 Sam Weiler Request for Last Call review by SECDIR Completed. Reviewer: Hilarie Orman.
2010-04-15
15 Sam Weiler Request for Last Call review by SECDIR is assigned to Hilarie Orman
2010-04-15
15 Sam Weiler Request for Last Call review by SECDIR is assigned to Hilarie Orman
2010-04-12
15 Cindy Morgan Last call sent
2010-04-12
15 Cindy Morgan State Changes to In Last Call from Last Call Requested by Cindy Morgan
2010-04-12
15 Alexey Melnikov Last Call was requested by Alexey Melnikov
2010-04-12
15 Alexey Melnikov State Changes to Last Call Requested from AD Evaluation::AD Followup by Alexey Melnikov
2010-04-12
15 (System) Ballot writeup text was added
2010-04-12
15 (System) Last call text was added
2010-04-12
15 (System) Ballot approval text was added
2010-04-12
15 (System) Sub state has been changed to AD Follow up from New Id Needed
2010-04-12
11 (System) New version available: draft-hethmon-mcmurray-ftp-hosts-11.txt
2010-04-07
15 Alexey Melnikov State Changes to AD Evaluation::Revised ID Needed from AD Evaluation::AD Followup by Alexey Melnikov
2010-04-06
15 (System) Sub state has been changed to AD Follow up from New Id Needed
2010-04-06
10 (System) New version available: draft-hethmon-mcmurray-ftp-hosts-10.txt
2010-02-14
15 Alexey Melnikov
AD review of the document:

2.1. Basic Tokens

  However note that ALPHA, in particular, is
  case sensitive.

I am not sure I understand …
AD review of the document:

2.1. Basic Tokens

  However note that ALPHA, in particular, is
  case sensitive.

I am not sure I understand why: ALPHA allows both lowercased
and uppercased US-ASCII letters.
I suggest you delete this sentence.


3. The HOST command

  A new command "HOST" is added to the FTP command set to allow the
  server-FTP process to determine to which of possibly many virtual
  hosts the client wishes to connect.  This command SHOULD be issued
  before the user is authenticated, allowing the authentication scheme,
  and set of legal users, to be dependent upon the virtual host chosen.
  Server-FTP processes may permit the HOST command to be issued after
  the user has been authenticated, or may treat that as an erroneous
  sequence of commands.  The behavior of a server-FTP process that
  allows late HOST commands is undefined.

I think the document should either prohibit this, or fully define possible outcomes (with corresponding error codes).

  One reasonable
  interpretation would be for the user-PI to be returned to the state
  that existed after the TCP connection was first established, before
  user authentication.


3.1. Syntax of the HOST command

  The HOST command is defined as follows.

      host-command    = "Host" SP hostname CRLF
      hostname        = 1*DNCHAR 1*( "." 1*DNCHAR ) [ "." ]

I don't think this allows for IPv6 addresses due to use of "1*" in
1*( "." 1*DNCHAR )

I.e. at least 1 dot is required. I don't think this is what you wanted, considering that subsequent text allows IPv6 addresses.

      DNCHAR          = ALPHA / DIGIT / "-" / "_" / "$" /
                          "!" / "%" / "[" / "]" / ":"

Why allow "_" / "$" / "!" / "%" ?

It might be better to point to other documents that specify IPv4/IPv6 address syntax.

I think the document should explicitly state that Internationalized Domain Names are only allowed in punycode form here.


3.2. HOST command semantics

  If the hostname specified would normally be acceptable, but for any
  reason is temporarily unavailable, the server SHOULD reply to the
  HOST command with a 421 reply.

Minor: Does this mean that the server should close the connection after returning 421?

4. Security Considerations

  With the introduction of virtual hosts to FTP, and the possible
  accompanying multiple authentication environments, server
  implementers will need to take some care to ensure that integrity is
  maintained.

Integrity of what?
I think this sentence/section might need some improvements.


5. IANA Considerations

  This document has no IANA actions.

As draft-klensin-ftp-registry-04.txt is approved for publication (and thus will be a new RFC soon), you should register the HOST command/extension according to Section 2.2 of draft-klensin-ftp-registry-04.txt. The registration should replace content of Section 5 of your draft.

This section should start with something like:

"IANA is requested to register the following FTP extension according to procedure established by [draft-klensin-ftp-registry]."
2010-02-14
15 Alexey Melnikov State Changes to AD Evaluation::Revised ID Needed from AD Evaluation by Alexey Melnikov
2010-02-11
15 Alexey Melnikov State Changes to AD Evaluation from Publication Requested by Alexey Melnikov
2009-11-20
09 (System) New version available: draft-hethmon-mcmurray-ftp-hosts-09.txt
2009-09-30
08 (System) New version available: draft-hethmon-mcmurray-ftp-hosts-08.txt
2009-09-11
15 Alexey Melnikov State Changes to Publication Requested from AD is watching::AD Followup by Alexey Melnikov
2009-08-20
15 Alexey Melnikov State Changes to AD is watching::AD Followup from AD is watching by Alexey Melnikov
2009-08-19
15 Alexey Melnikov Area acronymn has been changed to app from gen
2009-08-19
15 Alexey Melnikov Draft Added by Alexey Melnikov in state AD is watching
2009-08-14
07 (System) New version available: draft-hethmon-mcmurray-ftp-hosts-07.txt
2009-08-10
06 (System) New version available: draft-hethmon-mcmurray-ftp-hosts-06.txt
2009-07-06
05 (System) New version available: draft-hethmon-mcmurray-ftp-hosts-05.txt
2009-06-29
04 (System) New version available: draft-hethmon-mcmurray-ftp-hosts-04.txt
2009-06-01
03 (System) New version available: draft-hethmon-mcmurray-ftp-hosts-03.txt
2008-12-01
02 (System) New version available: draft-hethmon-mcmurray-ftp-hosts-02.txt
2008-07-14
01 (System) New version available: draft-hethmon-mcmurray-ftp-hosts-01.txt
2007-07-06
00 (System) New version available: draft-hethmon-mcmurray-ftp-hosts-00.txt