From fd58472cc57dc44a8672d11938c19c7877cb1956 Mon Sep 17 00:00:00 2001 From: zzz <zzz@i2pmail.org> Date: Tue, 20 Dec 2022 14:54:35 -0500 Subject: [PATCH] Sybil: Pass reason to the blocklist, for logging only --- router/java/src/net/i2p/router/sybil/Analysis.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/java/src/net/i2p/router/sybil/Analysis.java b/router/java/src/net/i2p/router/sybil/Analysis.java index ec1513fa90..9b92b428f6 100644 --- a/router/java/src/net/i2p/router/sybil/Analysis.java +++ b/router/java/src/net/i2p/router/sybil/Analysis.java @@ -452,7 +452,7 @@ public class Analysis extends JobImpl implements RouterApp { for (RouterAddress ra : ri.getAddresses()) { byte[] ip = ra.getIP(); if (ip != null) - _context.blocklist().add(ip); + _context.blocklist().add(ip, "Sybil " + h.toBase64()); String host = ra.getHost(); if (host != null) blocks.add(host); -- GitLab