🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81802

Re: INN's expire program and memory usage:

#81802
From: Alexander Bartolich
Date: Fri, 14 Aug 2009 01:10
51 lines
3731 bytes
Russ Allbery wrote:
> NPG <nathan@cmpublishers.com> writes:
>
>> What I am currently thinking is that I should Leave artcutoff at 365, so
>> when I pick up a new group I'll still get a years worth of the old news.
>> Set remember down to 10 which will keep my history file from blowing up
>> the server.
>
> If you set remember to 10 and artcutoff to 365, then when someone
> reinjects an 11-day-old article into Usenet, you will accept it again and
> have duplicate messages in the newsgroup.

I use the default value for /remember/.

$ grep ^/remember/ /etc/news/expire.ctl
/remember/:10

And yet the first line of my history file points to an article that is
16 month old.

$ head -1 /var/lib/news/history
[A99BF1B2B526070EAED949E08C038A0F]      1211153434~-~1211153143 @030544453100000000000000102400000001@

$ sm -H @030544453100000000000000102400000001@ | egrep 'Date|Message-ID'
Date: Mon, 19 May 2008 01:25:43 +0200
Message-ID: <4830bab5$0$6775$9b4e6d93@newsspool2.arcor-online.net>
NNTP-Posting-Date: 19 May 2008 01:24:37 CEST

Apparently /remember/ does not affect history records pointing to
articles in the spool. So when someone reinjects an 11-day-old article
into Usenet it will not be accepted as long as the original article
still exists in the spool.

This limits the possible damage of reinjected articles to articles that
a) were outright rejected (e.g. by cleanfeed)
b) were regularly expired
c) were later on removed (supersede, cancel, NoCeM)

If the rejection rules are constant then the reinjected articles will
be rejected again. This is just a waste of bandwidth.

To avoid reinjection of expired articles it is enough if artcutoff is
less then expiration time.

That leaves the third case.

-- 
Brüder, in die Tonne die Freiheit,
Brüder, ein Stoppschild davor.
Egal was die Schwarzen Verlangen
Rufen wir: Ja! Brav im Chor.
Technical Details
Message-ID: <h62di6$8nb$1@news.albasani.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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!news.albasani.net!not-for-mail
References: <h4lj94$4c8$1@snarked.org> <873a8hh98m.fsf@windlord.stanford.edu> <h4lq1g$4kc$1@snarked.org> <h4mt3v$777$1@remote5bge0.ripco.com> <h5tamr$m0u$1@cs6.cmpublishers.com> <h5uoqh$e8a$1@remote5bge0.ripco.com> <h5v7h0$k5h$1@snarked.org> <h5v7uc$13mo$1@bdhi.local> <h60lnv$a34$1@news.trigofacile.com> <87eirf4pdl.fsf@windlord.stanford.edu> <h61ion$5b4$1@news.trigofacile.com> <87k517r4ty.fsf@windlord.stanford.edu> <80r5vfhaaz.fsf@banana.shacknet.nu> <h61ke1$71a$1@news.trigofacile.com> <80my63h9n5.fsf@banana.shacknet.nu> <h622s8$kad$1@news.trigofacile.com> <h629d0$o53$1@cs6.cmpublishers.com> <87d46zjl1c.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <h62di6$8nb$1@news.albasani.net>
Subject: Re: INN's expire program and memory usage:
Date: Fri, 14 Aug 2009 01:10:30 +0000
From: Alexander Bartolich <alexander.bartolich@gmx.at>
References: <h4lj94$4c8$1@snarked.org> <873a8hh98m.fsf@windlord.stanford.edu> <h4lq1g$4kc$1@snarked.org> <h4mt3v$777$1@remote5bge0.ripco.com> <h5tamr$m0u$1@cs6.cmpublishers.com> <h5uoqh$e8a$1@remote5bge0.ripco.com> <h5v7h0$k5h$1@snarked.org> <h5v7uc$13mo$1@bdhi.local> <h60lnv$a34$1@news.trigofacile.com> <87eirf4pdl.fsf@windlord.stanford.edu> <h61ion$5b4$1@news.trigofacile.com> <87k517r4ty.fsf@windlord.stanford.edu> <80r5vfhaaz.fsf@banana.shacknet.nu> <h61ke1$71a$1@news.trigofacile.com> <80my63h9n5.fsf@banana.shacknet.nu> <h622s8$kad$1@news.trigofacile.com> <h629d0$o53$1@cs6.cmpublishers.com> <87d46zjl1c.fsf@windlord.stanford.edu>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!news.albasani.net!not-for-mail
Newsgroups: news.software.nntp
Organization: albasani.net
Lines: 51
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.albasani.net
 kEHNWt3e9CBef/CjrwTXjnMCS/0gM7RN4Mz8F+XeabmyKrEnrwQGbRcvPTRVaO/xcNCfbG9Z0CW37J66hMjF5SERldYB1eCPn/EtP+vFVYicrAh1s1ERcAUdJblBWUJ2
X-Complaints-To: abuse@albasani.net
NNTP-Posting-Date: Fri, 14 Aug 2009 01:10:30 +0000 (UTC)
X-User-ID: aJwS/R5u9LT5T2k003mQnjAG2NKxETvt6rIVMaXEuiOL8h3akqnu0pxS2S7FCi6NRTWP3+NB0OpvLDYnETF2uw==
Cancel-Lock: sha1:YKChQFDvu6y+5m9Pt1TCTV9vFiU=
User-Agent: slrn/0.9.9p1 (Linux)
X-NNTP-Posting-Host: 6WDX3zaolN+y+0jXuKfzuyhz99gnxk4m4NOQy7rLqzc=