Bitcoin Forum
May 08, 2024, 04:41:19 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: restricting access to nodes bitcoind talks to  (Read 1222 times)
syn (OP)
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
May 18, 2011, 04:01:33 PM
 #1

Is there a way to change a config parameter in bitcoind to give it a limited (trusted) set of hosts it should communicate with?  I've looked around and didn't ind anything obvious.
1715143279
Hero Member
*
Offline Offline

Posts: 1715143279

View Profile Personal Message (Offline)

Ignore
1715143279
Reply with quote  #2

1715143279
Report to moderator
1715143279
Hero Member
*
Offline Offline

Posts: 1715143279

View Profile Personal Message (Offline)

Ignore
1715143279
Reply with quote  #2

1715143279
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715143279
Hero Member
*
Offline Offline

Posts: 1715143279

View Profile Personal Message (Offline)

Ignore
1715143279
Reply with quote  #2

1715143279
Report to moderator
1715143279
Hero Member
*
Offline Offline

Posts: 1715143279

View Profile Personal Message (Offline)

Ignore
1715143279
Reply with quote  #2

1715143279
Report to moderator
1715143279
Hero Member
*
Offline Offline

Posts: 1715143279

View Profile Personal Message (Offline)

Ignore
1715143279
Reply with quote  #2

1715143279
Report to moderator
Matt Corallo
Hero Member
*****
expert
Offline Offline

Activity: 755
Merit: 515


View Profile
May 18, 2011, 05:59:42 PM
 #2

Is there a way to change a config parameter in bitcoind to give it a limited (trusted) set of hosts it should communicate with?  I've looked around and didn't ind anything obvious.
The -connect parameter limits bitcoin to connect only to the node you specify, you can add several -connect's to connect to several nodes.

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1007



View Profile
May 18, 2011, 06:21:48 PM
 #3

Search the forum for the "shy" client.  Someone has already modified the vanilla client to only accept approved connections and never announce it's own IP address.

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
Matt Corallo
Hero Member
*****
expert
Offline Offline

Activity: 755
Merit: 515


View Profile
May 18, 2011, 06:25:24 PM
 #4

Search the forum for the "shy" client.  Someone has already modified the vanilla client to only accept approved connections and never announce it's own IP address.
That is not at all what the "shy" patch does.  The shy patch only sends its version number to clients it connects to after they send it theirs.  It still connects to IRC, still attempts to make the same 8 outgoing connections to random nodes as every other client, and still listens for incoming connections.  The only goal here is to make bitcoin nodes slightly less DDoS-able.  Also, shy is in git, and I believe also in 0.3.21.

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1007



View Profile
May 18, 2011, 06:28:33 PM
 #5

Search the forum for the "shy" client.  Someone has already modified the vanilla client to only accept approved connections and never announce it's own IP address.
That is not at all what the "shy" patch does.  The shy patch only sends its version number to clients it connects to after they send it theirs.  It still connects to IRC, still attempts to make the same 8 outgoing connections to random nodes as every other client, and still listens for incoming connections.  The only goal here is to make bitcoin nodes slightly less DDoS-able.  Also, shy is in git, and I believe also in 0.3.21.

Thanks for the correction.  Then a "stealth" client is needed, that functions as a dark node unless specificly commanded to connect to a particular peer, or accept a particular peer's requests.  In fact, I want this client, portable on a thumbdrive. 

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
Gavin Andresen
Legendary
*
qt
Offline Offline

Activity: 1652
Merit: 2216


Chief Scientist


View Profile WWW
May 18, 2011, 06:37:14 PM
 #6

Then a "stealth" client is needed, that functions as a dark node unless specificly commanded to connect to a particular peer, or accept a particular peer's requests.  In fact, I want this client, portable on a thumbdrive. 

That is exactly what -connect does (if I recall correctly; you might need -connect and -nolisten together).

How often do you get the chance to work on a potentially world-changing project?
xf2_org
Member
**
Offline Offline

Activity: 98
Merit: 13


View Profile
May 18, 2011, 07:16:14 PM
 #7

Then a "stealth" client is needed, that functions as a dark node unless specificly commanded to connect to a particular peer, or accept a particular peer's requests.  In fact, I want this client, portable on a thumbdrive. 

That is exactly what -connect does (if I recall correctly; you might need -connect and -nolisten together).

Correct.  -nolisten disables incoming, and -connect restricts outgoing to -connect-provided whitelist.
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1007



View Profile
May 18, 2011, 07:42:08 PM
 #8

Then a "stealth" client is needed, that functions as a dark node unless specificly commanded to connect to a particular peer, or accept a particular peer's requests.  In fact, I want this client, portable on a thumbdrive. 

That is exactly what -connect does (if I recall correctly; you might need -connect and -nolisten together).

Correct.  -nolisten disables incoming, and -connect restricts outgoing to -connect-provided whitelist.


Perfect.  Thanks guys!

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
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!