🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Juergen Helbing Fri, 09 May 2003 11:54
URL type and format for Binary Usenet files (by MD5)
#65229
Author: Juergen Helbing
Date: Fri, 09 May 2003 11:54
81 lines
3623 bytes
I hope that our xBin friends will soon have something to implement.
Meanwhile I've been doing a bit encryption (you know ;-) with the MD5
sig of messages and now I'm already implementing the "new style" 
how to retrieve binaries from Usenet. 
I'm already decoding most binaries automatically
and I'll be able to offer them soon by "MD5" identification.

With MD5 signatures for all binaries which are posted to Binary Usenet
(either created by the poster himself, by the site which receives the POST
or some automatic robots which collect binaries) we are having an
excellent method to retrieve from now on predecoded binaries:

I've been thinking about a client-command as:
    binary  md5

The host would then deliver the binary with that md5 like this:
   277 123456789 bytes sent now
   ...<123456789 bytes>...
   crlf.crlf

(Newsreaders+Hosts which are using/accepting the command must
be full 8 bit ;-) 

Of course it will be also possible to retrieve just a partial binary:
   binary  md5  0-15000
(And perhaps news-servers will be soon able to IHAVE also Binaries
directly. At least my own servers will do this in a few days ;-)


Now the question:

If I want to create a textual link to a binary (reference) in a text-message.
How should I name it ?
Either I'm using a completely new "protocol" type:
    fntp://md5
    bin://md5
Or I'm using the nntp/news protocol type but a new identifier:
    nntp://md5
    news://md5

In all three cases (and also in the BINARY command) the md5-argument
would be nothing more than a 32 char string - the MD5 itself.
This would be VERY confusing for everybody.
Mail-Adresses(urls) are having a '@', 
News-MsgIds are always enclosed into <@>
web-urls are having their dots and slashes:  www.xxxx.yyy
IRC channels are having their #

How do you believe should a "Binary Usenet Identifier" be written ?
I've been thinking about: (123456....3132):
    news://(123456....3132)

It would be nice to have characters which can be used also for http
(compatibility). Then users could retrieve a given Usenet Binary
also from their NSP over http with a browser using the same URL.

And the identifier should be also usable for the 'usual' file systems 
as a filename. Then it would be possible to store the binary under
its Usenet Identifier, and not under a filename (with national or 
strange charsets)....

A good question might be also whether it makes sense to add the
MIME type (content) of a binary also into the identifier
(12345...3132-video-mpeg)  ?


In short: I'm looking for a "new way" to give Binaries a URL.
Independently whether they are stored on Usenet, the Users PC
or any other services....

Did anybody already work on the "identifier problem" ?
Do you have proposals for the 'Binary Usenet Identifier' ?
Would the name:  "bURL" (as Binary Url) be acceptable for the
construction ?


TIA for comments
-- 
Juergen

Re: URL type and format for Binary Usenet files (by MD5)
#65236
Author: Curt Welch
Date: Fri, 09 May 2003 19:47
68 lines
3458 bytes
archiver@i3w.com (Juergen Helbing) wrote:
> I hope that our xBin friends will soon have something to implement.

> In short: I'm looking for a "new way" to give Binaries a URL.
> Independently whether they are stored on Usenet, the Users PC
> or any other services....

URLs are not UFLs (Universial File Locators) :).

If it's a URL, it's not independent of access method.  URLs are access
methods combined with an address within the scope of the access method.

> Did anybody already work on the "identifier problem" ?

Many.  That's the entire point of the bitzi "Bitprint" for example.

> Do you have proposals for the 'Binary Usenet Identifier' ?

Of course.  That's a key point of xBin and the main issue which is still
outstanding because it's one which is so important to get right.

xBin proposes the embeding of a universal file ID in every Message-ID.

Message-ID:

  <~XB~H7sPQt9h3Em~SDCWWO~~@xbin.org>

Universal xBin File ID:

  ~XB~H7sPQt9h3Em~SDCWWO~~

URL which could be seen as a usenet file id by smart software:

  news:~XB~H7sPQt9h3Em~SDCWWO~~@xbin.org

> Would the name:  "bURL" (as Binary Url) be acceptable for the
> construction ?

If the world was open to the concept of creating a file-id system in URL
syntax which was independent of access method, then you would want the
label to reflect the system for defining the name space:

  md5:0a2c2e8c862aa8c7aad3795beb782267

  xbin:~XB~H7sPQt9h3Em~SDCWWO~~

Something like that.  But bascially, I think the concept is invalid for
trying to fit into the URL system.

Part of the xBin idea was that a pure xbin file id is syntaxtically unique
enough that it could be used alone in free text as a "file-id".
Newsreaders could spot the strings in text for example and turn them into
items that could be clicked on to allow someone to fetch the corresponding
file from Usenet or elsewhere.  So anyone could post a simple message like
this:

 ~XB~HZiD8KeQC9Z~SB6X~~    crc32.c
 ~XB~HFesF40G+cE~SHcB~~    xpost.c
 ~XB~HIHIR2mlQtO~SEoJr~~   xbin-example-song.mp3

To specify a list of files they had posted to usenet.  To add the files to
the list of stuff the user wanted to download, all they have to do is click
on the file-ids.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: URL type and format for Binary Usenet files (by MD5)
#65243
Author: Mirco Romanato
Date: Sat, 10 May 2003 19:06
28 lines
2107 bytes
"Juergen Helbing" <archiver@i3w.com> ha scritto nel messaggio
news:5154d.953200@archiver.winews.net...
> I hope that our xBin friends will soon have something to implement.
> Meanwhile I've been doing a bit encryption (you know ;-) with the MD5
> sig of messages and now I'm already implementing the "new style"
> how to retrieve binaries from Usenet.


As Curt Welch suggested in the other post, look at Bitzi and at their Magnet
links (http://bitzi.com) for enlightment.
Also look at:
http://magnet-uri.sourceforge.net/
http://groups.yahoo.com/group/magnet-uri

Magnets are designed for be expandible and modular, to integrate different
type of hash if needed, etc.

magnet:?xt=urn:bitprint:WDTGOSWGI5JPH6PCDATSFX3P4EXSYRP7.YG46WZURPSGRJ4RZV5A
SG2ZMWHER2RBNXEWDDNQ&dn=The_Matrix_(1999).CD2.ShareReactor.avi

Example, Shareaza that support Magnet (with SHA-1 and TigerTreeHash) and
eDonkey link, in the following releases, will support Magnet with e2k link
embedded.

Mirco


Re: URL type and format for Binary Usenet files (by MD5)
#65260
Author: JanC
Date: Mon, 12 May 2003 13:49
20 lines
1788 bytes
curt@kcwc.com (Curt Welch) schreef:

> If the world was open to the concept of creating a file-id system in URL
> syntax which was independent of access method, then you would want the
> label to reflect the system for defining the name space:

Sounds like URNs.  :-)

e.g. urn:xbin:~XB~H7sPQt9h3Em~SDCWWO~~

Just like I can type urn:ietf:rfc:2141 in the address bar of my browser and 
it brings me to IETF RFC-2141 after installing this simple extension:
<http://white.sakura.ne.jp/~piro/xul/_urnsupport.html.en>

-- 
JanC

"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads