🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #186293

Cancel-Lock without Login

#186293
From: Michael Bäuerle
Date: Wed, 20 Nov 2024 10:28
35 lines
2771 bytes
VanguardLH wrote:
> 
> [...]
> How does Cancel issued by client work for servers that require no login
> by the client?

The newsreader of the client must create Cancel-Locks (and the
corresponding Cancel-Keys) itself.

This can be implemented with libcanlock or OpenSSL, etc.
Newsreaders like flnews, gnus, slrn and tin supports it.

libcanlock also provides a command line frontend:
<https://micha.freeshell.org/libcanlock/doc/man1/canlock.1.html>
<https://packages.debian.org/bookworm/canlock>
Looks like you are using Windows, WSL should help in this case.

> That is, a user that must login is verified they are the
> user that submitted a Cancel on their own article, but a user that does
> not login cannot be verified to be the user whose article is requested
> to cancel.

This is only relevant if a server wants to act as representative for a
client.

> Seems cancels would need to get ignored from clients that do
> not login to prevent malicious destruction by someone pretending to be
> the original poster.

To avoid abuse, the identity of the client should be verified before a
server creates Cancel-Locks and Cancel-Keys as representative for the
client.

The verification, that Cancel-Keys matches Cancel-Locks, for executing
Cancel and Supersede operations does not need such information.
Technical Details
Message-ID: <AABnPbnNdgQAAFDu.A3.flnews@WStation5.stz-e.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <n95ljjp6gnnlfsvjasd90fllco5duv2uc6@4ax.com> <rui8dpjpksdl$.dlg@v.nguard.lh> <vhfta9$1blnv$1@dont-email.me> <alb2yhvm1k0o.dlg@v.nguard.lh> <vhg5sc$1d7l0$1@dont-email.me> <x0xe8h24ln6m.dlg@v.nguard.lh> <8ma5dvwckq.fsf@raybanana.net> <wwxi2otyivz0.dlg@v.nguard.lh> <1gob2zx2ufz9l.dlg@v.nguard.lh>

Show Full Headers
Complete Article Headers
Message-ID: <AABnPbnNdgQAAFDu.A3.flnews@WStation5.stz-e.de>
Subject: Cancel-Lock without Login
Date: Wed, 20 Nov 2024 10:28:29 +0000
From: Michael Bäuerle <michael.baeuerle@stz-e.de>
References: <n95ljjp6gnnlfsvjasd90fllco5duv2uc6@4ax.com> <rui8dpjpksdl$.dlg@v.nguard.lh> <vhfta9$1blnv$1@dont-email.me> <alb2yhvm1k0o.dlg@v.nguard.lh> <vhg5sc$1d7l0$1@dont-email.me> <x0xe8h24ln6m.dlg@v.nguard.lh> <8ma5dvwckq.fsf@raybanana.net> <wwxi2otyivz0.dlg@v.nguard.lh> <1gob2zx2ufz9l.dlg@v.nguard.lh>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: alt.free.newsservers
Lines: 35
Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
X-Trace: individual.net Nbg9Dh2y7Uj7jGz8oLwcWgcWFcZZ9RPiyQVVFuqO0Lk4s60GUr
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:fSTGsO5z+QHIwaO3DUFgM/WLFBA= sha256:MkLTTgLMEBHSAj1v0WN305uVWcaP/uTkujtAgyb/k2E= sha1:TyTmj76EmlIaTYXzy8T2sbWyy5A= sha256:OolsQAuSc9j4umnmSKtfsuns3C9QvAhChtkQt9E4bF8=
Injection-Date: Wed, 20 Nov 2024 10:28:29 -0000
User-Agent: flnews/1.3.0pre21 (for NetBSD)