🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61341

Re: [xBin] some examples (was [FNTP])

#61341
From: J.B. Moreno
Date: Sat, 12 Oct 2002 08:56
78 lines
5094 bytes
In article <20021012021809.043$Ah@newsreader.com>, 
 Curt Welch <curt@kcwc.com> wrote:

> "J.B. Moreno" <planb@newsreaders.com> wrote:
> > In article <20021011215658.332$3G@newsreader.com>, 
> >  Curt Welch <curt@kcwc.com> wrote:
-snip-
> > If I was to suggest reducing the hash bits, it'd be in order to replace
> > them with something else -- I'd like to see a hash of the Newsgroups
> > and From.  Especially the Newsgroups -- that seems just too useful to
> > leave out (it allows servers to filter based upon group and not
> > hierarchy).
> 
> Yeah, but before long, you've put the entire header into the Message-ID.
> Of course this is the danger once you talk about putting anything real
> into it.  It's that old slippery slope problem.  Once you start, sometimes
> it's impossible to turn back, and the next thing you know, you do have
> everything useful from the header hidden in the messaage-id.  Sometimes
> it's better not to take that first becuase of this problem.

I understand what you're saying, but I disagree -- I think this is a
pretty short slope, with not a lot extra that would be valuable to
include.

> The newsgroup has little to no use for clients because they can already
> get that from XOVER.  And for the sending side of the feed, they have
> access to the header, so it's no help there.  The only thing putting
> newsgrop information into the header would help is to the receving
> end of a feed.  It would allow that side to block groups without having
> to send requests to their peers.

Right.  Exactly.

> But even if you hash the groups, you can't hash the entire Newsgroups:
> line. You would have to hash each newsgroup name.  And you would need a lot
> of bits per name to prevent false positives with a hash (I would think 30
> bits would be a minimum, so that's 5 base64 characters per newsgroup name.
> Lots of binary stuff gets cross posted to 5 or so groups, so you are
> talking 25 more characters in the Message-Id.  I don't think that would be
> wise for a feature.

I'm not the one running a full feed, but (a) aren't most binaries
posted only to a single group, and (b) why guess on the number of bits
needed, it ought to be a fairly straightforward test if you've got the
hashing code set up (start with 18 bits, run it across the entire group
list, if the number of hashes is less than the number of groups, up the
bit allocation).

If (a) is correct then there is an additional benefit from hashing the
entire Newsgroups header -- namely it allows you to filter out
cross-posted binaries.

-snip-
> In general, if the only problem you are trying to solve is to give an
> incoming feed more information to work with, a solution like the above
> is much better than craming more stuff into Message-Ids.  The above
> soluion will work for all articles sent between two machines that know
> how to support XCHECK, whereas anything that gets added to Message-IDs will
> take a long time to get make it into a large percentage of Message-IDs.

Once the format has been settled and implemented, you're right, but
remember that part of the plan for getting it off the ground is for
servers to drop binaries that aren't appropriately tagged.

That means that you don't have to worry about partial implementations
to begin with -- servers can make sure that the id's are conformant.

This fits in with someone elses suggestion that the structure be
partially fixed, allowing you to leave off tags for those fields, but
have tags included as part of the "extras" which are allowed for in the
future if it's ever expanded (the above suggestion for the ng hash
could be one of the extra's, if it's present the binary is posted to a
single group, if not either it wasn't or the posting software decided
not to include that info).

-- 
J.B. Moreno
Technical Details
Message-ID: <121020020456270923%planb@newsreaders.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!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!newshosting.com!news-xfer1.atl.newshosting.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news2.newsreader.com!flame.newsreader.com!planb
References: <20021011035242.323$xD@newsreader.com> <111020021936591927%planb@newsreaders.com> <20021011215658.332$3G@newsreader.com> <121020020105387942%planb@newsreaders.com> <20021012021809.043$Ah@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <121020020456270923%planb@newsreaders.com>
Subject: Re: [xBin] some examples (was [FNTP])
Date: Sat, 12 Oct 2002 04:56:27 -0400
From: "J.B. Moreno" <planb@newsreaders.com>
References: <20021011035242.323$xD@newsreader.com> <111020021936591927%planb@newsreaders.com> <20021011215658.332$3G@newsreader.com> <121020020105387942%planb@newsreaders.com> <20021012021809.043$Ah@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!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!newshosting.com!news-xfer1.atl.newshosting.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news2.newsreader.com!flame.newsreader.com!planb
Newsgroups: news.software.nntp
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8bit
User-Agent: Thoth/1.6.0 (Carbon/OS X)
X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8
  N*x>d^h
X-Trace: flame.newsreader.com v.KCWEi50t5aV4B,YNnbf-_nDIO@wBFlX43cSd9@ipYi@cxVO
Lines: 77