Router: Ban hash of all-zero RI

seen live on the net
This commit is contained in:
zzz
2025-02-23 07:43:26 -05:00
parent 68ebda19c5
commit dceef0dae2
2 changed files with 9 additions and 1 deletions
@@ -57,7 +57,7 @@ class BanlistRenderer {
buf.append("<li>").append(_context.commSystem().renderPeerHTML(key));
buf.append(' ');
String expireString = DataHelper.formatDuration2(expires);
if (key.equals(Hash.FAKE_HASH))
if (key.equals(Hash.FAKE_HASH) || key.equals(Banlist.HASH_ZERORI))
buf.append(_t("Permanently banned"));
else if (expires < 5l*24*60*60*1000)
buf.append(_t("Temporary ban expiring in {0}", expireString));