Fritz,

Ah. Noted. I was searching for $PenaltyLimit, so missed the parameter, which
does not have a '$'.

Michael Thomas
Mathbox
978-687-3300
Toll Free: 1-877-MATHBOX (1-877-628-4269)

> -----Original Message-----
> From: Fritz Borgstedt [mailto:[email protected]] 
> Sent: Thursday, October 28, 2010 6:02 AM
> To: ASSP development mailing list
> Subject: Re: [Assp-test] FW: Penalty Box - Message Scoring
> 
> 
> 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
> 
> 


------------------------------------------------------------------------------
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