Thread View: news.software.nntp
11 messages
11 total messages
Started by D. Stussy
Tue, 10 Mar 2009 00:08
Cleanfeed vs. "meow" groups.
Author: D. Stussy
Date: Tue, 10 Mar 2009 00:08
Date: Tue, 10 Mar 2009 00:08
28 lines
2167 bytes
2167 bytes
I don't think that the computation regarding "follow-up" groups vs.
meow_ext_maxgroups is correct, unless the follow-up variable EXCLUDES meow
groups. However, it appears that the follow-up variable INCLUDES meow
groups, thus making meow_ext_maxgroups the TOTAL of ALL groups followups
may be posted to, not the total of non-meow groups that followups may be
posted to.
meow_ext_maxgroups: "This parameter controls how many other groups are
allowed in a distribution that includes a meow_group."
The comparison is about line 708-710. So, shouldn't we be comparing:
... and scalar @groups > ($config{meow_ext_maxgroups} + $gr{meow});
If we are to compare the FOLLOWUP groups to a message, then we need to
count how many meow groups are in @followups and do:
... and scalar @followups > ($config{meow_ext_maxgroups} + $fugr{meow});
where "fugr" is the count of follow-up groups that are meow groups. Either
way, I think that the existing code:
... and scalar @followups > $config{meow_ext_maxgroups};
compares the wrong values as described by the definition of the variable
meow_ext_maxgroups.
Re: Cleanfeed vs. "meow" groups.
Author: Steve
Date: Tue, 10 Mar 2009 11:01
Date: Tue, 10 Mar 2009 11:01
56 lines
3193 bytes
3193 bytes
On Mon, 9 Mar 2009 17:08:39 -0700, D. Stussy wrote in
Message-Id: <gp4b26$nl3$1@aux.snarked.org>:
> I don't think that the computation regarding "follow-up" groups vs.
> meow_ext_maxgroups is correct, unless the follow-up variable EXCLUDES meow
> groups. However, it appears that the follow-up variable INCLUDES meow
> groups, thus making meow_ext_maxgroups the TOTAL of ALL groups followups
> may be posted to, not the total of non-meow groups that followups may be
> posted to.
Phew, the meow code is a wonder of logic to try and follow. I'll
document my thoughts as I work through it for the sake of sanity
checking.
To begin we have:
$gr{meow}++ if $config{meow_ext_maxgroups}
and /$config{meow_groups}/o;
So $gr{meow} holds a count of the number of meow_groups in a post.
There is a bug here, we don't care if $config{meow_ext_maxgroups} is set
or not.
Next we have:
return reject('Too many newsgroups (meow)', 'Too many newsgroups')
if $gr{meow} and $gr{meow} != scalar @groups
and scalar @followups > $config{meow_ext_maxgroups};
The first chunk of logic checks if there is at least one meow group.
Next, if the entire distro is meow groups.
Last, if @followups exceeds the meow external groups limit.
You're correct, it's borked. A distro containing 4 groups, three of
which are meows and a single non-meow would get rejected.
$gr{meow} would be True.
$gr{meow} != scalar @groups would be True.
scalar @followups > $config{meow_ext_maxgroups} would be True.
I think the last logic should be:
(scalar @followups - $gr{meow}) > $config{meow_ext_maxgroups}
It would also be better to perform the "if $config{meow_ext_maxgroups}" check
in the reject section rather than the "count meow groups" section.
The end result would be:
$gr{meow}++ if $config{meow_groups} and /$config{meow_groups}/o;
....
return reject('Too many newsgroups (meow)', 'Too many newsgroups')
if $gr{meow}
and $gr{meow} != scalar @groups
and $config{meow_ext_maxgroups}
and (scalar @followups - $gr{meow}) > $config{meow_ext_maxgroups};
--
pub 1024D/228761E7 2003-06-04 Steven Crook
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
uid Steven Crook <steve@mixmin.net>
Re: Cleanfeed vs. "meow" groups.
Author: Steve
Date: Tue, 10 Mar 2009 14:02
Date: Tue, 10 Mar 2009 14:02
36 lines
2199 bytes
2199 bytes
On Tue, 10 Mar 2009 11:01:14 +0000 (UTC), Steve wrote in
Message-Id: <slrngrci3q.6et.steve@news.mixmin.net>:
> return reject('Too many newsgroups (meow)', 'Too many newsgroups')
> if $gr{meow}
> and $gr{meow} != scalar @groups
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> and $config{meow_ext_maxgroups}
> and (scalar @followups - $gr{meow}) > $config{meow_ext_maxgroups};
That check is probably redundant. All eventualities I can think of are
caught by the final condition and performance isn't optimized by it in
any way I can see.
My brain is looping on the @groups vs. @followups at the moment. In
Cleanfeed, @followups is set to @groups unless a Followup-To is defined.
So, assuming meow_ext_groups=2:
Newsgroups: meow1,foo,bar,baz
Will be rejected (4-1=3).
Newsgroups: meow1,foo,bar,baz
Followup-To: foo,bar,baz
Will be accepted (3-1=2).
Newsgroups: meow1,foo,bar,baz
Followup-To: foo,baz,baz,qux
Will be rejected (4-1=3).
This may be precisely the logic the originator was looking for in order
to stop meow wars spreading.
--
pub 1024D/228761E7 2003-06-04 Steven Crook
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
uid Steven Crook <steve@mixmin.net>
Re: Cleanfeed vs. "meow" groups.
Author: D. Stussy
Date: Tue, 10 Mar 2009 22:40
Date: Tue, 10 Mar 2009 22:40
101 lines
4914 bytes
4914 bytes
"Steve" <steve@mixmin.net> wrote in message
news:slrngrcsmp.6et.steve@news.mixmin.net...
> On Tue, 10 Mar 2009 11:01:14 +0000 (UTC), Steve wrote in
> Message-Id: <slrngrci3q.6et.steve@news.mixmin.net>:
>
> > return reject('Too many newsgroups (meow)', 'Too many newsgroups')
> > if $gr{meow}
> > and $gr{meow} != scalar @groups
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > and $config{meow_ext_maxgroups}
> > and (scalar @followups - $gr{meow}) >
$config{meow_ext_maxgroups};
>
> That check is probably redundant. All eventualities I can think of are
> caught by the final condition and performance isn't optimized by it in
> any way I can see.
I agree. $gr{meow} != scalar @groups is taken care of in the last
comparison.
> My brain is looping on the @groups vs. @followups at the moment. In
> Cleanfeed, @followups is set to @groups unless a Followup-To is defined.
Two cases:
1) Followups == groups. Then it doesn't matter if we use @followups or
@groups - they should be the same. However, I consider that a special case
as its usually but not always true.
2) Followups != groups. As I said in my original post, don't we have to
count how many meow groups are in @followups?
You used:
and (scalar @followups - $gr{meow}) > $config{meow_ext_maxgroups};
while I used:
and scalar @followups > ($config{meow_ext_maxgroups} + $fugr{meow});
Subtracting on the left or adding on the right is mathematically
equivalent. However, $gr{meow} is equivalent to $fugr{meow} only when
@groups == @followups. When the followup list is different, $fugr{meow} ?=
$gr{meow} (may or may not be equal).
> So, assuming meow_ext_groups=2:
> Newsgroups: meow1,foo,bar,baz
> Will be rejected (4-1=3).
Agreed. (4-1 > 2).
> Newsgroups: meow1,foo,bar,baz
> Followup-To: foo,bar,baz
> Will be accepted (3-1=2).
Should NOT be accepted. Math: (3-0 > 2) => reject. There is no meow
group in the followup list. The maximum non-meow groups is 2.
> Newsgroups: meow1,foo,bar,baz
> Followup-To: foo,baz,baz,qux
> Will be rejected (4-1=3).
Math should be (4-0 > 2) => reject.
> This may be precisely the logic the originator was looking for in order
> to stop meow wars spreading.
Maybe we need TWO conditionals: One for @groups and one for @followups?
However, we only have one. Consider this:
return reject('Too many newsgroups (meow)', 'Too many newsgroups')
if $gr{meow} and
(scalar @groups - $gr{meow}) > $config{meow_ext_maxgroups};
return reject('Too many follow-up groups (meow)', 'Too many follow-up
groups')
if $fugr{meow} and
(scalar @followups - $fugr{meow}) > $config{meow_ext_maxgroups};
The first checks the "Newsgroups:" line and the second checks the
"Followup-To:" line. $fugr{meow} only needs to be computed if there's an
explicit followup header. Otherwise, all corresponding values will match
their equivalents in the "Newsgroups:" comparsion.
Algorithmic differences:
- For posts originating in meow groups, this should limit the spread to 2
non-meow groups as expected by the original design.
- For posts originating outside of meow groups, but a followup directed to
at least one, this will limt the followup to 2 non-meow groups at most
(even if more non-meow groups existed in the original post). This could
reject posts that the filter didn't reject before, as it can cause posts
that this filter would previously skip to be classified by it.
A post to 3 non-meow groups with followups to a meow-group plus 2 others
would be accepted.
A post to 3 non-meow groups with followups to a meow-group plus the
original 3 would NOW be rejected, where it wasn't before (but maybe should
have been).
Re: Cleanfeed vs. "meow" groups.
Author: Steve
Date: Wed, 11 Mar 2009 10:40
Date: Wed, 11 Mar 2009 10:40
49 lines
2964 bytes
2964 bytes
On Tue, 10 Mar 2009 15:40:41 -0700, D. Stussy wrote in
Message-Id: <gp6q98$k66$1@aux.snarked.org>:
> Two cases:
> 1) Followups == groups. Then it doesn't matter if we use @followups or
> @groups - they should be the same. However, I consider that a special case
> as its usually but not always true.
Agreed.
> 2) Followups != groups. As I said in my original post, don't we have to
> count how many meow groups are in @followups?
To be precise about it we would need to do exactly as you say and
process followups and groups independently. This isn't a problem when
taking meow_groups in isolation but in broader terms virtually every
filter in Cleanfeed uses gr{foo} which is calculated against groups and
not followups. Considering this scope I think the problem lies with the
principle of setting followups = groups when no followup is specified.
One solution I'm considering is merging @groups and @followups and
removing duplictates to create a @grfu. Taking our previous examples:
meow_ext_groups=2:
Newsgroups: meow1,foo,bar,baz
Merged_grfu: meow1,foo,bar,baz
Will be rejected (4-1=3).
Newsgroups: meow1,foo,bar,baz
Followup-To: foo,bar,baz
Merged_grfu: meow1,foo,bar,baz
Will *now* be rejected (4-1=3).
Newsgroups: meow1,foo,bar,baz
Followup-To: foo,baz,baz,qux
Merged_grfu: meow1,foo,bar,baz,qux
Will be rejected (5-1=4).
In the meow_groups case this appears to work well, I can't think of any
nasty gotchas that would result in false positives. I'll work through
some other Cleanfeed filters and see how it would play out in them.
Apologies for expanding this beyond the scope of your original report
but resolving the problem for meow_groups alone is a bit like removing
a rotten apple from the top of the barrel. :)
--
pub 1024D/228761E7 2003-06-04 Steven Crook
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
uid Steven Crook <steve@mixmin.net>
Re: Cleanfeed vs. "meow" groups.
Author: Steve
Date: Wed, 11 Mar 2009 13:36
Date: Wed, 11 Mar 2009 13:36
60 lines
3373 bytes
3373 bytes
On Wed, 11 Mar 2009 10:40:52 +0000 (UTC), Steve wrote in
Message-Id: <slrngrf59k.690.steve@news.mixmin.net>:
> One solution I'm considering is merging @groups and @followups and
> removing duplictates to create a @grfu. Taking our previous examples:
The following diff shows some changes I'm trying, (against current svn).
Currently this only alters the meow reject behaviour but can be easily
extended to other filters if judged to be more appropriate.
I've also added a fupcnt and a grpfupcnt, grpcnt already existed. Don't
know why there wasn't a fupcnt before as 'scalar @followups' was
evaluated at numerous places throughout the code.
Index: cleanfeed
===================================================================
--- cleanfeed (revision 190)
+++ cleanfeed (working copy)
@@ -538,9 +538,14 @@
} else {
@followups = @groups;
}
+ # Create a merged array of groups and followups with no duplicates
+ my %merge = ();
+ my @grpfup = grep { ! $merge{ $_ }++ } (@groups, @followups);
# Count the number of groups in the distribution
$grpcnt = scalar @groups;
+ $fupcnt = scalar @followups;
+ $grpfupcnt = scalar @grpfup;
trimhashes() if $now - $Last_Trim >= $config{trim_interval};
writestats() if $now - $Last_Stats >= $config{stats_interval};
@@ -570,8 +575,6 @@
and /$config{spam_report_groups}/o;
$gr{low_xpost}++ if $config{low_xpost_groups}
and /$config{low_xpost_groups}/o;
- $gr{meow}++ if $config{meow_groups}
- and /$config{meow_groups}/o;
$gr{no_cancel}++ if $config{no_cancel_groups}
and /$config{no_cancel_groups}/o;
$gr{test}++ if /$config{test_groups}/o;
@@ -585,6 +588,12 @@
}
}
+ # Check Newsgroups and Followup-To groups in the message
+ for (@grpfup) {
+ $gr{meow}++ if $config{meow_groups}
+ and /$config{meow_groups}/o;
+ };
+
# these only count if all groups match
$gr{skip} = ($gr{skip} == $grpcnt);
$gr{fslskip} = ($gr{fslskip} == $grpcnt);
--
pub 1024D/228761E7 2003-06-04 Steven Crook
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
uid Steven Crook <steve@mixmin.net>
Re: Cleanfeed vs. "meow" groups.
Author: D. Stussy
Date: Wed, 11 Mar 2009 21:05
Date: Wed, 11 Mar 2009 21:05
77 lines
4471 bytes
4471 bytes
"Steve" <steve@mixmin.net> wrote in message
news:slrngrffim.690.steve@news.mixmin.net...
> On Wed, 11 Mar 2009 10:40:52 +0000 (UTC), Steve wrote in
> Message-Id: <slrngrf59k.690.steve@news.mixmin.net>:
> > One solution I'm considering is merging @groups and @followups and
> > removing duplictates to create a @grfu. Taking our previous examples:
I think that the merging of groups from "Newsgroups:" and "Followup-To:"
headers is dangerous. Although currently, I don't see anything that uses
the actual list of followup groups, there are PLENTY of other things that
are using the COUNT of followup groups, and the merge could cause those
rules to fire. They should be kept separately. Even if you do merge, if
you store the count of followup groups in a variable, you need to make
certain the count happens BEFORE the merger.
My proposal, although not in diff format and not complete (I omitted the
code to count meow groups in followups), keeps the separation. Have you
tried my code?
I assumed this would be included (which I now state; about line 530):
for (@followups) {
$fugr{meow}++ if $config{meow_ext_maxgroups}
and /$config{meow_groups}/o;
}
> The following diff shows some changes I'm trying, (against current svn).
> Currently this only alters the meow reject behaviour but can be easily
> extended to other filters if judged to be more appropriate.
>
> I've also added a fupcnt and a grpfupcnt, grpcnt already existed. Don't
> know why there wasn't a fupcnt before as 'scalar @followups' was
> evaluated at numerous places throughout the code.
>
> Index: cleanfeed
> ===================================================================
> --- cleanfeed (revision 190)
> +++ cleanfeed (working copy)
> @@ -538,9 +538,14 @@
> } else {
> @followups = @groups;
> }
> + # Create a merged array of groups and followups with no duplicates
> + my %merge = ();
> + my @grpfup = grep { ! $merge{ $_ }++ } (@groups, @followups);
>
> # Count the number of groups in the distribution
> $grpcnt = scalar @groups;
> + $fupcnt = scalar @followups;
> + $grpfupcnt = scalar @grpfup;
>
> trimhashes() if $now - $Last_Trim >= $config{trim_interval};
> writestats() if $now - $Last_Stats >= $config{stats_interval};
> @@ -570,8 +575,6 @@
> and /$config{spam_report_groups}/o;
> $gr{low_xpost}++ if $config{low_xpost_groups}
> and /$config{low_xpost_groups}/o;
> - $gr{meow}++ if $config{meow_groups}
> - and /$config{meow_groups}/o;
> $gr{no_cancel}++ if $config{no_cancel_groups}
> and /$config{no_cancel_groups}/o;
> $gr{test}++ if /$config{test_groups}/o;
> @@ -585,6 +588,12 @@
> }
> }
>
> + # Check Newsgroups and Followup-To groups in the message
> + for (@grpfup) {
> + $gr{meow}++ if $config{meow_groups}
> + and /$config{meow_groups}/o;
> + };
> +
> # these only count if all groups match
> $gr{skip} = ($gr{skip} == $grpcnt);
> $gr{fslskip} = ($gr{fslskip} == $grpcnt);
Re: Cleanfeed vs. "meow" groups.
Author: D. Stussy
Date: Thu, 12 Mar 2009 00:14
Date: Thu, 12 Mar 2009 00:14
95 lines
4818 bytes
4818 bytes
My suggestion as a diff:
!diff -u /var/lib/news/bin/filter/filter_innd.pl
/var/lib/news/bin/filter/filter_innd.pl
--- /var/lib/news/bin/filter/filter_innd.pl 2009-03-10 00:00:00.000000000
+0000
+++ /var/lib/news/bin/filter/filter_innd.pl 2009-03-10 00:00:00.000000000
+0000
@@ -531,6 +531,7 @@
}
# Count the number of groups in the distribution
+ $fugcnt = scalar @followups;
$grpcnt = scalar @groups;
trimhashes() if $now - $Last_Trim >= $config{trim_interval};
@@ -578,6 +579,10 @@
# Reject bad groups
return reject("Bad group ($_)", 'Bad group') if exists
$Bad_Groups{$_};
}
+ for (@followups) {
+ $fugr{meow}++ if $config{meow_ext_maxgroups}
+ and /$config{meow_groups}/o;
+ }
# these only count if all groups match
$gr{skip} = ($gr{skip} == $grpcnt);
@@ -689,34 +694,38 @@
if $gr{rg_net} and $hdr{Distribution} !~ /^[ \t]*4[Gg][Hh][
\t]*$/;
return reject('U2 violation - excessive crossposting', 'U2
violation')
- if $gr{rg_net} and scalar @followups > 3;
+ if $gr{rg_net} and $fugcnt > 3;
return reject('bofh violation - excessive crossposting','U2
violation')
- if $gr{rg_bofh} and scalar @followups > 3;
+ if $gr{rg_bofh} and $fugcnt > 3;
return reject('bofh violation - invalid distribution', 'U2
violation')
if $gr{rg_bofh}
- and $hdr{Distribution} !~ /^[ \t]*[Bb][Oo][Ff][Hh][
\t]*$/;
+ and $hdr{Distribution} !~ /^[ \t]*BOFH[ \t]*$/i;
return reject('Too many newsgroups')
- if scalar @followups > $config{maxgroups};
+ if $fugcnt > $config{maxgroups};
return reject('Too many newsgroups (low_xpost)', 'Too many
newsgroups')
if $gr{low_xpost}
- and scalar @followups > $config{low_xpost_maxgroups};
+ and $fugcnt > $config{low_xpost_maxgroups};
return reject('Too many newsgroups (meow)', 'Too many newsgroups')
- if $gr{meow} and $gr{meow} != scalar @groups
- and scalar @followups > $config{meow_ext_maxgroups};
+ if $gr{meow}
+ and ($grpcnt - $gr{meow}) > $config{meow_ext_maxgroups};
+
+ return reject('Too many follow-up groups (meow)', 'Too many
followups')
+ if $fugr{meow}
+ and ($fugcnt - $fugr{meow}) > $config{meow_ext_maxgroups};
return reject('Too many test groups in crosspost',
'Too many newsgroups') if $gr{test} > 2;
return reject('Excessively crossposted test article',
- 'Too many newsgroups') if $gr{test} and scalar @followups > 4;
+ 'Too many newsgroups') if $gr{test} and $fugcnt > 4;
return reject('Adult group ECP', 'Too many newsgroups')
- if scalar @followups > 6 and $gr{adult} > scalar @groups / 2;
+ if $fugcnt > 6 and $gr{adult} > scalar @groups / 2;
return reject('Poison newsgroup') if $gr{poison};
@@ -1025,7 +1034,7 @@
# and $lch{'message-id'} !~ /webtv\.net>$/;
# Score poor netiquette on Follow-up's
- $score .= "!!ExpFollowup" if scalar @followups > $grpcnt;
+ $score .= "!!ExpFollowup" if $fugcnt > $grpcnt;
$score .= "!NoFollowup" if $grpcnt > 1 and not
$hdr{Followup-To};
$score .= "!NoFollowup2" if $grpcnt > 3 and not
$hdr{Followup-To};
Re: Cleanfeed vs. "meow" groups.
Author: Steve
Date: Thu, 12 Mar 2009 10:13
Date: Thu, 12 Mar 2009 10:13
52 lines
3407 bytes
3407 bytes
On Wed, 11 Mar 2009 14:05:57 -0700, D. Stussy wrote in
Message-Id: <gp9965$o14$1@aux.snarked.org>:
> I think that the merging of groups from "Newsgroups:" and "Followup-To:"
> headers is dangerous. Although currently, I don't see anything that uses
> the actual list of followup groups, there are PLENTY of other things that
> are using the COUNT of followup groups, and the merge could cause those
> rules to fire.
I wasn't suggesting merging the lists and overwriting the existing
@followups, @groups or their associated counts. I was meaning that
there is a strong case for having a *third* list (and count) that
contains a uniq list of elements from both.
> My proposal, although not in diff format and not complete (I omitted the
> code to count meow groups in followups), keeps the separation. Have you
> tried my code?
I've run some simulations with it and there are some instances where
the merged list solution vs. @gr + @fugr produce different results.
For example, using your proposed code for meow_groups:
return reject('Too many newsgroups (meow)', 'Too many newsgroups')
if $gr{meow}
and ($grpcnt - $gr{meow}) > $config{meow_ext_maxgroups};
return reject('Too many follow-up groups (meow)', 'Too many followups')
if $fugr{meow}
and ($fugcnt - $fugr{meow}) > $config{meow_ext_maxgroups};
Newsgroups: meow1,meow2,foo,bar
Followup-To: foo,bar,baz,qux
Your code would accept this. Newsgroups doesn't exceed the
meow_ext_maxgroups and Followup-To has no meow group.
Newsgroups: meow1,meow2,foo,bar
Followup-To: foo,bar,baz,qux
(Merged): meow1,meow2,foo,bar,baz,quz
Using the merged approach, the post gets rejected.
The question I have is, which is the preferred behaviour? As a counter
for the original meow-wars, the second solution is better at preventing
crosspost proliferation. However, as the meow wars happened 13 years
ago, the solution is probably over-specific to an obsolete problem.
I appreciate this is a little off-topic for n.a.n. If anyone objects,
I'm happy to take it elsewhere.
--
pub 1024D/228761E7 2003-06-04 Steven Crook
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
uid Steven Crook <steve@mixmin.net>
Re: Cleanfeed vs. "meow" groups.
Author: D. Stussy
Date: Thu, 12 Mar 2009 20:06
Date: Thu, 12 Mar 2009 20:06
110 lines
5849 bytes
5849 bytes
"Steve" <steve@mixmin.net> wrote in message
news:slrngrho1r.c4n.steve@news.mixmin.net...
> On Wed, 11 Mar 2009 14:05:57 -0700, D. Stussy wrote in
> Message-Id: <gp9965$o14$1@aux.snarked.org>:
> > I think that the merging of groups from "Newsgroups:" and
"Followup-To:"
> > headers is dangerous. Although currently, I don't see anything that
uses
> > the actual list of followup groups, there are PLENTY of other things
that
> > are using the COUNT of followup groups, and the merge could cause those
> > rules to fire.
>
> I wasn't suggesting merging the lists and overwriting the existing
> @followups, @groups or their associated counts. I was meaning that
> there is a strong case for having a *third* list (and count) that
> contains a uniq list of elements from both.
>
> > My proposal, although not in diff format and not complete (I omitted
the
> > code to count meow groups in followups), keeps the separation. Have
you
> > tried my code?
>
> I've run some simulations with it and there are some instances where
> the merged list solution vs. @gr + @fugr produce different results.
>
> For example, using your proposed code for meow_groups:
>
> return reject('Too many newsgroups (meow)', 'Too many newsgroups')
> if $gr{meow}
> and ($grpcnt - $gr{meow}) > $config{meow_ext_maxgroups};
> return reject('Too many follow-up groups (meow)', 'Too many followups')
> if $fugr{meow}
> and ($fugcnt - $fugr{meow}) > $config{meow_ext_maxgroups};
>
> Newsgroups: meow1,meow2,foo,bar
> Followup-To: foo,bar,baz,qux
> Your code would accept this. Newsgroups doesn't exceed the
> meow_ext_maxgroups and Followup-To has no meow group.
Correct.
> Newsgroups: meow1,meow2,foo,bar
> Followup-To: foo,bar,baz,qux
> (Merged): meow1,meow2,foo,bar,baz,quz
> Using the merged approach, the post gets rejected.
I agree.
> The question I have is, which is the preferred behaviour? As a counter
> for the original meow-wars, the second solution is better at preventing
> crosspost proliferation. However, as the meow wars happened 13 years
> ago, the solution is probably over-specific to an obsolete problem.
meow_ext_maxgroups: "This parameter controls how many other groups are
allowed in a distribution that includes a meow_group."
With that definition, "Newsgroups:" identifes the current distribution, and
"Followup-To:" identifies the future distribution for replies. I took the
definition literally and applied it to both items separately. Consider
these cases:
1) Meow group specified in both current and followups: No difference in
our treatment.
2) Meow group specified ONLY in current: Current gets limited. However,
your view limits followups while mine doesn't. If we didn't check
followups, then the reply message [when posted] would pass as there's NO
meow group included. That's consistent with the definition given. If the
followup list includes no meow group, is it still under the "jurisdiction"
of this filter, or has a branch of the thread become a serious discussion
(notwithstanding other filters)? Regardless, any followups to a primary
followup message would fit cases #3 or #4 below, and with #4, escape this
filter completely.
3) Meow group specified only in followups: When fixed, no difference in
our treatment.
4) Meow group not specified at all: Filter is ignored.
> I appreciate this is a little off-topic for n.a.n. If anyone objects,
> I'm happy to take it elsewhere.
As we're talking about implementation of the filter, not its policy, I feel
it's appropriate to stay here.
Instead of " if $gr{meow} and ..." or " if $fugr{meow} and ...", then maybe
we should have both conditionals start with:
if ($gr{meow}or $fugr{meow}) and ... ?
(instead of "or", we could use "+". Either operator should be equally
efficient.)
At my system, I append an additional meow groups regex to the default
groups in the base cleanfeed code. My additional pattern is:
'\.auk|\.kook|\.usenet\.legend|f.ck'
(I actually specify the "u" in the last word).
Due to the openess of the alt.* hierarchy, I have also considered adding
alt.config, as it's really a joke group and nothing but nonsense goes on
there. In other words, I'm using this ruleset as an anti-troll device -
and therefore don't consider its usefulness as obsolete even if no one is
literally "meowing" anymore.
Maybe we need additional opinions?
Re: Cleanfeed vs. "meow" groups.
Author: D. Stussy
Date: Tue, 17 Mar 2009 19:46
Date: Tue, 17 Mar 2009 19:46
27 lines
2428 bytes
2428 bytes
"D. Stussy" <spam@bde-arc.ampr.org> wrote in message news:gpbq0e$4tg$1@aux.snarked.org... > ... > At my system, I append an additional meow groups regex to the default > groups in the base cleanfeed code. My additional pattern is: > > '\.auk|\.kook|\.usenet\.legend|f.ck' > (I actually specify the "u" in the last word). Here's a posting that the "followup rule" caught that passes the "newsgroups" rule: Message-ID: <87122819-767d-48d1-b697-f148f44d8a78@t3g2000yqa.googlegroups.com> Newsgroups: alt.fan.rush-limbaugh, alt.politics.elections, alt.society.liberalism, alt.politics.democrats.d, can.politics Followup-To: alt.rasap, alt.conspiracy, alt.usenet.kooks, alt.stupidity, alt.bullshit Since I include "alt.usenet.kooks" as a meow group (local configuration), the filter (as I amended it) caught it and killed the spread of this troll message. PS: In cleanfeed, next to "%gr = ();", I noted I had to add an "%fugr = ();". Otherwise, my diff was correct and is what I'm running currently.
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