node: Log IP ban rejections
This commit is contained in:
parent
0a7a9c2945
commit
6598e77456
|
|
@ -1281,6 +1281,7 @@ where
|
||||||
match self.db.addresses().is_ip_banned(ip) {
|
match self.db.addresses().is_ip_banned(ip) {
|
||||||
Ok(banned) => {
|
Ok(banned) => {
|
||||||
if banned {
|
if banned {
|
||||||
|
debug!(target: "service", "Rejecting inbound connection from banned ip {ip}");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue