
Jameson Lopp|Jun 22, 2025 22:02
Meh, static lists are brittle. You could just run this every minute via crontab:
bitcoin-cli getpeerinfo | jq -r '.[] | select(.subver | test("Knots")) | .addr' | while read addr; do
ip=$(echo $addr | cut -d':' -f1)
bitcoin-cli setban "$ip" add
done
Share To
Timeline
HotFlash
APP
X
Telegram
CopyLink