🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57495

Re: Using Message-ID to store binary file information

#57495
From: Curt Welch
Date: Thu, 21 Mar 2002 07:28
63 lines
4671 bytes
"J.B. Moreno" <planb@newsreaders.com> wrote:
> In article <20020320174111.780$V8@newsreader.com>,
>  Curt Welch <curt@kcwc.com> wrote:

> > > Number of parts.
> >
> > I think we need to get away from that.
>
> Why?  Are reposts requests (and fills) really a problem?

I was just talking about newsreaders using the part number as
if it were something importnat.  If they had access to byte ranges
part numbers would not be important any more so there's little
point in placing it in the Message-ID.

i.e., I was saying we should replace part number with byte range
information as the key item the new newsreaders used to join
parts.  Part numbers would still show up in the Subject like they
do now for full posts.  I'm not sure what would be for a partial
re-post which was done in different part sizes.

> Well, you won't completely eliminate the need to add other info -- the
> file name simply can't be put in there.

There is no need to add other info.  The file name will be in the subject
so that's all the user needs to figure out.  And it will be be in the
"normal" place it is now (begin line, ybegin line, or MIME headers).

The reason we are looking at putting this info someplace is so that
newsraders can find missing parts -- including when the filename is
different.  If the newsreader has a good hash (partial MD5 + length), and
the byte range, then that's ALL it needs to figure out what articles to
download.  It doesn't care what the file name is and can find that out when
it downloads the full article.

Sure there's more usefull information about the file like it's name and
content type but that's not the stuff I'm been trying to figure out how to
get into the headers so it's not needed in the Message-ID and it's not
needed anywhere in the headers other than it's traditional location in the
subject.

The only questionable item in my mind is the hash.  Is a small number (like
36) bits in the Message-ID good enough (when combined with the file size),
to correctly identify article parts?  Or do we need something like a full
md5 in the headers as well?

The newsreader may save a downloaded file with missing segments for a very
long time (a year for example) and check all articles downloaded in a group
to see if the missing segments ever show up.  Is a 36 bit hash + the file
length good enough to prevent the newsreader from getting a false postive
match and downloading a segment which it thinks is what it was looking for
when in fact it is not?  This is what we would want to prevent - or at
least reduce to a point where it was very uncommon.

If the 36 bit hash wasn't good enought for that, we could add more bits
in the Message-ID.  But if that was just too many characters for the
Message-ID, we would have to put those bits some place else. So then
the question becomes, once again, where?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20020321022856.582$dC@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!newsfeed.stanford.edu!news.uchicago.edu!newsswitch.lcs.mit.edu!newsfeed.cwix.com!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <us1c9ucatbi49fiq685eolg8jf73sjcta0@4ax.com> <3c98344b.1993605@news> <mgfc9uc7d9l0n2tprssu340g22r96uuseu@4ax.com> <20020318154507.410$TU@newsreader.com> <9hlc9u8ga789vu6hfcun0oln29ae6mck5m@4ax.com> <20020318160827.211$fq@newsreader.com> <ldmc9u48omjm6sf5vj9fn54c83tob9u69g@4ax.com> <20020318181949.333$Fq@newsreader.com> <180320022351466617%planb@newsreaders.com> <20020320140409.897$WW_-_@newsreader.com> <200320021558402413%planb@newsreaders.com> <20020320174111.780$V8@newsreader.com> <200320022314345462%planb@newsreaders.com>

Show Full Headers
Complete Article Headers
Message-ID: <20020321022856.582$dC@newsreader.com>
Subject: Re: Using Message-ID to store binary file information
Date: Thu, 21 Mar 2002 07:28:56 +0000
From: curt@kcwc.com (Curt Welch)
References: <us1c9ucatbi49fiq685eolg8jf73sjcta0@4ax.com> <3c98344b.1993605@news> <mgfc9uc7d9l0n2tprssu340g22r96uuseu@4ax.com> <20020318154507.410$TU@newsreader.com> <9hlc9u8ga789vu6hfcun0oln29ae6mck5m@4ax.com> <20020318160827.211$fq@newsreader.com> <ldmc9u48omjm6sf5vj9fn54c83tob9u69g@4ax.com> <20020318181949.333$Fq@newsreader.com> <180320022351466617%planb@newsreaders.com> <20020320140409.897$WW_-_@newsreader.com> <200320021558402413%planb@newsreaders.com> <20020320174111.780$V8@newsreader.com> <200320022314345462%planb@newsreaders.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!newsfeed.stanford.edu!news.uchicago.edu!newsswitch.lcs.mit.edu!newsfeed.cwix.com!newsfeed1.cidera.com!Cidera!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 A5=V/XGQ1zY-ESUJgh@0nlt4N@WDJVH-qWE@syeGCRxQq8fg.
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: 62