Bitcoin Forum
November 09, 2024, 08:39:25 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why can local addresses be manually banned?  (Read 726 times)
Foxpup (OP)
Legendary
*
Offline Offline

Activity: 4533
Merit: 3183


Vile Vixen and Miss Bitcointalk 2021-2023


View Profile
November 03, 2016, 09:38:02 AM
Merited by ABCbits (2)
 #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.

Will pretend to do unspeakable things (while actually eating a taco) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
I am not on the scammers' paradise known as Telegram! Do not believe anyone claiming to be me off-forum without a signed message from the above address! Accept no excuses and make no exceptions!
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
November 03, 2016, 12:23:39 PM
 #2

Interesting. It would be better if you reported this on the issue tracker on github here: https://github.com/bitcoin/bitcoin/issues

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!