🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #93111

Re: Duplicated newsgroups in Xref header fields

#93111
From: Julien ÉLIE
Date: Sat, 14 Nov 2026 11:10
41 lines
2879 bytes
Hi Jesse,

>> While reviewing a bug, a question arises: shouldn't repeated newsgroups
>> in Xref header fields be considered as an error, and the article be
>> rejected during both injection and relaying?
> 
> Injecting agents MUST reject an article with Xref.

Indeed.  My question was wrong; I shouldn't have spoken about roles, but 
only about syntax checks.


> With that, in my opinion, a transit server isn't required to strip or examine
> Xref.

Yes, unless these transit servers also store articles or history.  The 
use case is to have access to these articles to relay them to peers (and 
eventually delete them as soon as all the remote peers have accepted or 
rejected the articles sent).

Programs like archive, expire, overchan or makehistory parse that field.
When innd acts as a slave server, it also examines the Xref header field.


> In the case of duplicate newsgroups in the same Xref header...  I am not seeing
> anything that says the newsgroups have to be unique inside the header, but
> also don't see how an article can have more than one article number per
> newsgroup.

That's the point of my message.  There shouldn't be such repeated 
newsgroups in the Xref header field.  It could be a form of attack to 
trigger bugs.  It is what we are currently examining with Billy G and 
Richard Kettlewell, thus the suggestion to harden a bit the allowed 
syntax of that header field.

-- 
Julien ÉLIE

« Le rire n'est jamais gratuit : l'homme donne à pleurer mais prête à
   rire. » (Pierre Desproges)
Technical Details
Message-ID: <11d9fk3$1iegs$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.trigofacile.com!.POSTED.2001:861:3f81:7990:2c67:2f40:1f6:7488!not-for-mail
References: <11d43n6$1d573$1@news.trigofacile.com> <11d530f$1vf4$1@nnrp.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.trigofacile.com!.POSTED.2001:861:3f81:7990:2c67:2f40:1f6:7488!not-for-mail
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
Newsgroups: news.software.nntp
Subject: Re: Duplicated newsgroups in Xref header fields
Date: Sat, 14 Nov 2026 12:10:59 +0100
Organization: Groupes francophones par TrigoFACILE
Message-ID: <11d9fk3$1iegs$1@news.trigofacile.com>
References: <11d43n6$1d573$1@news.trigofacile.com>
 <11d530f$1vf4$1@nnrp.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 14 Nov 2026 11:10:59 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2001:861:3f81:7990:2c67:2f40:1f6:7488"; logging-data="1653276"; mail-complaints-to="abuse@trigofacile.com";
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:sqthy/bCcFO5RLL9Zujv430Vg1w= sha256:RMDxBSNeTNdWybkPNIraOp+ftbXciX73HFDlp1BNlaE=
	sha1:ydjtZI7OqjU1IghyKsiUSLBe8wg= sha256:y1tY+O4bJ2hkiRYTf7ipLNBRPbhIBJzc7IUMiLZmytw=
In-Reply-To: <11d530f$1vf4$1@nnrp.usenet.blueworldhosting.com>
X-Postfilter: Postfilter-NG 2026.08.1-rc2