commit 1e23390: [Minor] Reputation: More safe default

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Dec 10 11:56:08 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-12-10 11:55:30 +0000
URL: https://github.com/rspamd/rspamd/commit/1e233907ec3d1ac622cce5b43824e9d4d1a2b553 (HEAD -> master)

[Minor] Reputation: More safe default

---
 src/plugins/lua/reputation.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/lua/reputation.lua b/src/plugins/lua/reputation.lua
index 16b0fa021..5ee16354b 100644
--- a/src/plugins/lua/reputation.lua
+++ b/src/plugins/lua/reputation.lua
@@ -531,7 +531,7 @@ local ip_selector = {
     score_divisor = 1,
     outbound = false,
     inbound = true,
-    ipv4_mask = 29, -- Mask bits for ipv4
+    ipv4_mask = 32, -- Mask bits for ipv4
     ipv6_mask = 64, -- Mask bits for ipv6
   },
   --dependencies = {"ASN"}, -- ASN is a prefilter now...


More information about the Commits mailing list