Re: [ftpext] HOST back to FTPEXT2 WG for more review

Robert McMurray <robmcm@microsoft.com> Tue, 26 July 2011 02:17 UTC

Return-Path: <robmcm@microsoft.com>
X-Original-To: ftpext@ietfa.amsl.com
Delivered-To: ftpext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BBCC321F87BC for <ftpext@ietfa.amsl.com>; Mon, 25 Jul 2011 19:17:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.934
X-Spam-Level:
X-Spam-Status: No, score=-6.934 tagged_above=-999 required=5 tests=[AWL=0.533, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sVLCYUJUBTyF for <ftpext@ietfa.amsl.com>; Mon, 25 Jul 2011 19:17:59 -0700 (PDT)
Received: from smtp.microsoft.com (mailb.microsoft.com [131.107.115.215]) by ietfa.amsl.com (Postfix) with ESMTP id 310DF21F8760 for <ftpext@ietf.org>; Mon, 25 Jul 2011 19:17:59 -0700 (PDT)
Received: from TK5EX14HUBC102.redmond.corp.microsoft.com (157.54.7.154) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.2.176.0; Mon, 25 Jul 2011 19:17:58 -0700
Received: from VA3EHSOBE009.bigfish.com (157.54.51.81) by mail.microsoft.com (157.54.7.154) with Microsoft SMTP Server (TLS) id 14.1.323.2; Mon, 25 Jul 2011 19:17:58 -0700
Received: from mail69-va3-R.bigfish.com (10.7.14.251) by VA3EHSOBE009.bigfish.com (10.7.40.29) with Microsoft SMTP Server id 14.1.225.22; Tue, 26 Jul 2011 02:17:57 +0000
Received: from mail69-va3 (localhost.localdomain [127.0.0.1]) by mail69-va3-R.bigfish.com (Postfix) with ESMTP id 54E3D11781DC for <ftpext@ietf.org.FOPE.CONNECTOR.OVERRIDE>; Tue, 26 Jul 2011 02:17:57 +0000 (UTC)
X-SpamScore: -20
X-BigFish: PS-20(zz103dKzz1202h1082kzz1033IL8275dhz31h2a8h668h839h944h61h)
X-Spam-TCS-SCL: 0:0
X-Forefront-Antispam-Report: CIP:157.55.61.146; KIP:(null); UIP:(null); IPV:SKI; H:CH1PRD0302HT007.namprd03.prod.outlook.com; R:internal; EFV:INT
Received-SPF: softfail (mail69-va3: transitioning domain of microsoft.com does not designate 157.55.61.146 as permitted sender) client-ip=157.55.61.146; envelope-from=robmcm@microsoft.com; helo=CH1PRD0302HT007.namprd03.prod.outlook.com ; .outlook.com ;
Received: from mail69-va3 (localhost.localdomain [127.0.0.1]) by mail69-va3 (MessageSwitch) id 1311646676678472_22414; Tue, 26 Jul 2011 02:17:56 +0000 (UTC)
Received: from VA3EHSMHS026.bigfish.com (unknown [10.7.14.238]) by mail69-va3.bigfish.com (Postfix) with ESMTP id 8430B238050; Tue, 26 Jul 2011 02:17:56 +0000 (UTC)
Received: from CH1PRD0302HT007.namprd03.prod.outlook.com (157.55.61.146) by VA3EHSMHS026.bigfish.com (10.7.99.36) with Microsoft SMTP Server (TLS) id 14.1.225.22; Tue, 26 Jul 2011 02:17:53 +0000
Received: from CH1PRD0302MB131.namprd03.prod.outlook.com ([169.254.11.249]) by CH1PRD0302HT007.namprd03.prod.outlook.com ([10.28.29.126]) with mapi id 14.01.0225.063; Tue, 26 Jul 2011 02:17:53 +0000
From: Robert McMurray <robmcm@microsoft.com>
To: Paul Ford-Hutchinson <paulfordh@uk.ibm.com>, Daniel Stenberg <daniel@haxx.se>, "ftpext@ietf.org" <ftpext@ietf.org>
Thread-Topic: [ftpext] HOST back to FTPEXT2 WG for more review
Thread-Index: AQHMSv0xR7qFJ/RaKUS0hZb/bMvAeJT9xMHQ
Date: Tue, 26 Jul 2011 02:17:52 +0000
Message-ID: <01AA9EC92749BF4894AC2B3039EA4A2C194E2EA3@CH1PRD0302MB131.namprd03.prod.outlook.com>
References: <CANqTPeggME=FCiTDpAPAMEcNq36zpojshE6W-=PHtB9it+AZZQ@mail.gmail.com> <alpine.DEB.2.00.1107222237120.1581@tvnag.unkk.fr> <OFE237FE3A.1794CEA8-ON802578D8.0039F193-802578D8.003A1E6B@uk.ibm.com>
In-Reply-To: <OFE237FE3A.1794CEA8-ON802578D8.0039F193-802578D8.003A1E6B@uk.ibm.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.28.29.165]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: CH1PRD0302HT007.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%UK.IBM.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%HAXX.SE$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%IETF.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-OriginatorOrg: microsoft.com
X-CrossPremisesHeadersPromoted: TK5EX14HUBC102.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC102.redmond.corp.microsoft.com
Subject: Re: [ftpext] HOST back to FTPEXT2 WG for more review
X-BeenThere: ftpext@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <ftpext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ftpext>, <mailto:ftpext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ftpext>
List-Post: <mailto:ftpext@ietf.org>
List-Help: <mailto:ftpext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ftpext>, <mailto:ftpext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jul 2011 02:17:59 -0000

In response to Daniel's and Paul's emails, which are archived at http://www.ietf.org/mail-archive/web/ftpext/current/msg00388.html and http://www.ietf.org/mail-archive/web/ftpext/current/msg00389.html respectively, Daniel brings up a point in section 3 that has been addressed before, which is where I documented two possible options when a HOST command is issued after the user has been authenticated.

After recent discussions, I do not think that this is necessary after all. In a separate thread it was suggested that the HOST draft should be specific and not provide both options, and after looking at Daniel's and Paul's emails I concede the point that it is probably better for the HOST draft to specify only one option. That being said, I agree with Paul that an implicit REIN is not the way to implement this. FTP already has a REIN command, and it's simple enough for a client to send a REIN command followed by HOST command if that's the desired behavior. Therefore the better option is to return a 503 reply for an erroneous sequence of commands when a HOST command is issued after the user has been authenticated. With that in mind, I am rewording that portion of section 3 as follows:

"Server-FTP processes that conform to this specification MUST treat a situation where the HOST command is issued more than once before the user has been authenticated as though a previous HOST command was not sent, and return the appropriate reply for the new HOST command. Server-FTP processes MUST treat a situation where the HOST command is issued after the user has been authenticated as an erroneous sequence of commands and return a 503 reply."

Of course, in situations where a server-FTP process does NOT implement the HOST command, the server-FTP process will return a 500 or 502 reply, as it would with any other unrecognized command.

As far as specifying a port is concerned, it does not make sense to pass a port in the HOST command. This concept has been discussed previously, see http://www.ietf.org/mail-archive/web/ftpext/current/msg00264.html for details.

Thanks!

--Robert