Article View: news.software.nntp
Article #63372A short summary of xBin
From: Russ Allbery
Date: Mon, 20 Jan 2003 01:18
Date: Mon, 20 Jan 2003 01:18
42 lines
3081 bytes
3081 bytes
Here, as promised, is a short summary of xBin as I understand it (in
penance for asking so many questions of people to get it explained to me).
This is a summary leaving out the technical details of implementation,
just to give the basic idea of what it's for.
Corrections obviously welcome. If this summary proves useful, please feel
free to reuse it whereever.
xBin aims at trying to solve two problems: ensuring that all the parts of
a binary that one downloads belong to the same file (to prevent DoS
attacks by spoofing parts, to detect corruption, and to serve as an aid in
reassembly), and to provide a way for news servers to be aware of what
articles contain binaries so that they can potentially be treated
differently at the feed level.
Any file to be posted to Usenet is divided into a series of blocks, which
are hashed. Those hashes are then combined and hashed, recursively,
creating a tree of hash values culminating in a hash that represents the
complete file (and the complete hash tree). This hash serves to identify
that file from an xBin standpoint.
Each post making up that file would include, in a header, the hashes of
the parts in that post and the necessary details to establish where they
fit into the hash tree of that file and to identify which file they're
part of.
Finally, all posts made using xBin would use special message IDs that
would encode which file they're part of as well as the total size of that
file. These message IDs would be in a reserved domain so that they can be
recognized by news servers. The intention is that news servers may wish
to refuse articles at the CHECK phase based on the total size of binary
that the posts contain, and also that news readers can use the information
in the message IDs to find all the posts associated with a particular
binary without having to download other headers or guess based on the
Subject header.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<ylvg0kzkhx.fsf@windlord.stanford.edu>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!shelby.stanford.edu!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <ylvg0kzkhx.fsf@windlord.stanford.edu> Subject: A short summary of xBin Date: Sun, 19 Jan 2003 17:18:50 -0800 From: Russ Allbery <rra@stanford.edu> 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!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 41 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1043025530 9098 171.64.13.23 (20 Jan 2003 01:18:50 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter, sparc-sun-solaris2.6) Cancel-Lock: sha1:ahaCE01hatpNzY/6lN645KtErHc=