🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92806

Re: Header ordering

#92806
From: InterLinked
Date: Thu, 21 May 2026 13:40
78 lines
5319 bytes
On 5/21/2026 12:53 AM, Russ Allbery wrote:
> InterLinked <nntp@phreaknet.org> writes:
>> On 5/20/2026 11:37 PM, Russ Allbery wrote:
> 
>>> That's because presumably it already has a .POSTED component and it
>>> can't be injected again with that present.
> 
>> It makes sense, but I would think the .POSTED component could be removed
>> and the others retain, so that the rest of the path is preserved when
>> reposting it, rather than neutering the existing path history.
> 
> I think that would be rather deceptive and would change the meaning of the
> header. Renaming is surely better?

That's fair, is there any standard for that like Resent-Path or 
Original-Path or not really? I see Original-Sender but no other original 
headers mentioned.

That also makes me think if, for some bizarre reason, the renamed header 
already existed, what to do then? e.g. The second network was not Usenet 
but a *second* news network before getting to Usenet, it might possibly 
encounter a second reading connection to get to Usenet... (and 
theoretically this could extend indefinitely) Original-Path-1, etc? (No, 
I am not planning such atrocities, but just trying to think of what 
could happen, I guess possible if someone else decided to "peer" using a 
reading connection on another peered server)

>> Speaking of Path, in looking at examples of headers in Usenet articles, I
>> found this (as just one substring in the path): "!fx18.iad.POSTED!"
> 
>> I *think* this is ill-formed, as it doesn't seem valid from RFC 5537.
> 
> Yup.
> 
> There are some things like that which predate the standard, or are just
> from confused sites or sites that don't care about the standard. (But in
> this case I think it's the former.)
> 
>> It seems it might be beneficial to recognize ".POSTED" even when not at
>> the beginning of string, to account for incorrect servers like this one
>> (assuming this is indeed incorrect).
> 
> Recognize and do what with it, though? By the time the article has been
> injected and is propagating, it's too late, unless you want to reject such
> articles entirely, which is probably more destructive than is warranted.

What I was wondering before is if receiving from a reading client if it 
seems warranted to reject such an article or not as "already posted". 
Now there is another argument I could simply reject it as "ill-formed" I 
suppose, to avoid propagating such ill-formed articles to Usenet. Accept 
from peers, reject from readers (as with many other things).

>>> Those are two different pieces of software that have different
>>> requirements. Section 3.5 is about the duties of the news *server*
>>> (specifically, the component that accepts POST commands), not the
>>> client like 3.4.1.
> 
>> But in certain cases, they could be the same host, as in my example of
>> receiving an article from a peer and sending it to Usenet via a reading
>> connection, i.e. now behaving like a client.
> 
> I'm now really confused about what scenario you're describing; 3.5 is
> irrelevant to such a client since there is no injecting agent involved in
> either of those operations. That's just a case of reinjection. In that
> case, you MUST NOT add an Injection-Date header if none is present. See
> the third paragraph of 3.4.2. This is a case of gatewaying.
> 
>> In this situation, if Date and Message-ID are already present in the
>> article, but not Injection-Date, but then a reading connection is used
>> to post to Usenet, now it is impossible to comply with both
>> requirements...
> 
> I think the third paragraph of 3.4.2 is the relevant bit here, so I think
> the problem is just that you thought 3.5 was relevant to this, but it's
> not.

Okay, I see, because when it *receives* the article, it's from a peer 
and not a reader... that makes sense.
Technical Details
Message-ID: <10un215$p9r2$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <10uj0fp$3l4ia$1@dont-email.me> <871pf6etan.fsf@hope.eyrie.org> <10uj6ai$3mf5n$1@dont-email.me> <877boyd6bq.fsf@hope.eyrie.org> <10uloev$ecvd$1@dont-email.me> <87lddd8mbc.fsf@hope.eyrie.org> <10um19v$g84b$1@dont-email.me> <87h5o18isg.fsf@hope.eyrie.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: InterLinked <nntp@phreaknet.org>
Newsgroups: news.software.nntp
Subject: Re: Header ordering
Date: Thu, 21 May 2026 09:40:51 -0400
Organization: A noiseless patient Spider
Lines: 78
Message-ID: <10un215$p9r2$1@dont-email.me>
References: <10uj0fp$3l4ia$1@dont-email.me> <871pf6etan.fsf@hope.eyrie.org>
 <10uj6ai$3mf5n$1@dont-email.me> <877boyd6bq.fsf@hope.eyrie.org>
 <10uloev$ecvd$1@dont-email.me> <87lddd8mbc.fsf@hope.eyrie.org>
 <10um19v$g84b$1@dont-email.me> <87h5o18isg.fsf@hope.eyrie.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 May 2026 13:40:53 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="829282"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/p/AXnD1jiyz87O0juqUnZhvTM/H3Ho08="; posting-host="13b54daa546a4752abec19e10d7dc53f"
Cancel-Lock: sha1:EFBLZAd0FUWZNqZ5vsDieeQ3M98= sha256:Tb5gvIFHhP6mtFN4TG+27541rGtQ3rSqTP/AXZkRsTI=
	sha1:xMrcZv3Bi/c6iW1VfFQSTAlI3PU=
Content-Language: en-US
X-Mailer: MailNews/52.9.9224a1
In-Reply-To: <87h5o18isg.fsf@hope.eyrie.org>