🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23944

Re: Diablo 1.14 oddity

#23944
From: Requests for Further Spamming
Date: Wed, 03 Dec 1997 00:00
159 lines
9318 bytes
On 3 Dec 1997, Matt Dillon wrote:

> :>>     Yah, the lack of good reporting/debugging has been a problem for a while.
> :>>     INND logs each message-id but I didn't want to do that with Diablo.  

    On the other hand, this is useful information when it gets summarized,
whether by some external tool like Fabien Tassin's innreport.pl, which
makes summaries of the rejects, the reasons for rejection, as well as
graphs of article number and volume over time, with the possibility to
produce graphs of delay from time of article posting to arrival with
additional scripts.

    Of course, it's not necessary to log things with the detail that INN
does, taking up hundreds of megs of space daily for a large site, but it
makes it possible to to get lots of neat-o kewl information from them.
Diablo could only log information that would be useful to the
administrator, such as the site feeding rejected messages and the reason,
which it does not now.


> :>  How about logging the cause whenever it returns a response other than "article
> :>transfer success" or "already got it"? The code already logs "id mismatch" and
> :>"whitespace in path" errors. Also, how hard would it be to return that text to
> :>the sending system so they don't wonder why they got the error (which was the
> :>original point in this thread, I think)?

    (I think the original point was that the administrator of the Diablo
site returning the rejects wanted to know the reasons behind them but I
could be remembering wrong...)


>     Well, streaming commands require the message-id to be returned with the
>     response.  I don't want to tag an error message on after the message-id
>     and risk introducing an incompatibility.

    I had pondered this some months back, and there are already news
servers which do this sort of thing in streaming mode.  Note that it's
common in non-streaming mode that a reason follows the rejection code (no
message ID need be returned because of the lockstep nature of
non-streaming feeds), and for this reason, I've disabled streaming to many
of my peers to whom I have fast connections just to be able to log this
information from the sending end, so that I get daily summaries of the
groups rejected by peers, or what distributions they don't want, or that
I'm sending them a lot of old articles, or whatever.  I'd point you to a
page full of these statistics, but I need to put a lot more time into
improving the tool which summarizes them.  Particularly since there's no
one standard format for returning one particular reason with all the
different software I feed.

    Of course, since Diablo doesn't do this (and since at least earlier
releases returned unexpected non-streaming responses that caused problems
with innfeed), I can't do this, to see how many articles are being
rejected as duplicates, for example, so that I can reduce the number of
rejects by sending a smaller number of CHECKs at a time to minimize the
lag between when the site responds and I can get the article out.


>  Second, some systems operate
>     with a large number of rejects just due to their topology and I don't want
>     to waste bandwidth.  The message-id plus an error message makes for
>     a long response line.

    Not necessarily, depending on how it's done.  I haven't proposed this
in concrete terms yet, but what I hope to hack into innd is returning
rejection codes and reasons with streaming responses, as well as with
non-streaming, but in a scalable and somewhat standardized way that
doesn't waste much additional bandwidth (and if it can be used by the
administrator of the sending end to tune the feed better, the wasted
bandwidth would be well worth it, so that I'd know not to feed 2M posts
in the warez groups to a peer that doesn't want them).

    Okay, here's my idea for streaming feeds.  Note that both innxmit and
innfeed can handle additional stuff past the message ID in the streaming
response, plus that there is some server software out there that does
this (with far longer responses than I'd ever consider), so it's not
breaking much new ground.  I'd even claim that any feeder which can't
handle this is broken.

    What I would propose, after the reject response code plus message ID,
would be one or more additional optional tokens, each providing somewhat
more information, so that one can choose to send terse replies that will
give a clue to the reason for rejection, as well as additional
information if desired, and in the full-blown version, something
actually human-readable to interpret the preceding tokens.

    So my initial thoughts are that you'd see something like this:
439 <666$barry@bofh.vszbr.cz>
which is the present minimum you must return.  To this, you could
optionally add a numeric code, I think three digits should suffice,
or two, permitting one to categorize rejection reasons somehow...
439 <666$barry@bofh.vszbr.cz> 731
This would be enough for parsing scripts to categorize the reason for
rejection -- say, one set of codes for header problems, one for date
problems, with a large set reserved for use by the infinite number of
reasons that a perl filter can produce.

    I haven't given much thought to dividing the numbers, but if one
particular number meant the article had already arrived by another
channel, and another number meant the article was too large, and another
was for unwanted site, and so on, with a minor additional amount of
bandwidth, you could return some useful information.

    Some response codes, while giving the reason, can be supplemented with
further information about the reason.  Unwanted group?  Okay, which one?
So a second optional token, requiring the first code token, can be added
with the essential parameter:
439 <666$barry@bofh.vszbr.cz> 731 bofh.vszbr.cz      or
439 <666$barry@bofh.vszbr.cz> 816 358273>100000      or
439 <666$barry@bofh.vszbr.cz> 395 alt.usenet.mafia.thwack.crunch.cripple

    Okay, it takes a bit more bandwidth.  But in the first case, you could
determine that the fed site is tossing articles with bofh.vszbr.cz in the
path, and in the second case, you're sending posts larger than the site
wants and can tweak your feed to match, and in the third case, your site
has an incomplete active file and you need to get on the phone at once.

    Then, optionally an additional token, for the benefit of humans who
have nothing more to do than tail -f the logfiles, with readable
information, just as one gets now with non-streaming from much software:
439 <666$barry@bofh.vszbr.cz> 201 Duplicate article          or
439 <666$barry@bofh.vszbr.cz> 731 bofh.vszbr.cz Unwanted site in path    or
439 <666$barry@bofh.vszbr.cz> 911 Services spam - free hot & kinky phone sex

    Then, by choosing to return short codes, your feeds can tune what
they're sending you efficiently without wasting too much additional
bandwidth, through tools which can extract and summarize this information,
and by returning any further tokens, you can give them more information
about what's wrong with their configuration, or a full-blown lengthy
response that would rival the phone book for interesting reading,
particularly if the site is running a perl spam filter.

    Okay, there it is, and sometime I'll even think about putting this
into code somehow.  Obviously, someone will have to summarize the most
common reasons for rejection and categorize them suitably in order to
assign numeric response codes to them, but hey, that's what committees are
for.

    Anyway, as a feed site, I *care* about what I send to my peers, and I
care (hey you, stop laughing) about the horrible waste of bandwidth when I
send them an article that they turn around and drop on the floor,
unappreciated, darn ungrateful bastards.  It really rends my heart to
think of the articles I could be getting out to the world instead, if I
were not sending them junk they don't want (moment... nope, it's still not
updated yet), because I have to wait for a lowly human to send me the
details of the configuration, or experiment with more connections at fewer
checks to try and reduce suspected duplicates...  Arrgh, it just makes my
eyes water.

    Hmmm.  Now that I've mentioned these preliminary thoughts, how much
you want to bet that Highwind will have it in operational software before
the end of the week?


Barry Bouwsma, another captive of the fiendish Usenet Mafia
will plead for more newspeers for food


Technical Details
Message-ID: <Pine.BSF.3.96.971203210012.8264L-100000@coredump.int.tele.dk>
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!not-for-mail
References: <347B5E96.ABD@digex.net> <65v74p$14m0$1@newssvr03-int.news.prodigy.com> <662pdm$e6v$1@flea.best.net> <EKLr7r.IBI@spcuna.spc.edu> <66486h$knh$1@flea.best.net>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSF.3.96.971203210012.8264L-100000@coredump.int.tele.dk>
Subject: Re: Diablo 1.14 oddity
Date: Wed, 03 Dec 1997 00:00:00 +0000
From: Requests for Further Spamming <abuse@coredump.int.tele.dk>
References: <347B5E96.ABD@digex.net> <65v74p$14m0$1@newssvr03-int.news.prodigy.com> <662pdm$e6v$1@flea.best.net> <EKLr7r.IBI@spcuna.spc.edu> <66486h$knh$1@flea.best.net>
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!not-for-mail
X-Deja-AN: 294962423
Organization: The Daily Throttle
Reply-To: ag786@yfn.ysu.edu
Newsgroups: news.software.nntp