🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60947

Re: [FNTP] 'in-completeness'

#60947
From: Curt Welch
Date: Thu, 03 Oct 2002 04:05
58 lines
4390 bytes
Kjetil Torgrim Homme <kjetilho@ifi.uio.no> wrote:
> [Juergen Helbing]:
> >
> >   I believe that no old server would add any kind of "reserved" TLD
> >   code at the RHS "by accident".
>
> Outlook Express would ...
>
> >   On the LHS where random and time codes are used every kind of
> >   combination might be occur - and would be even permitted today.
> >   That's why I would prefer the RHS for _binary_ identification.
>
> I showed that the legal characters ' { } did not appear in an
> extensive sample of msgids used on Usenet.  today I increased the
> sample to 4427858.  of these 882 were invalid, mostly missing angle
> brackets.

> the backtick was completely unused in this sample.  we see that ' { }
> are very seldom in this sample as well.  there is no lack of good
> candidates which are extremely unlikely to show up in a msgid.

Or, just to make my point, you don't even have to go to the unlikely
characters.  I just scaned my text article spool and extracted 5478595
message-ids.  Not a single message ID had the 4 character patteren $UB$ in
it.  And I was suggesting that it would take $UB$.*$$ where .* was proabbly
some better defined language as well where the "match" would fail of the
message ID didn't all match.

For example, the standard could be something like:

 $UB$<hash>$o<offset>$s<size>$$

where <hash> was required for all binary posts and must be some
exact length and encoded with some well defined base64 set of characters
(which did not include $), and the $o<offset> and $s<size> could be
optional.

So not only would there need to be a $UB$, but it must also be followed by
N characters from a base64 character set tht did not include dollar and
then followed by a $.  The odds of this happening by chance are so small as
to be unimportant.  And the only damage it would cause when it did happen
would be 1) the article might get filtered at a text-only server thinking
it was a binary, and 2), binary download tools might think it was a binary
and list it as a file which could be downloaded.  But it would not match it
with any other binary unless the hash actually matched some other file.

But if you then used a character seldome used in Message-IDs like ' instead
of $, the odds get so small they are hard to imagine.  But using a quote
charcater I think would not be a good choice anyhow because of the trouble
it can cause eleswhere in the world when you try to pass message-ids though
other systems (like Unix command line arguments for example).  It's a bitch
when cut and past doesn't work for example because the Message-ID contains
" or ' or both.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20021003000536.521$iU@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!logbridge.uoregon.edu!newsfeed.wirehub.nl!newshosting.com!news-xfer1.atl.newshosting.com!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>

Show Full Headers
Complete Article Headers
Message-ID: <20021003000536.521$iU@newsreader.com>
Subject: Re: [FNTP] 'in-completeness'
Date: Thu, 03 Oct 2002 04:05:36 +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>
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!logbridge.uoregon.edu!newsfeed.wirehub.nl!newshosting.com!news-xfer1.atl.newshosting.com!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 wZoLOr7jiwpQ0J4,60G.QU6lR3-lHN-z4PN2yEuxEKhg.7rxPO
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: 57