ASSP development mailing list <[email protected]>
schreibt:
>Thomas,
>
>While logging and comparing log to code, noted that $PenaltyLimit is
>used,
>but never defined and never assigned a value:
>
>sub PBOK - return 1 if $totalscore<$PenaltyLimit;
>
>sub PBExtremeOK - if ( $totalscore >= $PenaltyLimit && $totalscore <
>$PenaltyExtreme ) {
>
>sub cleanBlackPB - if ($tdif>$PenaltyDuration*60 &&
>$score<$PenaltyLimit ) {
>
>In all three cases, I believe $PenaltyLimit should be
>$PenaltyMessageLimit.

PenaltyLimit  is in the configuration section:
['PenaltyLimit','Penalty Limit',4,\&textinput,50,'(\d*)',undef,
  'PB will block messages from IP numbers whose totalscore exceeds
this threshold during PenaltyDuration. 


PenaltyMessageLimit is for message scoring, PenaltyLimit is for IP
scoring.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to