🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73773

Re: Cleanfeed installation

#73773
From: Iulius
Date: Sat, 01 Jul 2006 10:17
39 lines
3068 bytes
En réponse à John F. Morse :
> Thanks, Iulius. I will try this and see what happens. There is also a 
> perl hook in nnrpd and I wonder if that would be the better place to 
> just block the cancels?

The nnrpd filter is used before the innd filter, so it would increase
very slighty the process time.


> An ideal thing for me would be a timer routine -- a method to allow 
> users to cancel, say within ten minutes (up to one hour perhaps) of 
> posting a message.

Yes, it can be done.
Simply write the perl script to do that :)
You also have to remember somewhere (in a file I assume, because you
would lose the data if you reload the filter) the time of the
previous article posted.
Or better, since the time can be fake in the newsreader (it depends on
the client), you only remember the Message-ID of the articles
sent within one hour (and deleting old ones every time the filter
is used). If there is a cancel of an article not present in the cache,
simply reject it.

I hope my explanation was clear !


> As you can see, there were more MD5, PHL and FSL refusals reported earlier.
> 
> Any idea why this happens?

Did you reload the perl filter ? Inn ?

See in /var/log/news/cleanfeed.stats (or another path) when the stats began.

-- 
Iulius

« Donner un César à une tragédienne ? Mais c'est absurde ! » (Astérix)
Technical Details
Message-ID: <e85i46$l36$1@smilodon.ecp.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!news.in2p3.fr!in2p3.fr!news.ecp.fr!not-for-mail
References: <mdCmg.50666$mF2.44452@bgtnsc04-news.ops.worldnet.att.net> <e7gdjq$f5t$1@puck.litech.org> <fm%mg.240921$Fs1.228391@bgtnsc05-news.ops.worldnet.att.net> <e7kcl4$bp8$2@smilodon.ecp.fr> <h8qng.58326$mF2.47765@bgtnsc04-news.ops.worldnet.att.net> <e7lrhq$nog$1@smilodon.ecp.fr> <esFng.60531$mF2.59658@bgtnsc04-news.ops.worldnet.att.net> <fqcog.65636$mF2.11945@bgtnsc04-news.ops.worldnet.att.net> <e7rtv0$n3f$1@smilodon.ecp.fr> <rxgpg.285947$Fs1.169630@bgtnsc05-news.ops.worldnet.att.net>

Show Full Headers
Complete Article Headers
Message-ID: <e85i46$l36$1@smilodon.ecp.fr>
Subject: Re: Cleanfeed installation
Date: Sat, 01 Jul 2006 12:17:41 +0200
From: Iulius <iulius@nom-de-mon-site.com.invalid>
References: <mdCmg.50666$mF2.44452@bgtnsc04-news.ops.worldnet.att.net> <e7gdjq$f5t$1@puck.litech.org> <fm%mg.240921$Fs1.228391@bgtnsc05-news.ops.worldnet.att.net> <e7kcl4$bp8$2@smilodon.ecp.fr> <h8qng.58326$mF2.47765@bgtnsc04-news.ops.worldnet.att.net> <e7lrhq$nog$1@smilodon.ecp.fr> <esFng.60531$mF2.59658@bgtnsc04-news.ops.worldnet.att.net> <fqcog.65636$mF2.11945@bgtnsc04-news.ops.worldnet.att.net> <e7rtv0$n3f$1@smilodon.ecp.fr> <rxgpg.285947$Fs1.169630@bgtnsc05-news.ops.worldnet.att.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!news.in2p3.fr!in2p3.fr!news.ecp.fr!not-for-mail
Newsgroups: news.software.nntp
Organization: Gens Iulia -- http://www.trigofacile.com/
Lines: 39
NNTP-Posting-Host: amontpellier-157-1-28-119.w86-200.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: smilodon.ecp.fr 1151749127 21606 86.200.179.119 (1 Jul 2006 10:18:47
 GMT)
X-Complaints-To: ingesys@cti.ecp.fr
NNTP-Posting-Date: Sat, 1 Jul 2006 10:18:47 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr;
In-Reply-To: <rxgpg.285947$Fs1.169630@bgtnsc05-news.ops.worldnet.att.net>