Re: [ftpext] I-D Action:draft-ietf-ftpext2-hash-00.txt

Anthony Bryan <anthonybryan@gmail.com> Mon, 03 January 2011 22:14 UTC

Return-Path: <anthonybryan@gmail.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 C6FBF3A6C99 for <ftpext@core3.amsl.com>; Mon, 3 Jan 2011 14:14:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.257
X-Spam-Level:
X-Spam-Status: No, score=-3.257 tagged_above=-999 required=5 tests=[AWL=0.342, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 nYQEHkXhesud for <ftpext@core3.amsl.com>; Mon, 3 Jan 2011 14:14:36 -0800 (PST)
Received: from mail-ew0-f44.google.com (mail-ew0-f44.google.com [209.85.215.44]) by core3.amsl.com (Postfix) with ESMTP id 591083A693B for <ftpext@ietf.org>; Mon, 3 Jan 2011 14:14:36 -0800 (PST)
Received: by ewy8 with SMTP id 8so6300138ewy.31 for <ftpext@ietf.org>; Mon, 03 Jan 2011 14:16:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Kk9+2CTaR6guGSKrjHwWwH9o0WmVw9zufSwiTkKLIVQ=; b=RV1MhRk/oXm407ewp/6+rkdykgWnXSbe1CYJ7LqAGNZ1aIAlRBgs0Vklggwd/5YxHW q+X2miJL97ceU2Ezvv5cnXwrTxsiXcPNgitkQ1UoKHBv3Gb4Zd85Kb3T7La6Dr3ZYtVR 7190AGO2uWhDjb6Mne2dHmqzHIhp/ts9qi8S4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Rzjm9vmj0Q6Q1iGNTYZ8TDrAvxJB4we4x191TUCZfsxiD4Y6yHr+AYjvTORGVRLlQX ymBEHxYs9AB2FElj0QVqqGgF8e9pCq1hMAgPt8FTMfUBGUuYRCqmvfEW7bu8I2AesoTY yrEilq6CwSy2yzF+ylA+5Edp58RuPGPg8Wvzk=
MIME-Version: 1.0
Received: by 10.213.23.12 with SMTP id p12mr4477366ebb.50.1294093002189; Mon, 03 Jan 2011 14:16:42 -0800 (PST)
Received: by 10.213.9.208 with HTTP; Mon, 3 Jan 2011 14:16:42 -0800 (PST)
In-Reply-To: <AANLkTi=i5A4RogvHLJuhsRJ0cFOOYGHkAk+aDwEvg_o7@mail.gmail.com>
References: <20101124224501.31531.96663.idtracker@localhost> <4CEDAA9A.8030303@kimmeringer.de> <AANLkTik8Bv9YKo+uPt0ntk9OS0qQW2T5_RJ56CFZxMnS@mail.gmail.com> <4CEF00C0.5050200@gmail.com> <AANLkTimFeub1ynp4UcKAv84GP9f=gcG485jUgT82mB87@mail.gmail.com> <4CEFDCB9.6010203@gmail.com> <AANLkTi=i5A4RogvHLJuhsRJ0cFOOYGHkAk+aDwEvg_o7@mail.gmail.com>
Date: Mon, 3 Jan 2011 17:16:42 -0500
Message-ID: <AANLkTik4Lg_NQNDhRSfBki94Qkfdk_-52-AW0s+icezu@mail.gmail.com>
From: Anthony Bryan <anthonybryan@gmail.com>
To: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>, Daniel Stenberg <daniel@haxx.se>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ftpext@ietf.org
Subject: Re: [ftpext] I-D Action:draft-ietf-ftpext2-hash-00.txt
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: Mon, 03 Jan 2011 22:14:37 -0000

2010/11/29 Anthony Bryan <anthonybryan@gmail.com>:
>
> so, people seem to be interested in partial file hashing. I think it
> is worth considering, even though it makes things more complicated and
> there are potential security issues.
>
> any suggestions how to add this to the current draft?

so, we have a new RANGe command [1] ID for specifying byte ranges.

used with RETR:

   C> RANG 802816 1000000
   S> 350 Restarting at 802816. End Byte range at 1000000. Send RETRIEVE
   C> RETR cap60.pl198.tar

what does everyone think of using RANGe with HASH to specify the byte
range for the optional partial file hashing?

   C> RANG 802816 1000000
   S> 350 Byte range starting at 802816, ending at 1000000.
   C> HASH filename.ext
   S> 213 SHA-256 f0ad929cd259957e160ea442eb80986b5f... filename.ext
802816 1000000

-- 
(( Anthony Bryan ... Metalink [ http://www.metalinker.org ]
  )) Easier, More Reliable, Self Healing Downloads

[1] http://tools.ietf.org/html/draft-bryan-ftp-range