🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62617

Re: yEnc decoding implementation

#62617
From: Curt Welch
Date: Tue, 31 Dec 2002 19:41
79 lines
4548 bytes
Rene <invalid@email.addr> wrote:
> J�hnny_F�v�r�t�_(it_means_"Explosive_Crap_Laser") <this.is@fake.com>
> wrote:
> > Rene wrote:
> > > However xBin does neither use nor need MIME, so that too might put
> > > some people off.
> >
> > Why?  (Yes, I know you guys are posting about eighty billion words
> > about this stuff right now, but that's just the thing, it's *way* too
> > much for me to read all of it.)
>
> Well my words were not so well chosen. Fact is: It has not been designed
> yet. We're discussing the fundamental basis for the xBin system, up to
> now, the question of how the actual binary data is appended to a xBin
> posting (xBin posting = a xBin header plus a special message-id) has
> simply not been specified yet.

I see it as intentionally independent.  xBin is a usenet binary meta data
standard to allow both newsreaders and news servers to know what data they
are downloading and transporting.

> Actually thinking about it, we haven't even defined how the filename is
> being transmitted.

The xBin id _is_ the file name.  If someone wants to include another name,
it's done outside of the xBin standard (and they will of course do that).

> For xBin, all what counts is the file-hash. Of course
> sooner or later we have to adress these questions. But at the moment,
> consider xBin just to be a special way of creating some headers.

This is an xBin data ID:

  $XB$Hx/I8REUBPH$SEoJr$oAA$sBa$$

It is a world-unique identifier for a chunk of data being transported by
Usenet. There is no other meta-data needed to identify that data.  How the
data is transport may change over time.

For starters, it's going to be transport in RFC-1036-style articles.

Here is a Message-ID of an RFC-1036 article containing the above data:

  <$XB$Hx/I8REUBPH$SEoJr$oAA$sBa$$zXe@xbin.org>

The standard for how data is encoded in an RFC-1036 article is (mostly) out
of the realm of xBin.  It's in the realm of Usefor, and MIME, and uuecode,
and yEnc.  Those are the standards that deal with this.

Half the point of xBin is to create a data-id standard that could take is
to a time where data was transported separate from RFC-1036 articles by
Usenet.

If we went there, then the standards for how Usenet would do that would
probably be a new NNTP extension and have nothing to do with MIME or
uuencode, or yEnc, and the file name would probably not be transported with
the data, though maybe it could.  There would be a separate text post that
said "the following xBin file has been posted to usenet, and oh, BTW, the
file name I used for it was "bigfile.vcd".

> So basically it looks like each xBin posting has one full file attached
> (that should qualify as non-multipart, right?)

Each xBin posting at first will be done in the exact same format is they
are currently done - as multiplart or singlepart files.

You can not really use xBin to put to files in one post, though I guess in
theory you could do this:

<$XB$Hx/I8REUBPH$SEoJr$$zXe$XB$Hinh8RIKJF8j$SATJr$$@xbin.org>
 ------file1------------   -------file2-----------

To put two files in one Message and still follow the idea (the signature
header would break however).

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20021231144148.538$ul@newsreader.com>
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.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <PM0003B2ED450C7E1E@minion.nashville.comcast.net> <20021229082401.490$G0@newsreader.com> <PM0003B30F3B8CE199@minion.nashville.comcast.net> <20021231084658.395$lx@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <20021231144148.538$ul@newsreader.com>
Subject: Re: yEnc decoding implementation
Date: Tue, 31 Dec 2002 19:41:48 +0000
From: curt@kcwc.com (Curt Welch)
References: <PM0003B2ED450C7E1E@minion.nashville.comcast.net> <20021229082401.490$G0@newsreader.com> <PM0003B30F3B8CE199@minion.nashville.comcast.net> <20021231084658.395$lx@newsreader.com>
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.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com rk7btMWKXm7jiY.K88FMphXk6Z//9+mW9B./_w8__5DYOVEu
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 78