Article View: news.software.nntp
Article #61191Re: [FNTP] 'in-completeness'
From: Russ Allbery
Date: Tue, 08 Oct 2002 22:36
Date: Tue, 08 Oct 2002 22:36
195 lines
11756 bytes
11756 bytes
Curt Welch <curt@kcwc.com> writes:
> Splitting a binary file up into packets and putting headers on each
> packet is an encoding. If that's not an encoding, then neither is
> uuencode which simply splits the bit stream up into 6 bit packets and
> adds a two bit header to each packet and a 24 bit spacer between sets of
> each 60 packets and few special packets at the beginning and end of the
> file. It's all just a matter of how you look at it.
Yes. I don't find your way of looking at it useful for working out how
best to do things. :) This may be one of those agree to disagree things.
> If we keep having enough of these debates you will end up teaching me
> everything there is to know about MIME one section at a time and then
> I'll never have to sit down and read the full set of standards.
*laugh*
> I was talking about converting sets of Usenet multipart artricles (as
> you find them now on Usenet), to some fixed "binary" standard (MIME or
> otherwise) and then back to a multipart message can't be done without
> loosing information because the multipart articles are curretnly created
> under a wide range of very loose standards. I don't think this is
> anything you don't already know.
Hm. I sort of agree with you, but not entirely. If you want full end to
end transparency with re-encoding in the middle for every type of legacy
encoding that's out there, then yes, I agree. It's too hard to re-encode
and get exactly the original messages back.
But if you're just talking about information-preserving re-encodings, I
think it's possible and standardized. The client support may not be
properly implemented, but that's a slightly different thing.
> I suspect however that with a good standard to work with, Usenet might
> work better in that people that had servers which couldn't keep up would
> have a simple and accurate way to adjust it so it could keep up
> (i.e. block all multipart articles for files over size X).
Yes, exactly. That's what I want too. If we can get that with multipart
posts, I won't complain.
> And I think it might actually become well understod that if a post
> didn't show up, then it was because it was not wanted on that server,
> and if you want to see the post, go to a server that is willing to carry
> it.
> I'm not 100% certain of that however.
We would at least have a fighting chance at getting that across, more than
we do right now.
>> What's *interesting*, I think, is supporting the full spectrum of
>> structured messages that MIME makes possible within the structure and
>> facilities of Usenet. Which includes large attachments.
> But doesn't that "work" today in so far as anyone that wants to can
> post correctly generated MIME messages on Usenet now?
Kind of.
There's still a very surprising amount of resistance in the
standardization mailing lists against actually using MIME on Usenet,
rather than fiddling with it and changing it and outlawing little bits and
saying you have to do other little bits differently. And there's still a
great deal of legacy crap floating around.
Plus, there's a whole bunch of really broken client implementations.
But for the most part, we're getting there, except that right now MIME
just doesn't work for large binary posters, as evidenced by the fact that
they don't use it. And clearly the yEnc encoding is better for their
purposes than any of the standard MIME encodings are, so that creates even
more trend away from really viewing Usenet as a medium for exchanging MIME
messages. And I think is the right direction to go in terms of future
development of Usenet software, since there's a lot more momentum behind
MIME than there is behind anything else we're going to come up with
internal to Usenet.
Using MIME for messaging is kind of like using HTML for publishing
information. Parts of it are annoying, the whole standard is really huge,
and some clients just do stuff utterly wrong, but there's so much support
out there already that you're better off using it and trying to improve
the client support than trying to invent something new from the ground up.
> It means that when 3 people have a copy of a huge file which was posted
> 6 months ago, and there are a lot of requests for "someone" to repost
> it, the 3 people can get togther and agree to each post 1/3 of the file.
> It's a 32GB file so the first guy says he will post the first 10GB over
> the next week, and the second guy, at the same time will post the second
> 10GBs of the file, but it will take him two weeks to upload it all, and
> the thrid guy says he will post the last 12+GB in two days (he's got
> very high speed access). They each do their own partial posting of
> about 1/3 of the file (each picking different article sizes to post in),
> but yet, anyone that wnats that file can see that a single part was
> posted, click on that part and tell their download tool to find all the
> parts and put the file together, and the download tool will do it (for
> the next few weeks - all automatically without the user having to select
> and mark anything. It works without any broblem even though was some
> overlap in what was posted, and the subjects were different, and the
> part sizes were different, and one guy even posted his to a different
> group.
Huh. Interesting. Do people actually do this right now?
> This is something I just don't think MIME is set up to address (though I
> refuse to ever say it _DOESNT_ do it again). This is the type of thing
> you can do with my ideas.
You can do this with message/partial; the only tricky part is that the
people cooperating on the repost have to agree on the number of parts, the
split boundaries, and a message ID in advance.
This is one of those areas where I think a minor adaptation of
message/partial could be done that would be a lot more useful for Usenet.
Anyway, to give you an idea of why message/partial keeps coming to mind,
here's the excerpt from RFC 2046:
5.2.2. Partial Subtype
The "partial" subtype is defined to allow large entities to be
delivered as several separate pieces of mail and automatically
reassembled by a receiving user agent. (The concept is similar to IP
fragmentation and reassembly in the basic Internet Protocols.) This
mechanism can be used when intermediate transport agents limit the
size of individual messages that can be sent. The media type
"message/partial" thus indicates that the body contains a fragment of
a larger entity.
In other words, they were thinking of a very similar sort of case when
they were working on this, except that it's certainly true that
message/partial was designed with the thought in mind that the poster had
possession of the complete message and is fragmenting it themselves.
> Well, I'm not saying there is _no_ meta data. I'm saying it's at a
> different level of the protocol. TCP moves a data stream with no meta
> data - where's the problem there? TCP doesn't care if it's a jpg or
> ASCII or whatever. My point is that at the Usenet file trasport level,
> we just want to move raw files. The meta data issue is delt with at a
> higher level.
So basically you're thinking of the metadata as being carried by the
headers, which would be distinct from the message body somehow?
> Maybe to make this all work well you do have to address how and where
> the meta data is delt with, and maybe, putting all this trasport
> convetion under yet another MIME standard would be the way to go as
> well. But the special use of Message-Ids is something that's only
> important to Usenet and NNTP because of the fact that NNTP doesn't send
> anything but the Message-ID in news feeds and not much else useful in
> XOVER data. If not for the compatibility needs of Usenet, you would put
> that stuff elsewhere in the header (just like MIME has done) for sure
> and include it in the CHECK message as needed as "extra" data instead of
> putting inside the Message-ID.
Yeah, understood. There has to be some way of conveying some additional
bits of metadata between transit servers, and the only thing that works
with existing servers is the message ID. Doing anything else will require
protocol modifications.
I think the protocol modifications are the right way to go down the road,
but it's harder to prototype that way.
> But, like I've talked about here, a different type of hash which meets
> the special needs of this application I think would work much better
> than MD5 alone. And I don't hink MIME has that yet.
Yes, one of the problems that I have with the way that MIME chose to
standardize that is that Content-MD5 doesn't generalize to other hashes.
That was short-sighted of them.
But RFC 1864 (Content-MD5) is dead-simple, and it wouldn't be too much
harder to define a similar header that was just Content-Hash that
generalized to the hash of your choice (although it would require an IANA
registry of hashes, if such a thing doesn't already exist).
> But, it would be simple to use the MIME framework to put all this stuff
> (like the block of hash data needed to veryify each file segment) into a
> news article. And it would be simple to put all the stuff we have
> talked about from the Message-ID into MIME format headers. And it might
> be wise to try to head all this into a MIME standard so what we end up
> with down the road is that _all_ articles on Usenet follow the MIME
> standard but a special subset of the articles are very special types of
> MIME articles used for transporting large files like I have talked
> about.
Yeah, that's exactly the sort of thing that I'd like to see.
--
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:
<ylwuosh81l.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-mailReferences:
<58068.n92202@archiver.winews.net> <20020924011222.716$tx@newsreader.com> <ylofabv431.fsf@windlord.stanford.edu> <4319b.4a2200@archiver.winews.net> <ylzntuxir5.fsf@windlord.stanford.edu> <041020021438385411%planb@newsreaders.com> <yl7kgyrpwd.fsf@windlord.stanford.edu> <041020021954536744%planb@newsreaders.com> <ylwuoxhhhx.fsf@windlord.stanford.edu> <20021005022430.397$TR@newsreader.com> <yld6qpv0rd.fsf@windlord.stanford.edu> <20021005043816.517$kr@newsreader.com> <yld6qosu9b.fsf@windlord.stanford.edu> <20021005183917.837$Qo@newsreader.com> <ylfzvkcwue.fsf@windlord.stanford.edu> <20021005233454.131$iS@newsreader.com> <ylu1jxaoda.fsf@windlord.stanford.edu> <20021007233918.512$5h@newsreader.com> <yln0pp350z.fsf@windlord.stanford.edu> <20021008165253.450$gn@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <ylwuosh81l.fsf@windlord.stanford.edu> Subject: Re: [FNTP] 'in-completeness' Date: Tue, 08 Oct 2002 15:36:54 -0700 From: Russ Allbery <rra@stanford.edu> References: <58068.n92202@archiver.winews.net> <20020924011222.716$tx@newsreader.com> <ylofabv431.fsf@windlord.stanford.edu> <4319b.4a2200@archiver.winews.net> <ylzntuxir5.fsf@windlord.stanford.edu> <041020021438385411%planb@newsreaders.com> <yl7kgyrpwd.fsf@windlord.stanford.edu> <041020021954536744%planb@newsreaders.com> <ylwuoxhhhx.fsf@windlord.stanford.edu> <20021005022430.397$TR@newsreader.com> <yld6qpv0rd.fsf@windlord.stanford.edu> <20021005043816.517$kr@newsreader.com> <yld6qosu9b.fsf@windlord.stanford.edu> <20021005183917.837$Qo@newsreader.com> <ylfzvkcwue.fsf@windlord.stanford.edu> <20021005233454.131$iS@newsreader.com> <ylu1jxaoda.fsf@windlord.stanford.edu> <20021007233918.512$5h@newsreader.com> <yln0pp350z.fsf@windlord.stanford.edu> <20021008165253.450$gn@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!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 194 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1034116615 29884 171.64.13.23 (8 Oct 2002 22:36:55 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:brGtnE2VftKLf6T4VadoJ4O0m7M=