🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61389

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

#61389
From: Curt Welch
Date: Sun, 13 Oct 2002 03:59
58 lines
4119 bytes
Klaas <spamhole@klaas.ca> wrote:
> After careful consideration, Curt Welch muttered:
>
> > "J.B. Moreno" <planb@newsreaders.com> wrote:
>
> >> 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.
>
> <>
> > The idea of hashing the newsgroup name to make it shorter is an
> > interesting one which might have use somewhere, but I don't think it
> > has a hope of making it into the message-id.
>
> I too think it is a bit much for the m-id.  A hashed newsgroups: header
> in a command such as the XCHECK you thought up earlier would accomplish
> the same goal, since it is then and only then that the information is
> needed.

Yeah, that thought went through my head as well.  But to be honest,
newsgroup names aren't all that long most the time anyway, so it seems to
me that the idea of hashing them for that would not save enough bytes to
justify the compexity of the protocol. I've just been staring at traces for
incomming feeds and the thought of not being able to see the group names if
they were being sent with an XCHECK just seems wrong.  For example, what if
you only wanted to accept articles which were in your active list but
wanted to log newsgroups which you were turning down articles for.  If they
were hashed you would know it's not a group you wanted, but you would have
no idea what the group name actually was unless you accepted the article
just to find out.

Speaking of watching traces of incoming feeds, did you know that cyclone,
it seems, likes to send TAKETHIS commands with a zero length article?  Like
this:

   TAKETHIS <mid>
   .

I believe it's happening because the feed is backlogged so far that the
article has expired from the spool of the transit machine.  Once again I
find something going on with NNTP that I never would have expected.

It could also be that the sending site just has something broken,
(webusenet), but I suspect it's just that the article has expired and
that's the way it deals with it.

My code ignores the null article nicely, but it's not smart enough to know
that this means the article will never show up, so the Message-ID should no
longer be in the cache as "comming soon".  It sits there for 60 seconds
before it's expired which prevents anyone else from sending it in that
time.  There's always something else that needs to be adjusted when it
comes to makeing this stuff work.  And NNTP looks like such a simple
portocol. :)

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20021012235919.639$gi@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!lnsnews.lns.cornell.edu!newsstand.cit.cornell.edu!news.stealth.net!news.stealth.net!66.250.146.10.MISMATCH!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <20021011035242.323$xD@newsreader.com> <111020021936591927%planb@newsreaders.com> <20021011215658.332$3G@newsreader.com> <121020020105387942%planb@newsreaders.com> <20021012021809.043$Ah@newsreader.com> <121020020456270923%planb@newsreaders.com> <20021012132501.396$rd@newsreader.com> <Xns92A6148DF15Cnothing@209.98.50.131>

Show Full Headers
Complete Article Headers
Message-ID: <20021012235919.639$gi@newsreader.com>
Subject: Re: [xBin] some examples (was [FNTP])
Date: Sun, 13 Oct 2002 03:59:19 +0000
From: curt@kcwc.com (Curt Welch)
References: <20021011035242.323$xD@newsreader.com> <111020021936591927%planb@newsreaders.com> <20021011215658.332$3G@newsreader.com> <121020020105387942%planb@newsreaders.com> <20021012021809.043$Ah@newsreader.com> <121020020456270923%planb@newsreaders.com> <20021012132501.396$rd@newsreader.com> <Xns92A6148DF15Cnothing@209.98.50.131>
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!lnsnews.lns.cornell.edu!newsstand.cit.cornell.edu!news.stealth.net!news.stealth.net!66.250.146.10.MISMATCH!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 o6WQm=KicoUhfgro0b5f.@Cq19Kh2Uf69R6ZXZ8K6AS/RStY
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