Deutsch English Français Italiano |
<te3164$c9v$1@shakotay.alphanet.ch> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!feeder.erje.net!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail From: Marc SCHAEFER <schaefer@alphanet.ch> Newsgroups: fr.comp.usenet.serveurs Subject: Re: Annulation pour autrui avec Cancel-Lock Date: Tue, 23 Aug 2022 17:01:56 -0000 (UTC) Organization: Posted through news.alphanet.ch Message-ID: <te3164$c9v$1@shakotay.alphanet.ch> References: <te1sug$8o2$2@rasp.pasdenom.info> <te1t1r$1aq$1@ns507557.dodin.fr.nf> <te1t76$8o2$4@rasp.pasdenom.info> <ac19gh9q9d5tkr9eufqcbqesfooqrp7nr6@consensus-omnium> <te21r7$j5a$1@rasp.pasdenom.info> <te274s$toq$2@shakotay.alphanet.ch> <te2ir6$rv2$1@rasp.pasdenom.info> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 23 Aug 2022 17:01:56 -0000 (UTC) Injection-Info: shakotay.alphanet.ch; posting-account="schaefer"; logging-data="12607"; mail-complaints-to="usenet@alphanet.ch"; posting-host="634ce6c9682d817d72f6177875e2bb4f.nnrp.alphanet.ch" User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-21-amd64 (x86_64)) Cancel-Lock: sha256:Rm4ZHZjP2TvDxPY72lFvaCPXCH6ZS5DCvEoU8Q22Y2c= sha256:bUZXLwE1gLRTEF5p3i8nh6HjylJdaQOGlVcs/oV4fKE= Bytes: 1899 Lines: 13 In fr.comp.usenet.serveurs yamo' <yamo@beurdin.invalid> wrote: > Chez moi la clef est à l'endroit classique (avant INN 2.7.0) : > /etc/news/filter/filter_nnrpd.pl > dans la variable $CANCEL_LOCK Dans ce cas, c'est compliqué, car mon script totalement séparé d'INN n'a pas prévu de parser un autre programme en Perl pour y trouver une config, je suggère de soit passer partout à l'utilisation d'un fichier de config protégé comme il faut et séparé du code pour la clé (voir exemple [1]), ou alors copier-coller la clé: > my $cl = new cancel_lock('cle'); [1] https://git.alphanet.ch/gitweb/?p=alphanet-faq;a=blob;f=inn2/filter_nnrpd.pl