🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89026

Re: What did / do you find difficult about running Usenet / NNTP / INN server?

#89026
From: Russ Allbery
Date: Mon, 10 Jan 2022 06:11
31 lines
2425 bytes
Grant Taylor <gtaylor@tnetconsulting.net> writes:
> On 1/9/22 9:16 PM, John Levine wrote:

>> No.  That's what the Path: header is for.  You don't send stuff to a
>> peer that already has the peer's name in the path.

> My understanding is that news servers will also ignore an incoming
> article if their own ID (from the me: entry) is already in the path.  So
> you're protected on both sides of a peering session.

The primary defense is the history database which declines any message IDs
that the server has already seen.  Path parsing is a secondary measure.
(Not offering articles to servers that already appear in the Path is
basically an optimization to avoid the unnecessary offer and decline of
the message ID.)

> Though I think that there is a timing aspect.  E.g. if the second /
> duplicate message arrives /after/ the Message-ID has been purged from
> history.

This should not be possible if the server is correctly configured.  The
history database entry should be retained for longer than the cutoff time
on the article Date / Injection-Date, so any article that is no longer in
history should be rejected as being too old (assuming nothing is messing
with the Date / Injection-Date headers).

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <8735lwjf14.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <srbfvb$ji$1@tncsrv09.home.tnetconsulting.net> <srea6u$c4j$1@dont-email.me> <srfa84$5ln$1@tncsrv09.home.tnetconsulting.net> <srg34a$cop$1@dont-email.me> <srgbvk$2gds$2@gal.iecc.com> <srgeg0$79b$1@tncsrv09.home.tnetconsulting.net>

Show Full Headers
Complete Article Headers
Message-ID: <8735lwjf14.fsf@hope.eyrie.org>
Subject: Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Date: Sun, 09 Jan 2022 22:11:51 -0800
From: Russ Allbery <eagle@eyrie.org>
References: <srbfvb$ji$1@tncsrv09.home.tnetconsulting.net> <srea6u$c4j$1@dont-email.me> <srfa84$5ln$1@tncsrv09.home.tnetconsulting.net> <srg34a$cop$1@dont-email.me> <srgbvk$2gds$2@gal.iecc.com> <srgeg0$79b$1@tncsrv09.home.tnetconsulting.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org; logging-data="13364"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:jCIfy/5Mwt/dAaT8XnTpztloxqs=