Re: FTP Extensions for Cryptographic Hashes (draft-bryan-ftp-hash)
Anthony Bryan <anthonybryan@gmail.com> Mon, 12 April 2010 04:59 UTC
Return-Path: <anthonybryan@gmail.com>
X-Original-To: apps-discuss@core3.amsl.com
Delivered-To: apps-discuss@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7E4553A68E9 for <apps-discuss@core3.amsl.com>; Sun, 11 Apr 2010 21:59:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.74
X-Spam-Level:
X-Spam-Status: No, score=-0.74 tagged_above=-999 required=5 tests=[BAYES_20=-0.74]
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 cztjWLB4wKlO for <apps-discuss@core3.amsl.com>; Sun, 11 Apr 2010 21:59:51 -0700 (PDT)
Received: from mail-iw0-f189.google.com (mail-iw0-f189.google.com [209.85.223.189]) by core3.amsl.com (Postfix) with ESMTP id 691B63A68E4 for <Apps-Discuss@ietf.org>; Sun, 11 Apr 2010 21:59:51 -0700 (PDT)
Received: by iwn27 with SMTP id 27so4376781iwn.5 for <Apps-Discuss@ietf.org>; Sun, 11 Apr 2010 21:59:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=YNjlNkt0REwLo468UVulrzTCgcrQvc8LBoc20PTMM/k=; b=WUrTvmhusudKk2HFUNAL6yjhkELd0xj73r8x2zohk5CN97IEuo0cNkufJSPTZprDdf JZ9B8uCuMIC13UUoA0wIqEDU8Moc6SU+bS2CTZi5g7weEsd+fKawr+fCkM2GhQ2vro8z DpZauHBhlpGe4QngtBSPL2kWrVD3njYnAO2es=
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=neF19aVSfHdAx4p0VRIEk4a1WBbTYu8Yf7QEL/N7Zl097S/TXub0Y72oAIm1kiE2o6 6F6U1fS8+MPdqo0HrbUpmW6W7ff/VqrMkXz0eKsWtWXN8VmNbZN1PeKlewPSe1mY4ta3 ipPQZ80jZXjxIH1bGnw0PucjNt+mlt2iE5Wu0=
MIME-Version: 1.0
Received: by 10.231.171.13 with HTTP; Sun, 11 Apr 2010 21:59:42 -0700 (PDT)
In-Reply-To: <Pine.LNX.4.64.1004060900370.13911@ryouko.imsb.nrc.ca>
References: <Pine.LNX.4.64.1004060900370.13911@ryouko.imsb.nrc.ca>
Date: Mon, 12 Apr 2010 00:59:42 -0400
Received: by 10.231.152.75 with SMTP id f11mr1644960ibw.50.1271048382363; Sun, 11 Apr 2010 21:59:42 -0700 (PDT)
Message-ID: <y2pbb9e09ee1004112159ma636eaa0kf69811e5fca534eb@mail.gmail.com>
Subject: Re: FTP Extensions for Cryptographic Hashes (draft-bryan-ftp-hash)
From: Anthony Bryan <anthonybryan@gmail.com>
To: wmaton@ryouko.imsb.nrc.ca
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: Apps-Discuss@ietf.org
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Apr 2010 04:59:52 -0000
On Tue, Apr 6, 2010 at 9:00 AM, William F. Maton Sotomayor <wmaton@ryouko.imsb.nrc.ca> wrote: > > Hi Anthony > > Nice draft. FYI, I'm semi-maintaining the venerable wu-ftpd > codebase, largely for my own purposes as well as to collate the various > patches I have come across the 'net. FYI, wu-ftpd supprts the following to > do something similar (I think it's had that for ages now?) : > > | SITE check_login SP CHECKMETHOD SP method CRLF > | SITE check_login SP CHECKMETHOD CRLF > | SITE check_login SP CHECKSUM SP pathname CRLF > | SITE check_login SP CHECKSUM CRLF > > Right now the code 'cheats' its way to doing it like this: > > 1) Which ones we support: > > reply(200, "Current checksum method: MD5 (RFC1321)"); > reply(200, "Current checksum method: CRC (POSIX)"); > > 2) Making calls to installed programs in the paths. > > And of course in English: > > o Added 'SITE CHECKMETHOD' and 'SITE CHECKSUM'. > > SITE CHECKMETHOD [CRC|POSIX|MD5|RFC1321] > > Sets or displays the current check method. If no parameter is > given, displays the current method; otherwise the method is set to > the given algorithm. CRC and POSIX are equivalent and are the > output of the GNU cksum(1) utility. MD5 and RFC1321 are equivalent > and are the output of the GNU md5sum(1) utility. The default check > method is RFC1321 (MD5). > > SITE CHECKSUM [<file>] > > Calculates the checksum for the named file. If no file is given, > the last file transferred (uploaded or download) is used. If no > file has yet been transferred, reports an error. The current > CHECKMETHOD is used to calculate the checksum. > > Looking at the code it seems to have been introduced sometime in 1998. > > FYI, more on this at my site: > > http://www.wfms.org/wu-ftpd/ > > I'll have a second look at your draft and see if I can offer up any more > comments. Thanks! Hi William, great to hear from someone familiar with current implementations! (I added wuftpd to the appendix listing apps supporting alternate hash commands). We've put out an -01 revision, and you can see diffs here. tools.ietf.org/html/draft-bryan-ftp-hash If you have any more comments, please let us know. -- (( Anthony Bryan ... Metalink [ http://www.metalinker.org ] )) Easier, More Reliable, Self Healing Downloads
- FTP Extensions for Cryptographic Hashes (draft-br… Anthony Bryan
- Re: FTP Extensions for Cryptographic Hashes (draf… Daniel Stenberg
- Re: FTP Extensions for Cryptographic Hashes (draf… Tim Kosse
- Re: FTP Extensions for Cryptographic Hashes (draf… William F. Maton Sotomayor
- Re: FTP Extensions for Cryptographic Hashes (draf… Anthony Bryan