Thread View: news.software.nntp
4 messages
4 total messages
Started by Unknown News Administrator
Fri, 21 Mar 1997 00:00
Rejecting Frankencancels
Author: Unknown News Administrator
Date: Fri, 21 Mar 1997 00:00
Date: Fri, 21 Mar 1997 00:00
34 lines
1428 bytes
1428 bytes
If you want to ignore this week's cancel storm from Michael Frankowski
(or whoever it is), you can either:
1. Alias out winternet.com, for those sites supporting that feature
2. Use perl filtering if you've got that (see below)
3. Neutralize the party responsible
Here's what I'm using as filter_innd.pl with INN-1.5.1:
sub filter_art {
my $rval = "" ; # Assume we'll accept. Cannot be `0'
if ($hdr{'Control'} && $hdr{'From'} =~ /michael frankowski/io)
{
$rval = "no control messages accepted from michael frankowski";
}
$rval ;
}
Of course, this post may be canceled...
Watch for memory leakage with perl filtering on. I'm using Solaris 2.5.1
and am seeing some innd growth. It's not as bad as in some of the
earlier INN 1.5 versions.
--
J. Porter Clark, d/b/a
+--+
|oo| The Unknown News Administrator
| | news@news.msfc.nasa.gov
`^^'
Re: Rejecting Frankencancels
Author: Dan Foster
Date: Fri, 21 Mar 1997 00:00
Date: Fri, 21 Mar 1997 00:00
39 lines
1725 bytes
1725 bytes
In article <5gv1ei$b6m$1@hammer.msfc.nasa.gov>, Unknown News Administrator <news@news.msfc.nasa.gov> wrote: >If you want to ignore this week's cancel storm from Michael Frankowski >(or whoever it is), you can either: > > 1. Alias out winternet.com, for those sites supporting that feature > 2. Use perl filtering if you've got that (see below) > 3. Neutralize the party responsible I vote for option #3! Send in some black choppers... a few conspiracy theorists... good sized ammo. ;-) Actually, if you're running INN 1.5.1 (dunno about 1.5, 1.5 betas) - wouldn't adding this one-liner to control.ctl work? all:*@*winternet.com:*:drop Would probably be far cheaper (WRT resources) than using a nnrpd filter? BTW for those sites not up to INN 1.5.x yet, I like the control.ctl in 1.5.1: (part of it listed here) ## ## People we'd rather just send over the falls in a barrel ## (aka. The Idiot List) Keep this at the end. ## ## "Real" People all:*@*michigan.com:*:drop all:*@*rabbit.net:*:drop all:*@*anatolia.org:*:drop all:djk@*:*:drop all:*@*tasp*:*:drop -Dan Foster Internet: dsf@frontiernet.net
Re: Rejecting Frankencancels
Author: Richard Todd
Date: Fri, 21 Mar 1997 00:00
Date: Fri, 21 Mar 1997 00:00
21 lines
1326 bytes
1326 bytes
dsf@node6.frontiernet.net (Dan Foster) writes: > > Actually, if you're running INN 1.5.1 (dunno about 1.5, 1.5 betas) - > wouldn't adding this one-liner to control.ctl work? > > all:*@*winternet.com:*:drop No. Cancels don't go thru the control.ctl mechanism, they're handled directly inside innd. > Would probably be far cheaper (WRT resources) than using a nnrpd filter? Um, no. Even *if* cancels went thru the control.ctl shell scripts, doing *anything* in them would be a heck of a lot more overhead than dropping the article via the perl/tcl filter. In my experience, the overhead in doing 'simple' tcl filters (like 'drop anything from winternet.com') is not enough to notice. Dunno if the perl code is worse efficiency-wise or not.
Re: Rejecting Frankencancels
Author: Andrew Gierth
Date: Sat, 22 Mar 1997 00:00
Date: Sat, 22 Mar 1997 00:00
15 lines
1038 bytes
1038 bytes
>>>>> "Dan" == Dan Foster <dsf@node6.frontiernet.net> writes: Dan> Actually, if you're running INN 1.5.1 (dunno about 1.5, 1.5 betas) - Dan> wouldn't adding this one-liner to control.ctl work? Dan> all:*@*winternet.com:*:drop No. Cancels are handled internally within innd, and aren't checked against control.ctl. -- Andrew.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads