Article View: news.software.nntp
Article #90315Re: inn-secrets.conf, cancels, and cancel locks
From: Julien ÉLIE
Date: Wed, 19 Apr 2023 20:17
Date: Wed, 19 Apr 2023 20:17
55 lines
2884 bytes
2884 bytes
Hi Adam, > - authenticated user's name is taken from the "user:" field in "access" > section of readers.conf The authenticated user's name is the identity assigned by the matching auth group. This identity matches the "users" field pattern in access group. > - INN servers starting with 2.7.0 will refuse to honor cancels without > correct Cancel-Lock headers (I'm not sure about this) Yes, because it is the default value of "docancels" in inn.conf. It's the safest configuration. > Now, from theory to practice. > > - I set canlockadmin (during testing I kept canlockuser empty) > > - I posted a message to my local group (kept in timehash, if that matters) > > - I generated two cancels with gencancel > > - I altered one of them so the hashes won't match > > - I posted the altered one > > - I posted the unaltered one > > I expected to have the post available after posting the altered cancel, > but gone after posting the unaltered cancel. But the post is still on the > group. Why didn't it work? I don't know. > I also expected to have something logged about incorrect cancel hash, but > I can't find anything. Should there be some log line about it? This mismatch is not logged. > Also, can I control if my server accepts cancels or not (even better, by > matching the pattern)? It would be best if there were three settings: > never accept, always accept (even unauthenticated), or accept only if > cancel-lock matches. It is the "docancels" parameter in inn.conf. -- Julien ÉLIE « Ira furor breuis est. » (Horace)
Technical Details
Message-ID:
<u1pi8n$1v772$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-mailReferences:
<u1oq4d$baa$2$arnold@news.chmurka.net>Show Full Headers
Complete Article Headers
Message-ID: <u1pi8n$1v772$1@news.trigofacile.com> Subject: Re: inn-secrets.conf, cancels, and cancel locks Date: Wed, 19 Apr 2023 22:17:27 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <u1oq4d$baa$2$arnold@news.chmurka.net> 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: Wed, 19 Apr 2023 20:17:27 -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="2071778"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Cancel-Lock: sha1:OkiOXd65gbVmYhV6mGnfAUf3XDo= sha256:p/GqzmYmv0v8qJZNuYDjpYkqbi64YafAcgJEYiqlXRs= sha1:mm7/bAXguzEEN70i66uSIScYVIk= sha256:ihbe/0+rUAdTpNUbLwTnNuQPBvqKMFaXyMIIYH0q6R4= In-Reply-To: <u1oq4d$baa$2$arnold@news.chmurka.net>