🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63795

Re: xBin (Power-Post 2003 - requesting input from authorities..)

#63795
From: Curt Welch
Date: Sat, 01 Feb 2003 17:01
62 lines
4634 bytes
Rene <invalid@email.addr> wrote:
> Collections sort of builds upon xBin - so I could say its not xBin's
> problem. However I do see some benefits if we'd just define such a
> collection within xBin. Basically we could define a new file extension
> like sfv or par. xbc - XBin Collection for example. It could be something
> like this:
>
> [start]
> string -  file magic number "xbc v1"
> int -  number of entries
> (num entries times)*
>  int - length of filename
>  string - filename
>  20*byte - xBin SHA-1 hash for this file
> [end]
>
> Maybe adding some space for comments, additional data.

I'm still reading and following-up to these articles out of order - so
please excuse the confusion...

Yes, the above I think is the right approach to the collection problem.

If you post a collection file then it's xbin-id becomes a secure hash of
all the data in the entire collection.  It's not a "unique" hash for just
the data but it is a unique hash for the data and the collection file
combined.  Without breaking the underlying hash, there is no way to fake
the "collection".

There are reasons to include a standard for the format of the collection
file in the xBin spec, but finding a good format for that file I think is
going to require a ton of debate.  You want it to have enough "power" to
replace current collection files like cvs and par (and maybe zip/tar) yet
have enough flexibility to be drop-in replacements for the them as well
(not requiring a lot of additional information the current applications
don't know about files).

I was thinking an XML based format might be good.  But I don't know much
about XML other than it's general power so I have a lot to learn there.

But once you start with a general format, you then had to debate the fine
points of all the data fields and what is or is not required and how things
can be extended or expanded later.  Big job.

With xBin, even without a collection file standard, any application can
post any format collection file and get all the same security even if we
don't add it to the spec. So the job of creating a collection file standard
can I believe be mostly put off until after the xBin basic stuff gets
nailed down.

HOwever, the one thing I've mentioned in another post about this is that
there would be a good reason to add on more flag bit to the xBin-ID to
specify whether the file was a collection file (i.e. like a directory in a
file system), or a plain data file.  This bit would not be used to mark any
type of collection file, it would only be used to mark xBin standard format
collection files.  We might include this marker in the xBin id standard for
now, but still put off the spec of the collection file format for later.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20030201120106.036$pW@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!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <u7391vole7cci3qlobpvq0u79dqkiuoufm@news.iplweb.org> <2bi91vg80cfhrc1vu78r8226o241ngmid7@news.iplweb.org> <D937CC94FFD1B06B.2262204BE93E08E7.8BD8BA8158F689AA@lp.airnews.net> <3o9b1vglqbf4sm72efks2ivgd7u5tqn7mr@news.iplweb.org> <1041671876.599031@ok-corral.gunslinger.net> <11ud1v47mk49997bgnnnun1d57mi52f0pk@news.iplweb.org> <20030104113637.385$sm@newsreader.com> <6hqq1vk3dc5i0lbk65r761hr3jetalt9ap@news.iplweb.org> <20030115124728.470$XM@newsreader.com> <59369.i13205@archiver.winews.net> <20030119214844.592$sv@newsreader.com> <GJLW9.736995$vi4.98872@post-02.news.easynews.com> <20030121093654.179$lk@newsreader.com> <01547.m13203@archiver.winews.net> <20030122083140.000$gH@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <20030201120106.036$pW@newsreader.com>
Subject: Re: xBin (Power-Post 2003 - requesting input from authorities..)
Date: Sat, 01 Feb 2003 17:01:06 +0000
From: curt@kcwc.com (Curt Welch)
References: <u7391vole7cci3qlobpvq0u79dqkiuoufm@news.iplweb.org> <2bi91vg80cfhrc1vu78r8226o241ngmid7@news.iplweb.org> <D937CC94FFD1B06B.2262204BE93E08E7.8BD8BA8158F689AA@lp.airnews.net> <3o9b1vglqbf4sm72efks2ivgd7u5tqn7mr@news.iplweb.org> <1041671876.599031@ok-corral.gunslinger.net> <11ud1v47mk49997bgnnnun1d57mi52f0pk@news.iplweb.org> <20030104113637.385$sm@newsreader.com> <6hqq1vk3dc5i0lbk65r761hr3jetalt9ap@news.iplweb.org> <20030115124728.470$XM@newsreader.com> <59369.i13205@archiver.winews.net> <20030119214844.592$sv@newsreader.com> <GJLW9.736995$vi4.98872@post-02.news.easynews.com> <20030121093654.179$lk@newsreader.com> <01547.m13203@archiver.winews.net> <20030122083140.000$gH@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!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com @M6ldmNPTKsc3EoQSR0WmpSPn_1mTCRkgCjJ,sRh2ha=IG.FPa
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: 61