🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89339

Re: Relay : List of headers that should appear only once in an article?

#89339
From: Julien ÉLIE
Date: Tue, 17 May 2022 19:01
41 lines
2912 bytes
Bonsoir Franck,

>>   /* The Comments and Original-Sender header fields can appear more 
>> than once
>>    * in the headers of an article.  Consequently, we MUST NOT put them 
>> here.
>>    */
>>
>> So all the header fields listed there are supposed to appear only once 
>> (and is tested by StripOffHeaders()).
> 
> Since this table is part of the "nnrp.c" code, I assume that it is only 
> used for injection (POST) not for transit (IHAVE)? No?

Yes, that's right.  This is enforced at injection time.


> I just want to offer the possibility (configurable) of rejecting 
> articles received from a feed with duplicate headers that don't really 
> make sense. Otherwise only primordial headers will be tested to be unique.

Ah, OK.  I thought you were looking for header fields that were supposed 
to be unique (as you answered "Checked to be unique" in previous 
discussions).
If you are looking for the primordial header fields that could be 
harmful to other software, this is indeed not that list from nnrpd; the 
discussion in this thread answered that.


>> Amongst other header fields not mentioned in this thread, I would 
>> check that X-PGP-Key and X-PGP-Sig are unique.
> 
> Thanks to mention them, will be added to be unique for transit.

You're welcome.

-- 
Julien ÉLIE

« – C'est une bonne situation ça, scribe ?
   – Oh, c'est une situation assise. » (Astérix)
Technical Details
Message-ID: <t60rf7$vfhf$1@news.trigofacile.com>
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: <6280a4d0$0$18038$426a74cc@news.free.fr> <87pmke7o5k.fsf@hope.eyrie.org> <62814c66$0$26331$426a74cc@news.free.fr> <87k0am7fcc.fsf@hope.eyrie.org> <t5u6ci$tf3f$1@news.trigofacile.com> <6283320b$0$22065$426a74cc@news.free.fr>

Show Full Headers
Complete Article Headers
Message-ID: <t60rf7$vfhf$1@news.trigofacile.com>
Subject: Re: Relay : List of headers that should appear only once in an article?
Date: Tue, 17 May 2022 21:01:59 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <6280a4d0$0$18038$426a74cc@news.free.fr> <87pmke7o5k.fsf@hope.eyrie.org> <62814c66$0$26331$426a74cc@news.free.fr> <87k0am7fcc.fsf@hope.eyrie.org> <t5u6ci$tf3f$1@news.trigofacile.com> <6283320b$0$22065$426a74cc@news.free.fr>
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: Groupes francophones par TrigoFACILE
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 17 May 2022 19:01:59 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176.143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="1031727"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.9.0
Cancel-Lock: sha1:wk2tYCd5j3+rZhYPbM7mWr5SZzQ= sha256:/v/nxhCp8jkdvrc2lieGHw1hpJlFFIy9aEA3uLNIyr0= sha1:ys24wYhre7n2rUvLTuiV4bVbZOw= sha256:omps6KZzBey+Jnac4tvmcAmoA4cffuMST/iW4HdVt+s=
In-Reply-To: <6283320b$0$22065$426a74cc@news.free.fr>