Re: [ftpext] draft-ietf-ftpext2-hash command name and default algorithm

Robert Oslin <rto@globalscape.com> Tue, 18 January 2011 14:37 UTC

Return-Path: <rto@globalscape.com>
X-Original-To: ftpext@core3.amsl.com
Delivered-To: ftpext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AD34728C119 for <ftpext@core3.amsl.com>; Tue, 18 Jan 2011 06:37:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.855
X-Spam-Level:
X-Spam-Status: No, score=-1.855 tagged_above=-999 required=5 tests=[AWL=0.744, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5JxfKLKOTiLk for <ftpext@core3.amsl.com>; Tue, 18 Jan 2011 06:37:31 -0800 (PST)
Received: from webmail.globalscape.com (exchange.globalscape.com [208.89.186.61]) by core3.amsl.com (Postfix) with ESMTP id AAA4728C117 for <ftpext@ietf.org>; Tue, 18 Jan 2011 06:37:31 -0800 (PST)
Received: from exchange.forest.intranet.gs ([127.0.0.1]) by exchange ([127.0.0.1]) with mapi; Tue, 18 Jan 2011 08:40:08 -0600
From: Robert Oslin <rto@globalscape.com>
To: "ftpext@ietf.org" <ftpext@ietf.org>
Date: Tue, 18 Jan 2011 08:40:05 -0600
Thread-Topic: [ftpext] draft-ietf-ftpext2-hash command name and default algorithm
Thread-Index: Acu2gYMhqyjOZJzlR9qBH5ePdgO7QAAm1byQ
Message-ID: <F15941D3C8A2D54D92B341C20CACDF2311976FF0A8@exchange>
References: <F15941D3C8A2D54D92B341C20CACDF2311976FECC9@exchange> <20110117175600.2F89028C1A2@core3.amsl.com>
In-Reply-To: <20110117175600.2F89028C1A2@core3.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [ftpext] draft-ietf-ftpext2-hash command name and default algorithm
X-BeenThere: ftpext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <ftpext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 18 Jan 2011 14:37:32 -0000

I don't see why we need a reply that includes information the client already knows (hash used, filename, etc.). Only the hash is needed, hence option (a) below. 

Again, I'm not insisting on XCRC over HASH and CRC32 over SHA-1 as the default algorithm; I'm simply make the case that doing so will ease the path for adopting the new standard for most FTP server client/server vendors.

Robert Oslin

-----Original Message-----
From: Sob [mailto:sob@nvnet.cz] 
Sent: Monday, January 17, 2011 11:58 AM
To: ftpext@ietf.org
Subject: Re: [ftpext] draft-ietf-ftpext2-hash command name and default algorithm


At 17:04 17.1.2011, Robert Oslin wrote:
>I believe it would make life easier on developers and speed the 
>adoption of your RFC if you considered changing the following:
>
>1. Keep the command XCRC ...
>2. Keep the default hash CRC32 ...

You would have to keep one more thing, "250 <crc>" as default (or 
only) reply format, otherwise old clients with knowledge of only the 
old XCRC wouldn't know what to do with it.

So you can either:

a) scratch all new reply format ideas and stick with the old one; 
after all, it shouldn't be that hard for client to remember what it 
asked for (filename, range, hash type)

b) force new clients to support two completely different reply 
formats, otherwise they wouldn't understand old servers and the 
"instant success" would not happen; again, it's probably doable, 
developers are clever people and the two formats should be different 
enough to get properly recognized

But essentially it would still be two different commands, only with 
the same name, no real advantage. Old client wouldn't benefit from 
new server and the other way around.

--