🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62762

Re: Power-Post 2003 - requesting input from authorities..

#62762
From: Kjetil Torgrim Homme
Date: Sat, 04 Jan 2003 11:49
65 lines
4230 bytes
[Jeremy]:
>
>   Kjetil Torgrim Homme  <kjetilho@haey.ifi.uio.no> wrote:
>   
>   >>   Why not just use MIME?
>   > 
>   > because then we need changes in NNTP to see any benefit (the enhanced
>   > CHECK), and extensions to MIME for assuring integrity (to foil
>   > attacks).
>   
>   What you're defining with xBin essentially *is* an extention to
>   MIME, it's just not admitting it.
>   
>   I've already started down the road of figuring out how to post
>   file segments; I was using MD5 hashes to identify files.  What
>   you're talking about here seems to me to simply be a better way to
>   identify files.  The MD5 method is already defined in MIME.  Why
>   not just make xBin hash trees a replacement for that?

you're referring to Content-MD5, RFC 1864, right?  by all means, call
X-Bin-Signature Content-SHA1-Tree instead.  note that xBin as proposed
requires information from the Message-ID (file size and offset), this
probabably should be duplicated in this header.

>   > yes.  we haven't specified how xBin interacts with MIME, but the
>   > natural thing to do is to just hash the entire top-level message
>   > sans the metadata.  this means that you can send a JPEG, and
>   > xBin will hash the JPEG itself, or you can send a nested MIME
>   > document, and xBin will hash the textual representation of the
>   > entire MIME document.
>   
>   No, I don't think that's right.  xBin is about hashing files, not
>   messages.  What you want to be looking at to hash is one MIME
>   entity.

that would be nice.  note that the split through a single file must
happen on a $BLOCKSIZE boundary for the hashing algorithm to work, so
you can't transmit arbitrary MIME messages.

we need a few changes to xBin: in multi file messages (which _can_
span several articles), the root hash used in the Message ID is the
hash of the concatenation of the root hash of each member file.  the
file size is the sum of the file sizes.  oh, bummer!  the offset gets
unaligned wrt the block size.  oh well, doing it in octets only needs
another two characters.  the xBin msgid should also have a tag to note
the number of constituent files (defaults to 1, of course).

this is rather complex to get right, and I don't think we should
require an xBin implementation to contain multi-file support.  but
you're right, it's a lot cleaner to do it this way.

>   > come up with a plan, and I'll listen.  xBin works today, with no
>   > infrastructure changes.
>   
>   Please don't take this the way of yEnc.  We have back hacks being
>   bolted on top of bad hacks because "it works now!".  If the
>   infrastructure needs to change, then let's talk about that.

the greatest big bad hack of all is MIME, you know.  MIME would've
been a lot nicer if they could assume changes to infrastructure.

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Technical Details
Message-ID: <1rvg15gmnj.fsf@ellifu.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!newsfeed.icl.net!newsfeed.fjserv.net!news.teledanmark.no!uninett.no!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <1rof6xiyow.fsf@ellifu.ifi.uio.no> <ylisx5y9h2.fsf@windlord.stanford.edu> <1rfzs9inbi.fsf@ellifu.ifi.uio.no> <1041678163.908321@ok-corral.gunslinger.net>

Show Full Headers
Complete Article Headers
Message-ID: <1rvg15gmnj.fsf@ellifu.ifi.uio.no>
Subject: Re: Power-Post 2003 - requesting input from authorities..
Date: Sat, 04 Jan 2003 11:49:36 +0000
From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no>
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <1rof6xiyow.fsf@ellifu.ifi.uio.no> <ylisx5y9h2.fsf@windlord.stanford.edu> <1rfzs9inbi.fsf@ellifu.ifi.uio.no> <1041678163.908321@ok-corral.gunslinger.net>
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!newsfeed.icl.net!newsfeed.fjserv.net!news.teledanmark.no!uninett.no!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
Newsgroups: news.software.nntp
Organization: Dept. of Informatics, Univ. of Oslo, Norway
Lines: 64
NNTP-Posting-Host: ellifu.ifi.uio.no
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: maud.ifi.uio.no 1041680977 8615 129.240.65.211 (4 Jan 2003 11:49:37 GMT)
X-Complaints-To: abuse@ifi.uio.no
NNTP-Posting-Date: 4 Jan 2003 11:49:37 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7