🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
13 messages
13 total messages Started by Andrew Gierth Thu, 07 Sep 2000 02:15
Re: Good NetKeeping
#48315
Author: Andrew Gierth
Date: Thu, 07 Sep 2000 02:15
24 lines
2427 bytes
>>>>> "Brian" == Brian Kraft <bhkraft@gj.net> writes:

 >>> The "|" isn't a workaround for quote-checking on INN news servers where
 >>> quote-checking is enabled, because it also checks for "|" & ":".

 >> Since when?  IIRC the code I saw for that just looked for the standard ">".

 Brian> It might not be in the filter_nnrpd.pl that's used, but there's also a
 Brian> "CHECK_INCLUDED_TEXT" compilation flag in INN 1.7.2 that might do it.

in both 1.7.2 and the 2.2.x snapshot I have handy, the code looks for
any of < > | :

 Brian> news.software.nntp people: How does one set the minimum lines
 Brian> cutoff for quote checking in INN 1.7.2?  INN 2.2.1?  Is 40
 Brian> lines the default?

In both 1.7.2 and the 2.2.x code I have handy, the parameters are
hardcoded. In 1.7.2 there's a minimum of 40 lines, and in the 2.2.x
versions there appears to be no minimum at all.

-- 
Andrew.
Re: Good NetKeeping
#49499
Author: Russ Allbery
Date: Sun, 24 Dec 2000 11:45
22 lines
2252 bytes
In news.software.nntp, Brian Kraft <bhkraft@gj.net> writes:
> Andrew Gierth wrote:

>> In both 1.7.2 and the 2.2.x code I have handy, the parameters are
>> hardcoded. In 1.7.2 there's a minimum of 40 lines, and in the 2.2.x
>> versions there appears to be no minimum at all.

> Wouldn't the authors of INN now want to align it more or less to what
> "Son of RFC 1036 4.3.2. Body Conventions" says about posting agents?

> |	NOTE: At the very least, if a minimum-unquoted quota is being set,
> |	article bodies shorter than (say) 20 lines, or perhaps articles which
> |	exceed the quota by only a few lines, should be exempt. This avoids
> |	the ridiculous situation of complaining about a 5-line response to a
> |	6-line quote.

INN 2.4-to-be now exempts any post shorter than 20 lines even if checking
of included text is turned on.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: Good NetKeeping
#49728
Author: bill davidsen
Date: Mon, 08 Jan 2001 23:52
45 lines
2750 bytes
In article <ylk88qt54x.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:

| > Wouldn't the authors of INN now want to align it more or less to what
| > "Son of RFC 1036 4.3.2. Body Conventions" says about posting agents?
| 
| > |	NOTE: At the very least, if a minimum-unquoted quota is being set,
| > |	article bodies shorter than (say) 20 lines, or perhaps articles which
| > |	exceed the quota by only a few lines, should be exempt. This avoids
| > |	the ridiculous situation of complaining about a 5-line response to a
| > |	6-line quote.
| 
| INN 2.4-to-be now exempts any post shorter than 20 lines even if checking
| of included text is turned on.

  I use a formula Q < (F + (P * N)) where Q is quoted lines, N is new
lines, P is the percentage Q/N, and F is a fudge factor for small posts.
For an ISP who doesn't want users whining, F=10, P=1 works, if I set the
policy, as I do on my own servers, F=10, P=0.8 seems to work pretty
well, gets more stringent as post size increases.

Example F=15 P=0.8:
  new  old-max
    1    11
   10    18
   20    26
   30    34
   40    42
   50    50
   60    58
   70    66
   80    74
   90    82
  100    90
  110    98

  and of course you want to require N > 0 ;-)

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
The line from the immutable past to the desired future is useful to
justify continuing to tack into the wind, making a major change in
course, or coasting into safe harbor. It is not a map of where you are
going, just how to get where you want to go.
Re: Good NetKeeping
#49732
Author: Russ Allbery
Date: Tue, 09 Jan 2001 01:15
20 lines
1926 bytes
In news.software.nntp, bill davidsen <davidsen@tmr.com> writes:
> Russ Allbery  <rra@stanford.edu> wrote:

> | INN 2.4-to-be now exempts any post shorter than 20 lines even if checking
> | of included text is turned on.

> I use a formula Q < (F + (P * N)) where Q is quoted lines, N is new
> lines, P is the percentage Q/N, and F is a fudge factor for small posts.
> For an ISP who doesn't want users whining, F=10, P=1 works, if I set the
> policy, as I do on my own servers, F=10, P=0.8 seems to work pretty
> well, gets more stringent as post size increases.

I'm personally of the opinion that this all really belongs in the Perl
filter.  Maybe someone could write up some good code to do this in Perl or
Python and we could drop it into the sample filters for people to use if
they want?

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: Good NetKeeping
#49767
Author: Jeroen Scheerder
Date: Wed, 10 Jan 2001 10:30
16 lines
2700 bytes
Russ Allbery <rra@stanford.edu>:

> > I use a formula Q < (F + (P * N)) where Q is quoted lines, N is new
> > lines, P is the percentage Q/N, and F is a fudge factor for small posts.
> > For an ISP who doesn't want users whining, F=10, P=1 works, if I set the
> > policy, as I do on my own servers, F=10, P=0.8 seems to work pretty
> > well, gets more stringent as post size increases.
> 
> I'm personally of the opinion that this all really belongs in the Perl
> filter.  Maybe someone could write up some good code to do this in Perl or
> Python and we could drop it into the sample filters for people to use if
> they want?


    -- J$
Re: Good NetKeeping
#49768
Author: Jeroen Scheerder
Date: Wed, 10 Jan 2001 10:30
36 lines
3758 bytes
Russ Allbery <rra@stanford.edu>:

> > I use a formula Q < (F + (P * N)) where Q is quoted lines, N is new
> > lines, P is the percentage Q/N, and F is a fudge factor for small posts.
> > For an ISP who doesn't want users whining, F=10, P=1 works, if I set the
> > policy, as I do on my own servers, F=10, P=0.8 seems to work pretty
> > well, gets more stringent as post size increases.
> 
> I'm personally of the opinion that this all really belongs in the Perl
> filter.  Maybe someone could write up some good code to do this in Perl or
> Python and we could drop it into the sample filters for people to use if
> they want?

I could write such a snippet for nnrpd_filter (and would be willing to
do that, and donate it for that purpose), but there are a few issues.

One is whether there's sufficient information to perform the
calculation.  Header fields are accessible in to the filter code by
means of an associateve array, but (unless I'm mistaken) the body is
not.  So how can one determine the number of quoted/new lines in the
message body?

The second issue is not of a technical nature.  Past evidence has seen
attempts to impose "quoted part ratio" restrictions to backfire.
Instead of quoting less excessively, people whose articles were refused
sought (and found) other workarounds.  For example, adding spurious "new
content", or fooling the quote detector by resorting to a non-standard
way of including existing material.

Of course, it's up to individual admins to actually use such code.  One
would hope they would make such decisions wisely, but again, past
experience in that area (IMHO) has not been encouraging.


    -- J$
Re: Good NetKeeping
#49770
Author: Russ Allbery
Date: Wed, 10 Jan 2001 10:47
37 lines
3507 bytes
In news.software.nntp, Jeroen Scheerder <js@phil.uu.nl> writes:
> Russ Allbery <rra@stanford.edu>:

>> I'm personally of the opinion that this all really belongs in the Perl
>> filter.  Maybe someone could write up some good code to do this in Perl
>> or Python and we could drop it into the sample filters for people to
>> use if they want?

> I could write such a snippet for nnrpd_filter (and would be willing to
> do that, and donate it for that purpose), but there are a few issues.

> One is whether there's sufficient information to perform the
> calculation.  Header fields are accessible in to the filter code by
> means of an associateve array, but (unless I'm mistaken) the body is
> not.

The body is available as $body.  (We really need to standardize the
interface for the filters at some point between innd and nnrpd.)

> The second issue is not of a technical nature.  Past evidence has seen
> attempts to impose "quoted part ratio" restrictions to backfire.
> Instead of quoting less excessively, people whose articles were refused
> sought (and found) other workarounds.  For example, adding spurious "new
> content", or fooling the quote detector by resorting to a non-standard
> way of including existing material.

> Of course, it's up to individual admins to actually use such code.  One
> would hope they would make such decisions wisely, but again, past
> experience in that area (IMHO) has not been encouraging.

Yeah, this is an issue.  This is the main reason why I personally don't
use that code.  But people regularly do seem to turn it on and want
various tweaks and whatnot to it, so someone's using it.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: Good NetKeeping
#49783
Author: Jeroen Scheerder
Date: Wed, 10 Jan 2001 20:17
28 lines
3009 bytes
Russ Allbery <rra@stanford.edu>:

[snip, on adding a fine-grained quote ratio filter for incoming
 messages to INN's sample filters]

> The body is available as $body.  (We really need to standardize the
> interface for the filters at some point between innd and nnrpd.)

Hmm.  Is that new in 2.4?

[snip, about the classic footshooting/backfiring mistake acceptance
 filters usually turn out to be]

> > Of course, it's up to individual admins to actually use such code.  One
> > would hope they would make such decisions wisely, but again, past
> > experience in that area (IMHO) has not been encouraging.
> 
> Yeah, this is an issue.  This is the main reason why I personally don't
> use that code.  But people regularly do seem to turn it on and want
> various tweaks and whatnot to it, so someone's using it.

...and if they're going to do it anyway, it makes sense to at least
provide a _sensible_ quote ratio snippet as a sample filter.  Point
taken.


    -- J$
Re: Good NetKeeping
#49786
Author: Andrew Gierth
Date: Wed, 10 Jan 2001 21:36
14 lines
2422 bytes
>>>>> "Jeroen" == Jeroen Scheerder <js@phil.uu.nl> writes:

 >> The body is available as $body.  (We really need to standardize
 >> the interface for the filters at some point between innd and
 >> nnrpd.)

 Jeroen> Hmm.  Is that new in 2.4?

no, I added it in a patch to 1.7.2, it got picked up in the main
development code somewhere early on in 2.x

-- 
Andrew.
Re: Good NetKeeping
#49787
Author: Russ Allbery
Date: Wed, 10 Jan 2001 23:24
14 lines
2259 bytes
Jeroen Scheerder <js@phil.uu.nl> writes:
> Russ Allbery <rra@stanford.edu>:

>> The body is available as $body.  (We really need to standardize the
>> interface for the filters at some point between innd and nnrpd.)

> Hmm.  Is that new in 2.4?

No, it was in 1.7.2-insync-1.1d.  I'm not sure when exactly it was added,
but I think it's been in most of the 2.* series.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: Good NetKeeping
#49797
Author: bill davidsen
Date: Thu, 11 Jan 2001 15:39
29 lines
2752 bytes
In article <ylvgrnbs5p.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
| In news.software.nntp, Jeroen Scheerder <js@phil.uu.nl> writes:

| > The second issue is not of a technical nature.  Past evidence has seen
| > attempts to impose "quoted part ratio" restrictions to backfire.
| > Instead of quoting less excessively, people whose articles were refused
| > sought (and found) other workarounds.  For example, adding spurious "new
| > content", or fooling the quote detector by resorting to a non-standard
| > way of including existing material.

| Yeah, this is an issue.  This is the main reason why I personally don't
| use that code.  But people regularly do seem to turn it on and want
| various tweaks and whatnot to it, so someone's using it.

  This is why I set mine to a fairly liberal value. If the shoe only
pinches once in a while, it's less effort to trim than work around. And
I do a lazy scan of local posts to catch stuff like that. If someone
does it once in a while I ignore it, but if they regularly do it they
find somewhere else to do news. Making a deliberate effort to bypass any
SPAM controls is a violation of TOS. I think I have used that twice in
three years, so I don't feel like the BOFH.

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
Linux is a feedback loop. People use it because it has support for all
the neat hardware and applications they want, and implement all the
neat hardware and applications because they want to use Linux.
Re: Good NetKeeping
#49804
Author: Kenn Barry
Date: Thu, 11 Jan 2001 17:51
26 lines
2424 bytes
In article <93kk38$5cik$1@newssvr05-en0.news.prodigy.com>,
bill davidsen <davidsen@tmr.com> wrote:
>In article <ylvgrnbs5p.fsf@windlord.stanford.edu>,
>Russ Allbery  <rra@stanford.edu> wrote:
>| In news.software.nntp, Jeroen Scheerder <js@phil.uu.nl> writes:
>
>| > The second issue is not of a technical nature.  Past evidence has seen
>| > attempts to impose "quoted part ratio" restrictions to backfire.
>| > Instead of quoting less excessively, people whose articles were refused
>| > sought (and found) other workarounds.
>
>| Yeah, this is an issue.  This is the main reason why I personally don't
>| use that code.  But people regularly do seem to turn it on and want
>| various tweaks and whatnot to it, so someone's using it.
>
>I do a lazy scan of local posts to catch stuff like that. If someone
>does it once in a while I ignore it, but if they regularly do it they
>find somewhere else to do news. Making a deliberate effort to bypass any
>SPAM controls is a violation of TOS. I think I have used that twice in
>three years, so I don't feel like the BOFH.

	???? It's not an anti-spam measure, it's just done to
limit excessive quoting,

						Kayembee
Re: Good NetKeeping
#50038
Author: bill davidsen
Date: Mon, 22 Jan 2001 20:09
24 lines
2353 bytes
In article <93krqs$2iq$1@numbers.wetware.com>,
Kenn Barry <barry@wetware.com> wrote:
| In article <93kk38$5cik$1@newssvr05-en0.news.prodigy.com>,
| bill davidsen <davidsen@tmr.com> wrote:

| >I do a lazy scan of local posts to catch stuff like that. If someone
| >does it once in a while I ignore it, but if they regularly do it they
| >find somewhere else to do news. Making a deliberate effort to bypass any
| >SPAM controls is a violation of TOS. I think I have used that twice in
| >three years, so I don't feel like the BOFH.
| 
| 	???? It's not an anti-spam measure, it's just done to
| limit excessive quoting,

  That's a metter of interpretation. But I was speaking in the general
case of posting something in such a way as to defeat filters in place to
enforce site policy. I have some minor checks for sig length and a few
other things as well, I was lumping all posting filter under one title.

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"I am lost. I am out looking for myself. If I should come back before I
return, please ask me to wait."  -seen in a doctor's office
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