Article View: news.software.nntp
Article #62749Re: Power-Post 2003 - requesting input from authorities..
From: Russ Allbery
Date: Sat, 04 Jan 2003 04:32
Date: Sat, 04 Jan 2003 04:32
152 lines
8645 bytes
8645 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:
> [Russ Allbery]:
>> So... how are you not now just recreating a MIME message?
> I might create a MIME message, others would rather use existing yEnc
> tools -- this is completely backwards compatible for both servers and
> clients.
You're phrasing that as if MIME and yEnc were somehow mutually exclusive,
but a yEnc message is just a (mislabelled) MIME message. Essentially all
Usenet messages are MIME mesages.
Perhaps you're confusing MIME with base64 encoding?
>> 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).
I don't understand what you're saying. Why does this change what you're
doing at all, and why would you need any extensions at all to MIME? I
don't see how whether you use a MIME message format or not has any impact
at all on the required software support.
>> I mean, if you're reintroducing the idea of headers and metadata,
>> you're talking about something that carries at least as many headers
>> as HTTP traffic does, and HTTP uses MIME.
> ???
What didn't you understand here? I can try to explain more.
>> I posted a bit ago that I thought the right way of handling things is
>> to figure out how to deal with articles of unlimited size, with some
>> sort of chunked encoding for transfer, and you said that was a
>> horrible idea (I thought).
> I missed the bit about chunked encoding. how do you suggest it will
> work?
I don't have any idea; I hadn't really thought about it. There was a lot
of discussion about that in the xBin threads, and I presume that it's
reaching some sort of reasonable conclusion. People were talking about
error correction codes and the like, which is outside of my experience;
people who understand the issues there should design the chunking
protocol.
I'm primarily exploring two basic ideas: first, that the chunked encoding
still use MIME as a way of managing the required metadata; and second,
that to the user the chunking would be made as invisible as possible (in
other words, exposing to the user a complete message that had been
reassembled from the individual xBin parts).
>> Now you're describing xBin as essentially exactly that.
> no, FILE is a possibility iff xBin reaches saturation. assembly is left
> to the client. this is actually a feature people wants, since it is
> common to get parts from several news providers when parts go missing.
> FILE requires the file to complete on each server.
Ah, I see. Hm.
It sounds like you want something that could be assembled either on the
server or on the client; in other words, the server would make available
both the raw xBin messages and the assembled complete messages that it was
able to obtain. Rather than using a separate command to obtain the
assembled messages, it would seem to me to be easier for clients to deal
with if they were put into a separate newsgroup and then accessed with
regular commands. That way, news readers that have absolutely no idea
what xBin is can still get at the articles that a given server with xBin
support has been able to complete.
>> The only difference between what I was talking about and what you're
>> talking about seems to be that you're introducing a new NNTP command
>> for this purpose and I'd just reuse ARTICLE. Why not reuse ARTICLE?
> backwards compatibility. but how do you propose to reuse ARTICLE?
Er... I don't understand the question. It's a message with a message ID.
You send ARTICLE <message-id> to the server and it returns the assembled
message.
> e.g., headers are kept verbatim[1], bodies are decoded into binary.
> it's a bit ugly, but it should work.
> [1] is it allowed for gateways to rewrite headers, I'm thinking
> changing the quoted word algorithm from Q to B, or the charset
> specification when equivalent?
If the message goes through e-mail, a lot of really annoying things
happen, like changing all of the e-mail addresses found in the headers by
canonicalizing CNAMEs. sendmail does some really horrible mangling to
headers.
>> The restriction to base64 is due to the requirement in e-mail to
>> support 7-bit environments. One could easily define an equivalent to
>> message/partial that doesn't have that restriction for use in
>> environments where 8-bit support is assured.
> "easily"? well, perhaps. an unknown message/foo must be treated as
> application/octet-stream, so it will require changes in the client.
An unknown application/foo. You can't use message/*; that whole section
of the content-type space is reserved for things that are 7-bit
compatible.
> (again, xBin requires no change in the client.)
How can it not require any change in the client when the client has to do
reassembly?
>> So given that, what I don't understand is why not approach this from
>> the perspective of finding a way to accomodate unlimited-length MIME
>> messages with server-side chunking and reassembly, generating new
>> messages using an "enclosing" MIME type analogous to message/partial
>> that carry the metadata like the checksum tree and xBin message IDs,
>> that when reassembled yield a regular Usenet message with an encoded
>> binary embedded in it in the normal fashion?
> come up with a plan, and I'll listen. xBin works today, with no
> infrastructure changes.
That *is* a plan. What specifically are you looking for? I can't tell
you exactly what parameters the xBin MIME content type will require until
you've finished designing what metadata xBin needs to know.
Besides, no one's demanding xBin have a plan yet. :) We're still talking
about ideas and approaches. I think asking for a plan at this point is
somewhat premature.
> the encoding won't change at all! xBin _only_ changes the Message-ID
> and adds a header X-Bin-Signature. that's all it cares about.
Okay, I think I'm not understanding what xBin is getting at, and the only
messages that I've seen that try to spell out the fundamentals have been
rather long. Could you give me the capsule summary of what the changes
are in xBin?
There's a message ID convention and a header. I understand that. But
Curt was talking about off-lining the binaries into a separate
distribution method and leaving pointers behind so that clients could
fetch them (or was that one of your earlier messages?). And now this
sounds like it's just a minor modification to an existing article. I
think I need a high-level overview, since I'm just getting more confused.
--
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:
<yly961o7qv.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:
<cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <1BE34317124A8BE0.7943779E42D2E55B.50557AE83F0515DF@lp.airnews.net> <yw73wdhe9p2r$.dlg@meowing.net> <1rhecsa6zr.fsf@thrir.ifi.uio.no> <14dfgjkm6p6u3.dlg@meowing.net> <1rznqk8qqs.fsf@thrir.ifi.uio.no> <ylk7hopk7n.fsf@windlord.stanford.edu> <1rlm248lyi.fsf@thrir.ifi.uio.no> <yln0mko1gk.fsf@windlord.stanford.edu> <20030102003252.529$hA@newsreader.com> <ylof70m4sh.fsf@windlord.stanford.edu> <20030102232803.181$Go@newsreader.com> <ylptre223l.fsf@windlord.stanford.edu> <1risx6joso.fsf@ellifu.ifi.uio.no> <ylvg16gkp8.fsf@windlord.stanford.edu> <1rof6xiyow.fsf@ellifu.ifi.uio.no> <ylisx5y9h2.fsf@windlord.stanford.edu> <1rfzs9inbi.fsf@ellifu.ifi.uio.no>Show Full Headers
Complete Article Headers
Message-ID: <yly961o7qv.fsf@windlord.stanford.edu> Subject: Re: Power-Post 2003 - requesting input from authorities.. Date: Fri, 03 Jan 2003 20:32:08 -0800 From: Russ Allbery <rra@stanford.edu> References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <1BE34317124A8BE0.7943779E42D2E55B.50557AE83F0515DF@lp.airnews.net> <yw73wdhe9p2r$.dlg@meowing.net> <1rhecsa6zr.fsf@thrir.ifi.uio.no> <14dfgjkm6p6u3.dlg@meowing.net> <1rznqk8qqs.fsf@thrir.ifi.uio.no> <ylk7hopk7n.fsf@windlord.stanford.edu> <1rlm248lyi.fsf@thrir.ifi.uio.no> <yln0mko1gk.fsf@windlord.stanford.edu> <20030102003252.529$hA@newsreader.com> <ylof70m4sh.fsf@windlord.stanford.edu> <20030102232803.181$Go@newsreader.com> <ylptre223l.fsf@windlord.stanford.edu> <1risx6joso.fsf@ellifu.ifi.uio.no> <ylvg16gkp8.fsf@windlord.stanford.edu> <1rof6xiyow.fsf@ellifu.ifi.uio.no> <ylisx5y9h2.fsf@windlord.stanford.edu> <1rfzs9inbi.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!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 151 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1041654728 8175 171.64.13.23 (4 Jan 2003 04:32:08 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:Xmy95pd/oopFc+T7XG5I7AWpfi8=