🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #40706

Re: Diablo debugging problems...

#40706
From: greg andruk
Date: Sat, 09 Oct 1999 00:00
35 lines
2398 bytes
Russ Allbery <rra@stanford.edu> wrote:

> Two things that I personally use in filters and would miss badly:  Direct
> access to the server active file without having to take the performance
> hit of reading it in and parsing it myself,

The new OVgroupstats() function fixes this for the kinds of things a
filter will want to see. [If you want to do grepping or see what an
'=' group is aliased to you still need to crack open the file, but
this too can be done fast in a C extension, and offhand I can't think
of why a filter would want to do either.]

All the new OV* stuff and the once-again-rational dbz interface make
playing with the databases *much* easier than it was in INN 2.0
through 2.2.

> and the ability to add additional message IDs to the history file so
> that those messages will be refused.

The IPC to get these into innd is pretty cheap, especially compared
with the cost of the actual history add.

> And dealing with shared memory in Perl isn't something I'm really excited
> about doing.

Perl's built-in shm stuff is kind of goofy since it seems to force a
copy, but what about an extension using shm with the manipulations
you're already doing in PLartfilter()?

> Neither is having to redo the header parsing that INN already did.

Well, what innd needs in a parsed header really isn't ideal for
filtering anyway, so I'm not sure this is a big loss.

Technical Details
Message-ID: <87r9j48nkv.fsf@banet.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.mbox.zip!not-for-mail
References: <brad-0110991517500001@brad.techos.skynet.be> <yln1twf21z.fsf@windlord.stanford.edu> <brad-0710991318130001@brad.techos.skynet.be> <37fe9461$0$11999@master.news.zetnet.net> <37fec25d$0$11285@news.execpc.com> <ylr9j5m9n5.fsf@windlord.stanford.edu> <87r9j56qmt.fsf@erlenstar.demon.co.uk> <yl905d5al5.fsf@windlord.stanford.edu> <87hfk16n7j.fsf@erlenstar.demon.co.uk> <ylyadd3rtg.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <87r9j48nkv.fsf@banet.net>
Subject: Re: Diablo debugging problems...
Date: Sat, 09 Oct 1999 00:00:00 +0000
From: greg andruk <meowing@banet.net>
References: <brad-0110991517500001@brad.techos.skynet.be> <yln1twf21z.fsf@windlord.stanford.edu> <brad-0710991318130001@brad.techos.skynet.be> <37fe9461$0$11999@master.news.zetnet.net> <37fec25d$0$11285@news.execpc.com> <ylr9j5m9n5.fsf@windlord.stanford.edu> <87r9j56qmt.fsf@erlenstar.demon.co.uk> <yl905d5al5.fsf@windlord.stanford.edu> <87hfk16n7j.fsf@erlenstar.demon.co.uk> <ylyadd3rtg.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.mbox.zip!not-for-mail
X-Deja-AN: 534748239
X-Complaints-To: abuse@prserv.net
X-Trace: 9 Oct 1999 17:13:02 GMT, 32.101.160.219
Organization: meow
X-Meow: meow
Newsgroups: news.software.nntp