Add network node whitelisting (cannot be banned) #3403
pull jgarzik wants to merge 1 commits into bitcoin:master from jgarzik:whitelist changing 7 files +108 −0-
jgarzik commented at 7:01 pm on December 12, 2013: contributorIncludes ‘addwhite’ and ’listwhite’ RPCs.
-
sipa commented at 8:20 pm on December 12, 2013: member
I had a similar idea about this once, though never got around to implementing it:
- One other use case for whitelisted nodes is always-relay-everything; e.g. if you have an internal network with several nodes behind a single frontend node, you want their wallet broadcasts to be relayed, and more than just the first time.
- Just using addresses doesn’t suffice. Right now, we never ban localhost, and that isn’t optimal, as it means never banning incoming onion connections.
- We could have a -whiteport, which adds another P2P listening port, but connections to it are automatically whitelisted. For outgoing connections, a -addwhitenode or something could exist. In general, I don’t think using IP-based filtering is optimal here - for outgoing connections you want to connect to them anyway, and for incoming connections IP filtering doesn’t suffice.
-
laanwj commented at 1:33 pm on December 14, 2013: memberCode changes look good, haven’t tested yet.
-
Add network node whitelisting (cannot be banned)
Includes 'addwhite' and 'listwhite' RPCs.
-
jgarzik commented at 8:45 pm on May 20, 2014: contributorRebased.
-
BitcoinPullTester commented at 9:18 pm on May 20, 2014: noneAutomatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/85519ff6875296dc929c179eff1b2ce95b34787a for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
-
laanwj commented at 9:04 am on May 21, 2014: member
@gmaxwell @jgarzik @sipa @gavinandresen Regarding this: what are we going to do? I think that we all agree that some kind of whitelisting functionality should be in bitcoin core, but what implementation are we going for?
There are two pulls requests that implement this functionality at the moment, this one and #3584.
I do like @sipa’s -whiteport idea as well. I vaguely remember some discussion on IRC a while ago and we came up with that solution as preferable, as it allows using the existing network access control to determine who gets ‘preferred’ access, but I don’t know anymore who was involved in that discussion.
-
jgarzik closed this on Jun 21, 2014
-
jgarzik deleted the branch on Aug 24, 2014
-
DrahtBot locked this on Sep 8, 2021
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 18:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 18:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me