Author

Topic: Why can local addresses be manually banned? (Read 703 times)

staff
Activity: 3374
Merit: 6530
Just writing some code
November 03, 2016, 08:23:39 AM
#2
Interesting. It would be better if you reported this on the issue tracker on github here: https://github.com/bitcoin/bitcoin/issues
legendary
Activity: 4326
Merit: 3041
Vile Vixen and Miss Bitcointalk 2021-2023
November 03, 2016, 05:38:02 AM
#1
Bitcoin Core won't automatically IP-ban misbehaving peers if the IP address is local, but doesn't apply the same logic to manual bans. I found this out the hard way when I accidentally banned an inbound Tor peer and took down my hidden service. I didn't even realise what happened until, wondering why my node had no inbound Tor connections, I checked my debog.log and saw it was filled with "connection from 127.0.0.1 dropped (banned)". Embarrassed

Is there any legitimate use for this behaviour or is it just a straight-up bug? It seems inconsistent, at least.
Jump to: