Remove adaptive, keep stats for deny rules, add clearing stats
commit1b0ef2af90507693946085b2f5b979b7df348c83
authorJakub Narebski <jnareb@gmail.com>
Sat, 8 Nov 2008 21:48:20 +0000 (8 22:48 +0100)
committerJakub Narebski <jnareb@gmail.com>
Sat, 8 Nov 2008 21:48:20 +0000 (8 22:48 +0100)
tree34bca1c19f2e9e00fdcde8a89bec69ecd4ac5669
parent19c7a3c1cd4401e3179aef0cdf953ac7c8a5263e
Remove adaptive, keep stats for deny rules, add clearing stats

Remove so called adaptive rules, which meant moving currently matched
deny rules to the front of @filter_deny list.  Better solution I think
would be to rely on rule usage statistics.

Extend deny rule usage statistics, adding average number of rules to
match (excluding cases where there was no match at all).

Add '/FILTER CLEARSTATS' command, to clear (reset) statistics for
rules.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
SoftSnow_filter.pl