🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #186306

Re: Cancel-Key check

#186306
From: Michael Bäuerle
Date: Fri, 22 Nov 2024 11:27
68 lines
3858 bytes
VanguardLH wrote:
> Michael Bäuerle <michael.baeuerle@stz-e.de> wrote:
> > VanguardLH wrote:
> > > 
> > > [...]
> > > I just submitted a Cancel, but the rules are vague.  Unsure that NIN
> > > will accept a cancel that isn't PGP signed. [...]
> > 
> > From target article:
> > Message-ID: <rui8dpjpksdl$.dlg@v.nguard.lh>
> > Cancel-Lock: sha1:nhPmBI3eRALLIK43n/r1SuLCs9g= sha256:X86MxZz222wFtuqWR3vB+9iF5MYtxynp4jBGr3cWfVQ=
> > 
> > From cancel request:
> > Control: cancel <rui8dpjpksdl$.dlg@v.nguard.lh>
> > Cancel-Key: sha1:01EnRZjvVZaSaDLRsFk+fS0uhnw= sha256:V1rtpz7OxsoonbuBR76aiBnqk2O9Tj9ZnxMFcAyYd6I=
> > 
> > Manual verification with canlock utility:
> > $ canlock -m 'sha1:01EnRZjvVZaSaDLRsFk+fS0uhnw= sha256:V1rtpz7OxsoonbuBR76aiBnqk2O9Tj9ZnxMFcAyYd6I=,sha1:nhPmBI3eRALLIK43n/r1SuLCs9g= sha256:X86MxZz222wFtuqWR3vB+9iF5MYtxynp4jBGr3cWfVQ='
> > Good
> 
> From what I found, canlock is a Linux tool, mentioned below for the lib,
> and the canlock command line tool.
>  
> https://micha.freeshell.org/libcanlock/

It is not limited to Linux and should work on every operating system
that can provide a standard POSIX API (POSIX.1-2001 or newer) and a
C99 compiler.

> I'm on Windows.  Know of a similar tool there?

No, but [lib]canlock should be usable on Windows with Cygwin or WSL:
<https://cygwin.com/>
<https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux>

If you want to try one of these options, I'm willing to help with
building the libcanlock package on top of it.

> > Check on Individual server:
> > | 
> > | GROUP alt.free.newsservers
> > | ARTICLE <rui8dpjpksdl$.dlg@v.nguard.lh>
> > | 430 No such article
> 
> Using your info, I did the same at NIN, my Usenet provider of choice.
> 
> telnet news.individual.net 119
> authinfo user {myusername}
> authinfo pass {mypassword}
> group alt.free.newsservers
> article <rui8dpjpksdl$.dlg@v.nguard.lh>
> 
> and got the response:
> 
> 430 No such article
> 
> Okay, that gives me a means to verify that a cancel got submitted,
> accepted, and the target article got removed.  
> 
> I'll have to note those commands. [...]

The NNTP protocol is defined in RFC 3977:
<https://datatracker.ietf.org/doc/html/rfc3977>
(Section 6 "Article Posting and Retrieval")

> Thanks for the info.

You are welcome.
Technical Details
Message-ID: <AABnQGqkuzoAAAQk.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> <alb2yhvm1k0o.dlg@v.nguard.lh> <vhg5sc$1d7l0$1@dont-email.me> <52602527c7ba380843027d8d01fe8795@www.novabbs.org> <vhgi47$1flon$1@dont-email.me> <t8lyiunlmk7l.dlg@v.nguard.lh> <AABnPb5NOsYAAFDu.A3.flnews@WStation5.stz-e.de> <1u87m7fol40nl.dlg@v.nguard.lh>

Show Full Headers
Complete Article Headers
Message-ID: <AABnQGqkuzoAAAQk.A3.flnews@WStation5.stz-e.de>
Subject: Re: Cancel-Key check
Date: Fri, 22 Nov 2024 11:27:32 +0000
From: Michael Bäuerle <michael.baeuerle@stz-e.de>
References: <n95ljjp6gnnlfsvjasd90fllco5duv2uc6@4ax.com> <alb2yhvm1k0o.dlg@v.nguard.lh> <vhg5sc$1d7l0$1@dont-email.me> <52602527c7ba380843027d8d01fe8795@www.novabbs.org> <vhgi47$1flon$1@dont-email.me> <t8lyiunlmk7l.dlg@v.nguard.lh> <AABnPb5NOsYAAFDu.A3.flnews@WStation5.stz-e.de> <1u87m7fol40nl.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: 68
Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net uMtVNvtwOO96Ad9ZlqFTXg81BQ8O0FdzmUNKFgn8aEcPSq/6iM
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:6aCE+ieI7EyS4mGK7ZKznEzPs10= sha256:ecitJnQMKfz2YFOf1fI7HfZNEp1ytAZEDQ0M7MOe+Gc= sha1:lPP9Lm6wnLyHI5KH4D3heitsDZQ= sha256:CVj0mNg+8rfUNoY3QaVPC2KUR/yQ9A17V1dZ8dhTcII=
Injection-Date: Fri, 22 Nov 2024 11:27:32 -0000
User-Agent: flnews/1.3.0pre21 (for NetBSD)