aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/reputation.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lua/reputation.lua')
-rw-r--r--src/plugins/lua/reputation.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/lua/reputation.lua b/src/plugins/lua/reputation.lua
index d19d0da94..82ee8d4d7 100644
--- a/src/plugins/lua/reputation.lua
+++ b/src/plugins/lua/reputation.lua
@@ -34,6 +34,9 @@ local default_expiry = 864000 -- 10 day by default
-- IP Selector functions
+local function ip_reputation_filter(task, rule)
+
+end
-- Selectors are used to extract reputation tokens
local ip_selector = {
@@ -64,6 +67,8 @@ local ip_selector = {
score_divisor = 1,
},
--dependencies = {"ASN"}, -- ASN is a prefilter now...
+ filter = ip_reputation_filter, -- used to get scores
+ idempotent = ip_reputation_idempotent -- used to set scores
}
local selectors = {