Skip to content

Commit

Permalink
node: Log IP ban rejections
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Jun 19, 2024
1 parent 0a7a9c2 commit 6598e77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions radicle-node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1281,6 +1281,7 @@ where
match self.db.addresses().is_ip_banned(ip) {
Ok(banned) => {
if banned {
debug!(target: "service", "Rejecting inbound connection from banned ip {ip}");
return false;
}
}
Expand Down

0 comments on commit 6598e77

Please sign in to comment.