🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63870

Re: xBin Message-ID convention

#63870
From: Dr.Ruud
Date: Wed, 05 Feb 2003 10:24
38 lines
2704 bytes
Kjetil Torgrim Homme skribis:
> [Curt Welch]:

>>   I used ~H to mark the hash so it started with ~XB~H followed by
>>   the hash.  Did you leave that out on purpose or by accident?

> on purpose.  but thinking about it, the policy for what do with an
> unknown hashing scheme opens xBin to abuse.  if I said ~HK, the server
> wouldn't know the hashing method, wouldn't know it actually was a
> bogus hashing method, and couldn't automatically filter corrupt data
> (either during POST or during transit or expire).  it could still
> recognise duplicates, and calculate completion.

From the 'convention':
|  H   hash, the 72 most significant bits of the root hash.  the type is
|      data.  this parameter is mandatory.

I don't see ~H in the examples:
|  Message-ID: <~XB~53F8b3f9C0/1~SVLIw~sBX5A~~hQa@example.com>
|  Content-Type: message/partial; id="~XB~53F8b3f9C0/1~SVLIw~~@xbin;"
|          fragment=1; total=16
|
|  Message-ID: <~XB~53F8b3f9C0/1~SVLIw~sBX5A~oBX5A~~pI+@example.com>
|  References: <~XB~53F8b3f9C0/1~SVLIw~sBX5A~~hQa@example.com>
|  Content-Type: message/partial; id="~XB~53F8b3f9C0/1~SVLIw~~@xbin";
|          fragment=2; total=16
If the ~H is not there, then the default scheme should be applied?

For a new hashing scheme, don't use a new letter. Maybe:
~XB~H~~<scheme-id>~<hash>, or something like:
~XB~H/<scheme-id>/<hash>, or, since the hash-value (is 72-bits) is
12 Base64-characters, put the <scheme-id> in the 13th.

-- 
Affijn, Ruud


Technical Details
Message-ID: <b1qsdg.rc.1@news.isolution.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!newsfeed.xs4all.nl!xs4all!not-for-mail
References: <1rvg0ehvar.fsf@vingodur.ifi.uio.no> <20030203033140.853$4N@newsreader.com> <1r3cn3pnx1.fsf@vingodur.ifi.uio.no>

Show Full Headers
Complete Article Headers
Message-ID: <b1qsdg.rc.1@news.isolution.nl>
Subject: Re: xBin Message-ID convention
Date: Wed, 5 Feb 2003 11:24:54 +0100
From: "Dr.Ruud" <'t.leven.is.fijn@life.i$.great>
References: <1rvg0ehvar.fsf@vingodur.ifi.uio.no> <20030203033140.853$4N@newsreader.com> <1r3cn3pnx1.fsf@vingodur.ifi.uio.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!newsfeed.xs4all.nl!xs4all!not-for-mail
Reply-To: "Dr.Ruud" <rvtol@isolution.nl>
Newsgroups: news.software.nntp
Organization: k-oz drewlz
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1123
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123
X-Face: #{C<X">RxZJ*2)H_&d$Um/=B%{yse{[bKgJ2AxD^-`7rAZej\.vG{F'C$p(>&#cS
Lines: 37
NNTP-Posting-Date: 05 Feb 2003 11:42:58 CET
NNTP-Posting-Host: 24.132.0.158
X-Trace: 1044441778 news.xs4all.nl 49103 rvtol/24.132.0.158:63634
X-Complaints-To: abuse@xs4all.nl