🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89667

Re: How to permit user to set the right part of message-id

#89667
From: Franck
Date: Tue, 27 Sep 2022 20:48
38 lines
2944 bytes
Bonsoir julien,

> :-)
> It is true that TAKETHIS can be pipelined contrary to POST, so the 
> chance to POST more than 100 articles in one second is very small, 
> contrary to a feed where we managed to exchange 140 articles in one 
> second with TAKETHIS.

I understand that you are making a comparison with TAKETHIS just to 
refer to the speed of transmission of articles since, in this case, 
there is no generation of Message-ID.
> A malicious poster may pipeline POST and achieve that rate, but it won't 
> do any harm; his posts will just be discarded because of duplicate 
> Message-IDs.


I think a malicious poster will be confronted with one of the 
discussions we had about commands that cannot be pipelined, like POST.

In this case, my implementation adopts part 3.5 of RFC3977 :

If the specific description of a command says it "MUST NOT be
pipelined", that command MUST end any pipeline of commands.  That is,
the client MUST NOT send any following command until it receives the
CRLF at the end of the response from the command.  The server MAY
ignore any data received after the command and before the CRLF at the
end of the response is sent to the client.


My server does the check, and pipelining will be broken, so I think the 
client will be disconnected at some point, because of a timeout or for 
too many consecutive bad commands.

I would give it a try...


Franck
Technical Details
Message-ID: <tgvnjh$s94$1@gioia.aioe.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: <632790d3$0$22052$426a74cc@news.free.fr> <argle-bargle@argle.bargle.xyz> <63279bd2$0$22055$426a74cc@news.free.fr> <87h7148aq4.fsf@hope.eyrie.org> <6328a840$0$2976$426a74cc@news.free.fr> <tgaje6$6pa5$1@news.trigofacile.com> <6328dcc9$0$5132$426a74cc@news.free.fr> <tganq1$6pa5$2@news.trigofacile.com> <87y1ufxary.fsf@hope.eyrie.org> <tgc30j$7s0o$4@news.trigofacile.com> <87sfkmxcsj.fsf@hope.eyrie.org> <tgfttk$2enqk$1@news.trigofacile.com> <tgrdor$ddp$1@gioia.aioe.org> <tgt381$7h2k$1@news.trigofacile.com> <tgtvue$286$1@gioia.aioe.org> <tgu3tc$1a9s$1@gioia.aioe.org> <tgu7qh$8iq1$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <tgvnjh$s94$1@gioia.aioe.org>
Subject: Re: How to permit user to set the right part of message-id
Date: Tue, 27 Sep 2022 22:48:49 +0200
From: Franck <franck@email.invalid>
References: <632790d3$0$22052$426a74cc@news.free.fr> <argle-bargle@argle.bargle.xyz> <63279bd2$0$22055$426a74cc@news.free.fr> <87h7148aq4.fsf@hope.eyrie.org> <6328a840$0$2976$426a74cc@news.free.fr> <tgaje6$6pa5$1@news.trigofacile.com> <6328dcc9$0$5132$426a74cc@news.free.fr> <tganq1$6pa5$2@news.trigofacile.com> <87y1ufxary.fsf@hope.eyrie.org> <tgc30j$7s0o$4@news.trigofacile.com> <87sfkmxcsj.fsf@hope.eyrie.org> <tgfttk$2enqk$1@news.trigofacile.com> <tgrdor$ddp$1@gioia.aioe.org> <tgt381$7h2k$1@news.trigofacile.com> <tgtvue$286$1@gioia.aioe.org> <tgu3tc$1a9s$1@gioia.aioe.org> <tgu7qh$8iq1$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
Newsgroups: news.software.nntp
Organization: Aioe.org NNTP Server
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="28964"; posting-host="nlntqPFq7gLPky07xg0Yvg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.0
Content-Language: fr
X-Notice: Filtered by postfilter v. 0.9.2