Article View: news.software.nntp
Article #62731Re: Power-Post 2003 - requesting input from authorities..
From: Kjetil Torgrim Homme
Date: Fri, 03 Jan 2003 23:46
Date: Fri, 03 Jan 2003 23:46
164 lines
8914 bytes
8914 bytes
[Russ Allbery]:
>
> Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:
>
> > a MIME document with all its attachments is a file, too, isn't it?
>
> Kind of, but not entirely.
>
> The basic idea of transferring things as files is that you treat
> them as opaque chunks. If you want to carry absolutely everything
> posted to Usenet, that might work for transfer (and then you look
> inside again when you're ready to serve the articles to users).
> As soon as you want to be discriminating about what you send
> where, though, you end up looking inside.
yes. xBin doesn't look inside, though.
> So... how much metadata is xBin retaining? Are the files being
> stripped down to simple files?
it's not stripped down, but it doesn't care about most of it. xBin is
encoding agnostic, it's left to the discretion of the poster. there
are some requirements, though:
* it must be able to encode data in $BLOCKSIZE (22500 octets) chunks.
* it must be able to handle a tail part of arbitrary size (in octets).
* it must decode to an exact bitwise copy of the original even after
going through the network.
that's it. the encoding doesn't even have to able to handle binary
data, as long as no one tries to send binary data using it.
> One of the really useful bits of metadata that e-mail messages
> carry that I would expect xBin to also be interested in is the
> Content-Type header, which tells you what type of file you're
> dealing with. With proper use of that header, you can make
> decisions like "I want all images, but don't want any music files
> or videos." But if one moves away from the e-mail format, where
> do you carry that information?
feel free to add a Content-Type header to the message, I'd love to see
that. xBin doesn't depend on it.
> > consider this: xBin is a message/partial which works for Usenet.
> > whatever is inside doesn't matter.
>
> Except if you want to be selective in what binaries you feed to
> another site, you have to know what's inside, and originally (not
> this discussion but the last discussion on this topic) I thought
> that was one of the goals, to enable more selective binary feeds.
it's one step along the way. I still want a more advanced IHAVE
dialog which presents more information (Newsgroups, Content-Type) to
the recipient, but that requires changes at both servers. xBin "only"
needs changes in the posting software and my own server. as such, the
decision you can make is simplistic: "no large files for my users!"
but the big benefit of that is that users can't keep reducing their
article size (part size) to slip under the radar.
> Maybe I'm misunderstanding what Curt's getting at, but it sounded
> like he wanted to pull the files out into a separate distribution
> method and just refer to them in articles if one even wants to
> embed them in articles at all.
you're right, this is a problem with the hypothetical NNTP FILE, but
not a large one. FILE (in my mind) essentially collects all the
articles, decodes them, and send the file data verbatim to the client.
now, if it's a MIME file, the metadata is gone. but how did you know
the file-id argument you gave FILE? you got it from the headers,
which is where the metadata is, so the client still has the metadata,
and the data.
> That's not what message/partial does; message/partial treats the
> message as an opaque chunk and just divides it like the Unix split
> command, essentially.
perfect. it's main problem is that it requires the use of BASE64, so
it's not as bandwidth efficient as yEnc. big deal.
> > (you probably should use message/partial for MIME documents, though.)
>
> Well, you really don't want to use message/partial at all. It's a
> hack that people avoid in e-mail whenever they can, because it's a
> royal pain to deal with. You never, if at all possible, want to
> expose the notion of multiple parts to the user.
I agree, if at all possible.
> > if you want to pass around large text articles with embedded
> > graphs, debug output and run traces, you'll run into today's
> > propagation limits. many text servers limit article size to
> > 128k or even less since bandwidth costs would kill them.
>
> I don't know of a good solution to this. I don't see xBin as a
> solution; after all, if you want those larger articles, you'd then
> have to use xBin to get them, which means you'd be getting a lot
> of other binaries unless xBin has a really great traffic
> classification system (and I don't see how you get that if you're
> just treating everything as files).
it's quite simple. the number of articles belonging to huge files
outnumbers the small files. for each episode of Buffy (400 MiB), you
get thousands of JPEGs. for each song by the Foo Fighters (10 MiB),
you get hundreds. simply blocking the large or huge files at the
CHECK stage helps a lot on the number of articles you need to consider
-- you don't even have to write these rejected articles to your
history. there is no need to filter on _article_ size, use whatever
value is good for your system.
> So it seems like the introduction of xBin leaves this situation
> pretty much unchanged.
>
> > xBin improves this in two ways:
>
> > * if binaries are tagged with their size, they can filter on that,
> > and allow larger articles in general.
>
> I don't see how. How do you allow 1MB MIME messages without
> allowing 1MB binaries?
like I said, you could remove the article size limit (RAM and other
parameters allowing). then's the question: what rules do you want to
enforce in your Cleanfeed (or similar technology)? okay, so we do
rough filtering based on file size at the CHECK stage. then we pass
it on to the filter, and we can say
if (xBin-tagged)
accept
else if (article-size < 32k)
accept
else if (not MIME)
reject
else if (content-type is ....)
...
> > * if the text article is _large_, it can be posted as multiple parts
> > using the xBin convention.
>
> But the problem isn't that the articles need to be broken into
> multiple parts; I don't think that really helps anyone.
agreed, it would be a rare occurence.
> The problem is that I want large compiler logs, but I don't want
> large music files.
I want to do that, too.
> I'm not sure that you can really solve the problems that I'm
> thinking about without exposing the Content-Type somehow at the
> server level to make decisions about, which is a large step
> *towards* more MIME awareness, not a step in the direction that
> xBin (as I understand it) is going.
absolutely, since these are orthogonal issues. we've discussed
possible ways of extending CHECK previously, we should try to reach a
conclusion on that and write a draft or something, and of course
implement it in Diablo and INN. xBin and that extension would
complement eachother very nicely.
--
Kjetil T. | read and make up your own mind
| http://www.cactus48.com/truth.html
Technical Details
Message-ID:
<1rof6xiyow.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!lnsnews.lns.cornell.edu!newsstand.cit.cornell.edu!news.stealth.net!news.stealth.net!uio.no!nntp.uio.no!ifi.uio.no!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>Show Full Headers
Complete Article Headers
Message-ID: <1rof6xiyow.fsf@ellifu.ifi.uio.no> Subject: Re: Power-Post 2003 - requesting input from authorities.. Date: Fri, 03 Jan 2003 23:46:39 +0000 From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> 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> 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!lnsnews.lns.cornell.edu!newsstand.cit.cornell.edu!news.stealth.net!news.stealth.net!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail Newsgroups: news.software.nntp Organization: Dept. of Informatics, Univ. of Oslo, Norway Lines: 163 NNTP-Posting-Host: ellifu.ifi.uio.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: maud.ifi.uio.no 1041637600 6177 129.240.65.211 (3 Jan 2003 23:46:40 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 3 Jan 2003 23:46:40 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7