🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61012

Re: [FNTP] 'in-completeness'

#61012
From: Kjetil Torgrim Homme
Date: Fri, 04 Oct 2002 14:53
103 lines
6014 bytes
[Curt Welch]:
>
>   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).

very good point.  ok, tag them all.

>   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 reason for numerous hash types was that some people didn't want
universally recognizable identifiers.  yes, this means later complete
reposts won't be useful, but refills should use the same random ID.

>   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).

I agree this is the ideal, but I fear we will see people sending bogus
hashes to defeat the lawyers.  while I don't sympathise with this,
it's better to give them an escape route which is tagged
appropriately.

>   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.

yes.

>   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).

definitely.

>   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?

this is interesting, but it complicates matters slightly.  the hash
needs to be of the RAR file being transmitted, not its contents.  so,
there is no ID which unifies the files in the series.  we can of
course use an extra tag for that ID, it could even be a hash of the
assembled and decompressed file, but the use of that is pretty limited
(can't really be used for refills or reposts, except for duplicate
detection "I already have that file".)

we have many tags, now.  let me try to summarize (the tag isn't
important, just added for clarity.)

  t total size of file (octets)
  o offset (octets, starts at 0)
  s segment size (octets)
  p part number (count starts at 1)
  P number of parts
  M file hash (MD5-128)
  I file id
  f file number
  F number of files in set
  S set id

t is mandatory.  p/P and o/s must not be used simultaneously.  if none
of them appear, this is a single part file.  o is 0 by default.  the
default value of s is t-o.  p is 1 by default.  M and I must not be
used simultaneously.

all numerical values must be coded using BASE64.  values must not
contain the tag character "~" (only I and S can be non-numeric).  it
is recommended that I and S have at least 32 bits of entropy, in other
words, at least six random characters from the repertoire.

outside of this tagged information, the LHS of the msgid of each part
should contain a random element to prevent attackers from guessing the
next msgid in the series ahead of time.  this random element should
have an entropy of at least 16 bits, in other words, at least three
random characters from the repertoire.

(I tried to use "must" and "should" in the RFC sense.)

this is very promising!

-- 
Kjetil T.   ==. ,,==. ,,==. ,,==. ,,==. ,,==
           ::://:::://:::://:::://:::://::::
           =='' `=='' `=='' `=='' `=='' `==  http://folding.stanford.edu
Technical Details
Message-ID: <1rd6qq9rwq.fsf@vingodur.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.tele.dk!small.news.tele.dk!129.240.148.23!uio.no!nntp.uio.no!ifi.uio.no!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> <20021003233515.104$ZG@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <1rd6qq9rwq.fsf@vingodur.ifi.uio.no>
Subject: Re: [FNTP] 'in-completeness'
Date: Fri, 04 Oct 2002 14:53:41 +0000
From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no>
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> <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.tele.dk!small.news.tele.dk!129.240.148.23!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
Newsgroups: news.software.nntp
Organization: Dept. of Informatics, Univ. of Oslo, Norway
Lines: 102
NNTP-Posting-Host: vingodur.ifi.uio.no
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: maud.ifi.uio.no 1033743222 12169 129.240.68.200 (4 Oct 2002 14:53:42 GMT)
X-Complaints-To: abuse@ifi.uio.no
NNTP-Posting-Date: 4 Oct 2002 14:53:42 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7