Bitcoin Forum
December 10, 2016, 03:16:15 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: restricting access to nodes bitcoind talks to  (Read 1001 times)
syn
Newbie
*
Offline Offline

Activity: 25


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.

send btc --> 1F1avjWuBy1Ah8vuEkyVDPJ93ev3unfC3J
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481339775
Hero Member
*
Offline Offline

Posts: 1481339775

View Profile Personal Message (Offline)

Ignore
1481339775
Reply with quote  #2

1481339775
Report to moderator
1481339775
Hero Member
*
Offline Offline

Posts: 1481339775

View Profile Personal Message (Offline)

Ignore
1481339775
Reply with quote  #2

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

Activity: 751


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 Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
MoonShadow
Legendary
*
Offline Offline

Activity: 1666



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: 751


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 Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
MoonShadow
Legendary
*
Offline Offline

Activity: 1666



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


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: 70


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: 1666



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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!