🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64024

Re: xBin Message-ID convention

#64024
From: Kjetil Torgrim Homme
Date: Thu, 13 Feb 2003 02:59
95 lines
5105 bytes
[Curt Welch]:
>
>   Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
>   > I'm not too fond of fixing the order of the parameters, it could
>   > become a straightjacket.  what happens if the hash method changes?
>   > let's say the new hash method gets parameter "I", now the order must
>   > be ~XB~I...~S...~x...~~ ?  should we allow more than one hash method?
>   
>   The "more than one hash" is a valid idea.
>   
>   However, when I think of problems like that I tend to want to
>   intentionally not allow the hash method to be changed.  I think
>   the odds of "needing" to swtich to a new hash is so small (this
>   isn't a security application), and the problems that would arrise
>   so great if you changed, that it would just never happen.

I agree.  so how about we just drop the possibility of changing the
hashing algorithm?  if need be, we can make a new ~XH~...~~ to
complement the xBin information...

>   The other issue about the hash is it's size.  It seems that if we
>   don't include the full 120 bits (which is what we have talked
>   about), that a more likely change in the future would be to
>   include more hash bits in the Message-Id.  We want to make sure
>   all programs can deal with that correctly.

good point.  I'll change the wording.  how about:

  H   hash, the most significant bits of the root hash.  at least 72
      bits MUST be included.  the number of bits MUST be a multiple of
      18.  the type is data.  this parameter is mandatory.

the reason for "multiple of 18" is to avoid the need to understand
equals sign padding...

>   > culling from other parts of the thread, it seems like we need at least
>   > three values:
>   >
>   >   data
>   >   announcing set
>   >   wanted set
>   >
>   > we could require the client to download all the set definitions to see
>   > if it is a wanted or an announcement, though.
>   
>   Yeah, but if you have something like ~T1 already to mean "set" it
>   seems a shame not to allow ~T2 for "wanted set".  Thought it feels
>   like there might be reasons to only have "one" type for a "set"
>   file and put the "wanting" vs "annoucning" info in the file.  I'm
>   not sure why I'm thinking that however.

not sure if a numerical value and a registry is better or worse than a
freeform string:

  T   type of file.  the type is string.  this parameter defaults to
      "data".

the string data type may be giving people too much rope.

>   > feel free to help out, I haven't studied that.  what's the difference
>   > between [XX/YY] and (XX/YY), for instance?  how much of the Subject
>   > must be kept constant?
>   
>   Everything must be constant except the last XX/YY in the
>   article. [] are allowed though () is more common.

it would be best if this information was in a reference, but I changed
the text a little:

| existing decoders will depend on meta-information in Subject, and
| therefore an xBin aware poster SHOULD follow existing conventions for
| tagging multipart files in Subject.  this means to keep everything in
| Subject constant except "(XX/YY)" which should be at the end.  XX and
| YY should have the same number of digits, so the first part of a 185
| part file is "(001/185)".

>   > >   > interaction with yEnc
>   > >   > =====================
>   > >
>   > >   It needs to get the file name from there hecause I don't think
>   > >   your Content-Dispostion idea is going to fly.
>   >
>   > why not?  we can just mandate it.  the nice thing about using
>   > Content-Disposition is that stuff like the character set issue has
>   > been sorted out (RFC 2231).
>   
>   Because you can now have a multiplart/mixed MIME article with the first
>   part being text/plain and the second holding the data.

not using yEnc, surely?

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Technical Details
Message-ID: <1rk7g4997s.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!bloom-beacon.mit.edu!news.telebyte.nl!newsfeed.vmunix.org!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
References: <1rvg0ehvar.fsf@vingodur.ifi.uio.no> <20030203033140.853$4N@newsreader.com> <1r3cn3pnx1.fsf@vingodur.ifi.uio.no> <20030207234048.235$SM@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <1rk7g4997s.fsf@vingodur.ifi.uio.no>
Subject: Re: xBin Message-ID convention
Date: Thu, 13 Feb 2003 02:59:35 +0000
From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no>
References: <1rvg0ehvar.fsf@vingodur.ifi.uio.no> <20030203033140.853$4N@newsreader.com> <1r3cn3pnx1.fsf@vingodur.ifi.uio.no> <20030207234048.235$SM@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!bloom-beacon.mit.edu!news.telebyte.nl!newsfeed.vmunix.org!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
Newsgroups: news.software.nntp
Organization: Dept. of Informatics, Univ. of Oslo, Norway
Lines: 94
NNTP-Posting-Host: vingodur.ifi.uio.no
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: maud.ifi.uio.no 1045105176 17751 129.240.68.200 (13 Feb 2003 02:59:36 GMT)
X-Complaints-To: abuse@ifi.uio.no
NNTP-Posting-Date: 13 Feb 2003 02:59:36 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7