🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #32118

Re: Diablo 1.18-REL available

#32118
From: Fluffy -- The Other White Meat
Date: Sat, 10 Oct 1998 00:00
41 lines
2910 bytes
On 9 Oct 1998, Curt Welch wrote:

> The way the old versions of INN checked for missing aritcles (and
> excluded them from the XOVER data) was by reading the spool directory
> every time you did a GROUP command.

You know, I've been wondering about this, as I sit, downing a bottle
of rotgut while tirelessly sharpening a knife and through bleary eyes
watching the commands our lusers give as they fly up the screen, trying
to decide how best to deal with them.

I've seen that a lot of reading is being done (no wait, not reading
per se but viewing of nekkid pictures one after another in rapid
succession) by making a connection, entering a group, downloading
one article, and disconnecting, immediately reconnecting, again
issuing the GROUP command to download one more article, and so on
ad infinitum.  We're spawning nnrpd processes directly rather than
relying on innd to do that for us, and we haven't added any sort of
rate limiting to knock these abusers down to size.

Well, in theory, the directory should be in the cache after the first
hit, provided we have enough memory to keep it in cache, but when we
get too many such lusers pounding their pu^H^Hfavourite froups, I would
imagine we'd have to be repeatedly rescanning the same directories
repeatedly to refresh them, far more than is reasonable.

There seems to be code in nnrpd's group.c that won't rescan the group
within a given time in the same nnrpd session, but I don't think that
helps much with these machine-gun attacks, or with simply having large
numbers of people hitting the same popular groups frequently.

Wouldn't it be an improvement to cache the results of the directory
scan, updating it periodically on demand when the old data is likely
to be obsolete (every few minutes, depending on how bastardly you want
to be), rather than having to make a disk scan that is far more resource-
intensive than other things that might be being cached instead?

Oh well, maybe not....  ignore me....  I'll just keep polishing my weaponry


Technical Details
Message-ID: <Pine.LNX.4.00.9810100542280.8264-100000@coredump.int.tele.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <6vhjml$oqb$1@flea.best.net> <86k92b9xtv.fsf@sucks.tmr.net> <6vj1rn$aqs$1@flea.best.net> <19981009012105.852$Sd@newsreader.com> <yllnmq6xcw.fsf@windlord.stanford.edu> <19981009124140.207$fa@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.4.00.9810100542280.8264-100000@coredump.int.tele.dk>
Subject: Re: Diablo 1.18-REL available
Date: Sat, 10 Oct 1998 00:00:00 +0000
From: Fluffy -- The Other White Meat <fluffy@NO-EMAIL.vszbr.cz>
References: <6vhjml$oqb$1@flea.best.net> <86k92b9xtv.fsf@sucks.tmr.net> <6vj1rn$aqs$1@flea.best.net> <19981009012105.852$Sd@newsreader.com> <yllnmq6xcw.fsf@windlord.stanford.edu> <19981009124140.207$fa@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 399609301
X-Sender: fluffy@coredump.int.tele.dk
Content-Type: TEXT/PLAIN; charset=US-ASCII
Organization: IN YO FACE
Mime-Version: 1.0
Newsgroups: news.software.nntp