🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27477

Re: A Rant

#27477
From: Andrew Gierth
Date: Sun, 05 Apr 1998 00:00
34 lines
2524 bytes
[followups]

>>>>> "Russ" == Russ Allbery <rra@stanford.edu> writes:

 > William P Setzer <wsetzer@babylon5.unity.ncsu.edu> writes:
 >> Yes I am.  I was under the impression that nnrpd/filter_post() and
 >> innd/filter_art() acted independently, at least as far as post
 >> injection.  The fact that they don't pretty much shoots my argument in
 >> the foot.  Oh well, it was a nice foot while it lasted.

 Russ> It's also pretty trivial to modify filter_art() into
 Russ> filter_post().  It's hard to save state to do MD5 and the like,
 Russ> but Dave Hayes' exponential backoff stuff that's being rolled
 Russ> into 1.8 may help with that aspect of things.

Not sure how useful that is. The advantage of doing stuff like MD5
body checks in filter_art rather than filter_post is that it
automatically copes with things like multiple connections, multiple
logins (which Mr. 800PHONESEX is very fond of), people who spam
through several ISPs simultaneously, etc.

I'm not happy with the interface for filter_post though. As soon as you
try and extend it, for example to make *all* the headers available rather
than just the standard ones, or to make the headers writable, you end up
with issues over header-case, ordering, and duplicate headers.

I'd prefer to see the headers passed in just as an array, either an
array of strings "Header: value" or an array of arrays, ["Header" "value"].

-- 
Andrew.

Technical Details
Message-ID: <87btug9685.fsf@erlenstar.demon.co.uk>
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: <m3afabnmvf.fsf@windlord.Stanford.EDU> <lzyyaxmvfk8.fsf_-_@babylon5.unity.ncsu.edu> <6g3hd8$qt9@bcarh8ab.bnr.ca> <lzyu389uwzk.fsf@babylon5.unity.ncsu.edu> <aPxV.1$4J5.9@firestorm.gunslinger.net> <lzysonsvpd9.fsf@babylon5.unity.ncsu.edu> <m367kox397.fsf@windlord.Stanford.EDU>

Show Full Headers
Complete Article Headers
Message-ID: <87btug9685.fsf@erlenstar.demon.co.uk>
Subject: Re: A Rant
Date: Sun, 05 Apr 1998 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <m3afabnmvf.fsf@windlord.Stanford.EDU> <lzyyaxmvfk8.fsf_-_@babylon5.unity.ncsu.edu> <6g3hd8$qt9@bcarh8ab.bnr.ca> <lzyu389uwzk.fsf@babylon5.unity.ncsu.edu> <aPxV.1$4J5.9@firestorm.gunslinger.net> <lzysonsvpd9.fsf@babylon5.unity.ncsu.edu> <m367kox397.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: 340997940
X-NNTP-Posting-Host: erlenstar.demon.co.uk [194.222.144.22]
X-Mayan-Date: Long count = 12.19.5.1.4; tzolkin = 10 Kan; haab = 2 Uayeb
Followup-To: news.software.nntp
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
Newsgroups: news.admin.net-abuse.usenet,news.software.nntp