Re: URN namespaces for use in 'magnet' URIs

Mykyta Yevstifeyev <evnikita2@gmail.com> Mon, 25 July 2011 03:04 UTC

Return-Path: <evnikita2@gmail.com>
X-Original-To: urn-nid@ietfa.amsl.com
Delivered-To: urn-nid@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5456211E8078 for <urn-nid@ietfa.amsl.com>; Sun, 24 Jul 2011 20:04:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.506
X-Spam-Level:
X-Spam-Status: No, score=-3.506 tagged_above=-999 required=5 tests=[AWL=0.093, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 9wd-ZLKa8LaX for <urn-nid@ietfa.amsl.com>; Sun, 24 Jul 2011 20:04:43 -0700 (PDT)
Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by ietfa.amsl.com (Postfix) with ESMTP id 6ABDC11E8074 for <urn-nid@ietf.org>; Sun, 24 Jul 2011 20:04:43 -0700 (PDT)
Received: by fxe4 with SMTP id 4so9407968fxe.27 for <urn-nid@ietf.org>; Sun, 24 Jul 2011 20:04:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=0z3nE3VyCJ4nclg2u7Jz86JFuejYUieSs25PhX3+4l4=; b=ESN5+bfN1su0aHodtNVZsL6bd+j5xaNF4yylpqAAfj5eQ+LymG+/4mb/hqmEYIa2pz sCX9CBPF9TpYXHiQwCR1dhyIEisCLZzTBt8ZTcHvyVoRuJiEg9H51gGY0kmb2VBieySK iv5wLj+r0/ZxH1Ay0lHjjhlDh807LgXSZJko4=
Received: by 10.223.57.85 with SMTP id b21mr3957942fah.110.1311563082590; Sun, 24 Jul 2011 20:04:42 -0700 (PDT)
Received: from [127.0.0.1] ([195.191.104.224]) by mx.google.com with ESMTPS id a18sm3536706faa.30.2011.07.24.20.04.40 (version=SSLv3 cipher=OTHER); Sun, 24 Jul 2011 20:04:41 -0700 (PDT)
Message-ID: <4E2CDD73.3050406@gmail.com>
Date: Mon, 25 Jul 2011 06:05:23 +0300
From: Mykyta Yevstifeyev <evnikita2@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
Subject: Re: URN namespaces for use in 'magnet' URIs
References: <4E294706.40602@gmail.com> <4E2C3D96.4070302@stpeter.im>
In-Reply-To: <4E2C3D96.4070302@stpeter.im>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Mon, 25 Jul 2011 12:29:12 -0700
Cc: urn-nid@ietf.org
X-BeenThere: urn-nid@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: discussion of new namespace identifiers for URNs <urn-nid.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/urn-nid>, <mailto:urn-nid-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/urn-nid>
List-Post: <mailto:urn-nid@ietf.org>
List-Help: <mailto:urn-nid-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/urn-nid>, <mailto:urn-nid-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2011 03:04:44 -0000

24.07.2011 18:43, Peter Saint-Andre wrote:
> On 7/22/11 5:46 AM, Mykyta Yevstifeyev wrote:
>> Hello all,
>>
>> The 'magnet' URIs, which are quite popular with P2P networks, have an
>> element named "exact topic" which contains the URN, forming an URI like:
>>
>>> magnet:?xt=<URN>&<other parameters>
>> The URNs used in 'magnet' URIs must be a "hash URN", none of which are
>> currently officially registered.  The hash URN is smth. like
>> <urn:sha1:c3499c2729730a7f807efb8676a92dcb6f8a3f8f>  using SHA-1; see
>> Wikipedia page on 'magnet' URIs -
>> http://en.wikipedia.org/wiki/Magnet_URI_scheme#URN.2C_containing_hash_.28xt.29
>> - for more examples of hash URNs.
>>
>> As I've mentioned, none of used hash URNs use the registered
>> namespaces.  Correspondingly, my question - is there a sense in
>> documenting such ones?
> Why not use UUIDs?
>
> http://tools.ietf.org/html/rfc4122
P2P networks use DHT, Distributed Hash Table, which identifies the file 
using hashes.  See http://en.wikipedia.org/wiki/Distributed_hash_table

Mykyta
>
> Peter
>