Article View: news.software.nntp
Article #57483Re: yenc - has anybody else noticed this?
From: Curt Welch
Date: Thu, 21 Mar 2002 03:55
Date: Thu, 21 Mar 2002 03:55
72 lines
5044 bytes
5044 bytes
Agent-user@Coises.com wrote:
> [follow-ups set to auorfa, since I'm not reading news.software.nntp]
news.software.nntp added back since I'm not reading auorfa. :)
> Also... when using an encoding scheme where the number of encoded bytes
> is not a function only of the number of file bytes (which I gather is the
> case with yEnc), isn't it necessary to encode the whole file first to
> know how many parts the result will contain, so as to post a proper
> subject?
It is required if you want to make sure that every part is exactly the
same size, but since expansion is fairly constant and small (3%), you
don't need to worry about it in practice. You just divide the source file
into the correct number of parts and ignore how much each part actually
expands. So a 10MB file can be divided into 20 500K chunks and each chunk
encoded and then posted. The article to article size difference isn't
enough to care about for real-world files. So you don't need to pre-scan
the file to get the part count in the subject correct.
> I would like to suggest what I think would in practice be a much simpler
> mechanism
[require a 0/N post which lists the messages Ids and post all
the parts as a follow-up to the 0/N post]
This type of idea has been suggested a few times. The big concern
is that it opens a wide door to abuse. Because the 0/N moves faster,
it would be trivial to anyone looking to cause trouble, to post
N small messages with the IDs listed in the 0/N article. They could
even be posted elsewhere - like alt.test. They would quickly flood
though Usenet and block all the real posts from being distributed.
Posting the 0/N part last doesn't solve the problem because it will still
move though the net faster and pass some of the other parts. Trying to
delay the post of the 0/N only makes it harder for people to download the
post because they have to wait for the 0/N to show up.
> 6. Reposts of one or more parts (whether by the original poster or
> someone else) should include a preface message which should be posted as
> a follow-up to the original preface message. The reposted part(s) should
> be posted as follow-ups to the repost preface message.
There's something else you are not thinking about that we have been
trying to address. If you identify the file with a hash (like an MD5),
then newsreaders can take advantage of a re-post which happens by
accident, even if it happens in another group. Everything on Usenet
keeps getting reposted time and time again. If you don't get it all the
first time, it would be very nice for your newsreader to keep a list of all
files which it had partial downloads for, and watch for a repost even
if it wasn't done to "fix" the orginal post. i.e. we want newsreaders
to be able to find re-posts even when they have nothing to do with
the previous post.
Your system of using Messge-Ids as {multipart-ids) would not help us do
that.
> This could also be used for reposts in which the division into parts is
> not identical to the original; however, unless contiguous ranges of
> replaced bytes are exactly matched by ranges of (perhaps unequal numbers
> of) parts from the original, receiving clients would have to be modified
> to be able to make use of such reposts.
Yes, I have been talking about features which no receiving client will
currently be able to make use of. They will all have to be modified. But
I'm talking about adding the features in ways which will not break any of
the existing clients from doing what they have always done.
--
Curt Welch http://CurtWelch.Com/
curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20020320225505.486$no@newsreader.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!logbridge.uoregon.edu!netnews.com!xfer02.netnews.com!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<us1c9ucatbi49fiq685eolg8jf73sjcta0@4ax.com> <3c98344b.1993605@news> <mgfc9uc7d9l0n2tprssu340g22r96uuseu@4ax.com> <180320021514299846%planb@newsreaders.com> <pe5i9ug5u777rvshl04lq3n12ge828rojn@4ax.com>Show Full Headers
Complete Article Headers
Message-ID: <20020320225505.486$no@newsreader.com>
Subject: Re: yenc - has anybody else noticed this?
Date: Thu, 21 Mar 2002 03:55:05 +0000
From: curt@kcwc.com (Curt Welch)
References: <us1c9ucatbi49fiq685eolg8jf73sjcta0@4ax.com> <3c98344b.1993605@news> <mgfc9uc7d9l0n2tprssu340g22r96uuseu@4ax.com> <180320021514299846%planb@newsreaders.com> <pe5i9ug5u777rvshl04lq3n12ge828rojn@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!logbridge.uoregon.edu!netnews.com!xfer02.netnews.com!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: alt.usenet.offline-reader.forte-agent,news.software.nntp
X-Trace: NewsReader.Com iydey.0jNfbbB9n8HLMNH/kLrnd60gIWboIeyeGCRxQZrYl,
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 71