Re: [ftpext] New Version Notification for draft-bryan-ftp-hash-05
Iljitsch van Beijnum <iljitsch@muada.com> Mon, 12 July 2010 23:01 UTC
Return-Path: <iljitsch@muada.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 D98423A6860 for <ftpext@core3.amsl.com>; Mon, 12 Jul 2010 16:01:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.47
X-Spam-Level:
X-Spam-Status: No, score=-2.47 tagged_above=-999 required=5 tests=[AWL=0.130, BAYES_00=-2.599, NO_RELAYS=-0.001]
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 aKiZ3WdjqYas for <ftpext@core3.amsl.com>; Mon, 12 Jul 2010 16:01:37 -0700 (PDT)
Received: from sequoia.muada.com (unknown [IPv6:2001:1af8:2:5::2]) by core3.amsl.com (Postfix) with ESMTP id DF4FD3A68B1 for <ftpext@ietf.org>; Mon, 12 Jul 2010 16:01:28 -0700 (PDT)
Received: from [IPv6:2001:960:7bf:f:223:12ff:fe56:36b2] ([IPv6:2001:960:7bf:f:223:12ff:fe56:36b2]) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id o6CN17Nc088593 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 13 Jul 2010 01:01:08 +0200 (CEST) (envelope-from iljitsch@muada.com)
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset="us-ascii"
From: Iljitsch van Beijnum <iljitsch@muada.com>
In-Reply-To: <AANLkTikPOdAaVSO7wsfEFsXtZwKoBOAWoI9qwnF_wF1F@mail.gmail.com>
Date: Tue, 13 Jul 2010 01:01:32 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <C1EBA743-A82B-4C6A-8D3D-2CDC44080480@muada.com>
References: <20100629052221.092623A6A5C@core3.amsl.com> <alpine.DEB.2.00.1006300000470.1493@tvnag.unkk.fr> <AANLkTikZFhGd3PIwDNrNcKymcoRzc4RHxIJU8TGPztTp@mail.gmail.com> <alpine.DEB.2.00.1006291639050.30072@familiar.castaglia.org> <D2D3FF30-3B2D-4EFA-A308-18A8A56DE596@muada.com> <AANLkTikPOdAaVSO7wsfEFsXtZwKoBOAWoI9qwnF_wF1F@mail.gmail.com>
To: Anthony Bryan <anthonybryan@gmail.com>
X-Mailer: Apple Mail (2.1081)
Cc: ftpext@ietf.org
Subject: Re: [ftpext] New Version Notification for draft-bryan-ftp-hash-05
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, 12 Jul 2010 23:01:40 -0000
On 13 jul 2010, at 0:39, Anthony Bryan wrote: > unless I'm misunderstanding, this would be MORE indirect, unoptimized, > complex and DoSy than the current draft. I'll grant you more indirect and more complex. But don't forget the first rule of client-server: let the client do the hard work. > to be able to answer whether a hash is correct, the server still needs > to know the correct hash? > when you meet someone, do you ask "is your name Bob? no, how about > Jim? no, Ed?" or do you just come right out and ask "what's your > name?" which is simpler? Ah, but the question isn't "what's your name" but something that requires a rather expensive operation, which is always a nice DoS vector. > you mention partial file hashes, some of those nonstandard commands > like XCRC and XMD5 support it with a byte range. > do you think HASH should support partial file hashing? No, because that way the client could ask the server to do an almost infinite number of hashes on a single file, and it makes it impossible for the server to precompute the hashes.
- Re: [ftpext] New Version Notification for draft-b… Daniel Stenberg
- Re: [ftpext] New Version Notification for draft-b… Anthony Bryan
- Re: [ftpext] New Version Notification for draft-b… TJ Saunders
- Re: [ftpext] New Version Notification for draft-b… Iljitsch van Beijnum
- Re: [ftpext] New Version Notification for draft-b… Paul Ford-Hutchinson
- Re: [ftpext] New Version Notification for draft-b… Anthony Bryan
- Re: [ftpext] New Version Notification for draft-b… Iljitsch van Beijnum
- Re: [ftpext] New Version Notification for draft-b… Anthony Bryan
- Re: [ftpext] New Version Notification for draft-b… Iljitsch van Beijnum
- Re: [ftpext] New Version Notification for draft-b… Richard Koenning
- Re: [ftpext] New Version Notification for draft-b… Tim Kosse