🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60990

Re: [FNTP] 'in-completeness'

#60990
From: Curt Welch
Date: Fri, 04 Oct 2002 03:35
118 lines
7412 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> [Brian Truitt]:

> >   $ already show up, so any tools it would brake in a new msg-id
> >   format are already broken as written :) .
>
> personally, I think $ is as much a pain as ' (variable expansion), but
> it's not very important.  I think is is just a little bit silly to
> choose $, as that is the second most used special character in msgids
> (after period), when there are plenty of alternatives.  tilde is five
> decimal orders of magnitude less common, and has none of the silly
> Unix problems of $ and '.  see <1ry99h14ix.fsf@einn.ifi.uio.no> for
> the table I produced.

Yeah, it's hard to argue against something like ~ over $.  I just like $
better for personal aesthetic reasons.  But like Brian said, the message-Id
encoding should work well for machines first.

> >   The format $UB$<hash>$o<offset>$s<size>$$random@domain allows room
> >   for future functionality to be added with backwards compatibility,
> >   and doesn't require a change to the RFC.
>
> it's a bit funny that I think the type of hash needs to be tagged, but
> offset and size can have their position hardcoded, whereas you have
> hardcoded the position of some hash and left offset and size optional.
> (I suggested to start with three hash types: full MD5, MD5 excerpt,
> and unspecified.)

Actually, we have dropped the total file size from these examples and
that's important as well.  And once you have that, then offset and
size can be optional.  i.e. a missing offset is assumed to be 0,
and a missing segment size is assumed to be the rest of the file.

So a single part file of 15,000 bytes could be encoded like this:

   ~UB~<hash>~S15000~       (Using base 10 instead of base64 to make
                             the example easy to understand)

instead of making them do this:

   ~UB~<hash>~o0~s15000~S15000

And when it's posted in 3 parts of 5000 each, it could be done
like this:

   ~UB~<hash>~s5000~S15000~~        for the first part and
   ~UB~<hash>~o5000~s5000~S15000~~  for the second part and
   ~UB~<hash>~o10000~S15000~~       for the last

For multipart files you don't gane much by leaving out the offset on
the first post or the size on the last, but it's logical to make
it work that way so single part files and multipart files use the
same system (something that yEnc got all wrong).

The point of the hash is not to just allow the posts from a single
set to be combined together.  If that is all it did, then a random tag
should be generated and not a hash at all.  The point is to force everyone
to use the same hash so download tools can identify reposts of the same
file at any time in the future (not just reposts intendned to help fill
gaps).  This would require everyone to use the same hash, and to make it a
standard which never changes.  So if a guy downloads something from usenet
one day, and then a year later desides to repost it to Usenet, the hash
needs to be the same as it was when it was first posted.  It would be
far better to pick a single hash system and make it the standard instead
of allowing it to be changed.

If 10 years down the road you found a need to use a different hash, it
would probably be best done forcing them to continue to use the old
hash, and add the new hash as an additional parameter.

If you make the hash optional, you risk people not including it
simple because they didn't want to bother calculating it.  Maybe
that's ok.  If people just used the convention to put the
byte offset and segment size into the message-IDs that could be
of some use.

Oh, hell, maybe we should think about the idea of different hash-like
values so that people could put in the random tag idea I talked about
above.  ~UB~t<random-tag>~o<offset>~s<segment-size>~~ etc.

Oh hell, why not allow part number and total part count as well:

     ~UB~t<random-tag>~p<part-no>~P<total-parts>~~

The random tag would be used to match up posts from the same set.  And for
anyone posting a fill, they could duplicate the tag used in the original
post. This would offer no protection from fakes - but it would be a start.
And it allows news servers to get this information in a form that's much
easier to use than the subject hack currently in place.

This would allow posting tools to start generating these formated
Message-IDs without having to restructure much of anything they were
currently doing.

The RFC/standard which described the correct use of this convention could
lay out the ideas about where we were trying to take this (to a real file
hash and offset/size data instead of the random tag combined with part size
data).

> like I've said many times, I'd love to see RAR go away[1].  on the
> other hand, if people insist on using RAR, perhaps it's useful to see
> collection of RAR files as one transmission, even if you can't chop
> and combine segments at arbitary offsets then.

Maybe things like this which are commonly done should be documented in
the Message-ID as well?  define fields in there to show that this is
part 3 of 10 of a rar file which is number 12 out of 50 in the complete
series?  The idea is to move them away from that and instead post
it as a straight 10000 part file (if that is what it takes), but if we
allow them to encode stuff that's currently being done, then it might
help get everyone to support the standard quickly.  And if they all
start to support it, but they use it in different ways, it might encourge
eveyone to merge into on use of the system?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20021003233515.104$ZG@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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <58068.n92202@archiver.winews.net> <20020924011222.716$tx@newsreader.com> <3147e.o92204@archiver.winews.net> <20020924234811.264$g2@newsreader.com> <15518.p9220c@archiver.winews.net> <20020926003453.621$EG@newsreader.com> <38427.r92204@archiver.winews.net> <1rofajcuom.fsf@vingodur.ifi.uio.no> <00536.u92202@archiver.winews.net> <1rlm5j3gux.fsf@atta.ifi.uio.no> <4217h.u92203@archiver.winews.net> <1r1y7bysef.fsf@atta.ifi.uio.no> <21467.1a2208@archiver.winews.net> <20021001110616.811$KK@newsreader.com> <34327.2a2204@archiver.winews.net> <1ry99h14ix.fsf@einn.ifi.uio.no> <20021003000536.521$iU@newsreader.com> <anhmkj$e7b$1@bob.news.rcn.net> <1rlm5fcopk.fsf@atta.ifi.uio.no>

Show Full Headers
Complete Article Headers
Message-ID: <20021003233515.104$ZG@newsreader.com>
Subject: Re: [FNTP] 'in-completeness'
Date: Fri, 04 Oct 2002 03:35:15 +0000
From: curt@kcwc.com (Curt Welch)
References: <58068.n92202@archiver.winews.net> <20020924011222.716$tx@newsreader.com> <3147e.o92204@archiver.winews.net> <20020924234811.264$g2@newsreader.com> <15518.p9220c@archiver.winews.net> <20020926003453.621$EG@newsreader.com> <38427.r92204@archiver.winews.net> <1rofajcuom.fsf@vingodur.ifi.uio.no> <00536.u92202@archiver.winews.net> <1rlm5j3gux.fsf@atta.ifi.uio.no> <4217h.u92203@archiver.winews.net> <1r1y7bysef.fsf@atta.ifi.uio.no> <21467.1a2208@archiver.winews.net> <20021001110616.811$KK@newsreader.com> <34327.2a2204@archiver.winews.net> <1ry99h14ix.fsf@einn.ifi.uio.no> <20021003000536.521$iU@newsreader.com> <anhmkj$e7b$1@bob.news.rcn.net> <1rlm5fcopk.fsf@atta.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com Qu+VEqtaZeSY3Kot1UkuN5rjNFSuzd,IORsY9Z9fMtBwhNfxO
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: 117