Bitcoin Forum
May 10, 2024, 11:47:49 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why can local addresses be manually banned?  (Read 703 times)
Foxpup (OP)
Legendary
*
Offline Offline

Activity: 4354
Merit: 3044


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!
1715384869
Hero Member
*
Offline Offline

Posts: 1715384869

View Profile Personal Message (Offline)

Ignore
1715384869
Reply with quote  #2

1715384869
Report to moderator
BitcoinCleanup.com: Learn why Bitcoin isn't bad for the environment
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715384869
Hero Member
*
Offline Offline

Posts: 1715384869

View Profile Personal Message (Offline)

Ignore
1715384869
Reply with quote  #2

1715384869
Report to moderator
1715384869
Hero Member
*
Offline Offline

Posts: 1715384869

View Profile Personal Message (Offline)

Ignore
1715384869
Reply with quote  #2

1715384869
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6635


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!