Article View: news.software.nntp
Article #88610RFC 8315 perl hooks for Inn (was: Re: Systems running news servers)
From: Gérald Niel
Date: Mon, 08 Feb 2021 07:51
Date: Mon, 08 Feb 2021 07:51
39 lines
3073 bytes
3073 bytes
Hi Julien, Le Mardi 26 janvier 2021 à 11:43 UTC, Julien ÉLIE écrivait sur news.software.nntp : >>> Basically, you have to add Cancel-Lock support to both nnrpd and innd >>> via Perl hooks: >>> https://code.th-h.de/?p=usenet/INN.git;a=tree;f=filter > When this feature will be natively integrated into INN, it will be even > easier. Theres is the libcanlock that could be used. Not avaialable yet on FreeBSD ports, but available on Linux Debian based : https://micha.freeshell.org/libcanlock/ Unfortunatly the v3 doesn't works yet with slrn (on client side). > Also, this Perl code pre-dates Michael's RFC 8315 so it does > not support hashes other than sha1 (obsolescent) and md5 (obsolete). > Nowadays, a sha256 hash should also be sent and recognized. I think I've succeffuly rewrited those hooks to be RFC 8315 compliant. As you can see in my headers, works fine to add the sha256 lock en keys. And works fine too to check if lock match with the key. See <news:slrns21n0l.1ala.gerald.niel+spam@home.niel.me> (in french, on fr.comp.lang.perl). I need to confirm that the changes I want to make in cleanfeed.local work. If that works and looks good, tell me how to (and where) submit these. I'll publish these on my Gemini capsule. And perhaps on my blog too. -- On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le gouvernement ; c'est la paix sans la violence. C'est le contraire précisément de tout ce qu'on lui reproche, soit par ignorance, soit par mauvaise foi. -+- Hem Day -+-
Technical Details
Message-ID:
<slrns21rbm.1jhv.gerald.niel+spam@home.niel.me>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-mailReferences:
<i6fq61Fa3dbU1@mid.individual.net> <rueg47$og$2@neodome.net> <ruenj0$dsl$1@dont-email.me> <ruf1ah$1vtp$1@neodome.net> <rufd7o$6ud$1@dont-email.me> <slrns0nh0v.hh9.gerald.niel+spam@news.gegeweb.org> <AABgDBR4nnEAAAQH.A1.flnews@Server4.micha.freeshell.org> <slrns0qcf0.3c0.gerald.niel+spam@news.gegeweb.org> <rujevf$7hs$1@pasdenom.info> <slrns0qgep.47g.gerald.niel+spam@news.gegeweb.org> <ruk3dr$2hf$1@news.trigofacile.com> <slrns0vtnm.nbf.gerald.niel+spam@news.gegeweb.org> <ruov85$a2f$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <slrns21rbm.1jhv.gerald.niel+spam@home.niel.me> Subject: RFC 8315 perl hooks for Inn (was: Re: Systems running news servers) Date: Mon, 08 Feb 2021 07:51:18 +0000 From: Gérald Niel <gerald.niel+spam@gegeweb.invalid> References: <i6fq61Fa3dbU1@mid.individual.net> <rueg47$og$2@neodome.net> <ruenj0$dsl$1@dont-email.me> <ruf1ah$1vtp$1@neodome.net> <rufd7o$6ud$1@dont-email.me> <slrns0nh0v.hh9.gerald.niel+spam@news.gegeweb.org> <AABgDBR4nnEAAAQH.A1.flnews@Server4.micha.freeshell.org> <slrns0qcf0.3c0.gerald.niel+spam@news.gegeweb.org> <rujevf$7hs$1@pasdenom.info> <slrns0qgep.47g.gerald.niel+spam@news.gegeweb.org> <ruk3dr$2hf$1@news.trigofacile.com> <slrns0vtnm.nbf.gerald.niel+spam@news.gegeweb.org> <ruov85$a2f$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: GegeWeb.ORG Reply-To: gerald@niel.me Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 8 Feb 2021 07:51:18 -0000 (UTC) Injection-Info: rpi-studio.niel.me; posting-host="mbp-gniel.niel.me:192.168.1.200"; logging-data="26334"; mail-complaints-to="abuse@niel.me" User-Agent: slrn/1.0.3 (Darwin) Cancel-Lock: sha256:wwydcggJoEjxtaBpHA97Juq+QA1/fjub8fZW4aHzld4= Mail-Copie-To: never