Bitcoin Forum
May 12, 2024, 09:13:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to limit IRC and connected nodes through Tor ?  (Read 2107 times)
xeronet (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0



View Profile WWW
January 11, 2011, 11:51:18 AM
 #1

Hello.

I'm trying to run a dedicated Bitcoin node through my Tor Relay on a Windows Server.

How can I ensure I limit or stop IRC connectivity properly and restrict the number of connected nodes to about 10 ?

I've read the wiki, but its not so clear. What lines exactly should I add to a bitcoin.conf ? That should go in C:\Program Files (x86)\Bitcoin right ?

I've tried a few settings and even correctly mapped some Tor .onion addresses in the Torrc . I don't mind connecting to only .onion address or external IPs

I will happily list my .onion address when its configured properly.

Thanks.
1715505205
Hero Member
*
Offline Offline

Posts: 1715505205

View Profile Personal Message (Offline)

Ignore
1715505205
Reply with quote  #2

1715505205
Report to moderator
1715505205
Hero Member
*
Offline Offline

Posts: 1715505205

View Profile Personal Message (Offline)

Ignore
1715505205
Reply with quote  #2

1715505205
Report to moderator
1715505205
Hero Member
*
Offline Offline

Posts: 1715505205

View Profile Personal Message (Offline)

Ignore
1715505205
Reply with quote  #2

1715505205
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715505205
Hero Member
*
Offline Offline

Posts: 1715505205

View Profile Personal Message (Offline)

Ignore
1715505205
Reply with quote  #2

1715505205
Report to moderator
1715505205
Hero Member
*
Offline Offline

Posts: 1715505205

View Profile Personal Message (Offline)

Ignore
1715505205
Reply with quote  #2

1715505205
Report to moderator
1715505205
Hero Member
*
Offline Offline

Posts: 1715505205

View Profile Personal Message (Offline)

Ignore
1715505205
Reply with quote  #2

1715505205
Report to moderator
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12983


View Profile
January 11, 2011, 12:52:58 PM
 #2

In bitcoin.conf:
noirc=1
maxconnections=10

"Maxconnections" only affects outgoing connections, however. You can't limit incoming connections currently.

Bitcoin.conf is in the same directory as wallet.dat. This is %APPDATA%\Bitcoin on Windows. Usually this expands to C:\Users\you\AppData\Roaming\Bitcoin.

You can also specify the options on the command-line like this:
http://img264.imageshack.us/img264/2526/85647303.png
http://img146.imageshack.us/img146/723/90684161.png
You would set:
"...bitcoin.exe" -noirc -maxconnections=10

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
xeronet (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0



View Profile WWW
January 11, 2011, 02:07:20 PM
 #3

Right that's simple enough then.

Eventually figured bitcoin.conf must be C:\Documents and Settings\YourUserName\Application data\BitCoin

Had started messing around with the daemon and was getting confused.


Not boot strapping IRC wont cause any connectivity issues then ?

"addr - Provide information on known nodes of the network. Non-advertised nodes should be forgotten after typically 3 hours"

For example; when using maxconnections=10 would I still need to specify a default addnode=192.0.2.X list ?


Thanks again
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12983


View Profile
January 12, 2011, 02:29:10 AM
 #4

Not boot strapping IRC wont cause any connectivity issues then ?

No. You'll connect to a seednode to get bootstrapped. Then you'll advertise your node with addr broadcasts.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
xeronet (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0



View Profile WWW
January 12, 2011, 02:58:44 PM
 #5

Thanks once more for your help theymos.

That's eliminated all error messages with Tor. Now have a stable set number of connections mostly within .onion land  Grin

Our Bitcoin node should be up 24/7 except for an occasional server restart.

Bitcoin only Tor .onion address: bxfna6fhddpzduck.onion


For more info. on xeronet please visit: https://xeronet.dyndns-ip.com/  (SSL Cert is Self Signed)
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


PGP OTC WOT: EB7FCE3D


View Profile
January 12, 2011, 05:03:46 PM
 #6

Bitcoin only Tor .onion address: bxfna6fhddpzduck.onion

you made it to the prepared Tor page in the bitcoin.it wiki
https://en.bitcoin.it/wiki/Tor
https://en.bitcoin.it/wiki/Tor#External_Tor_Hidden_Services

You can't build a reputation on what you are going to do.
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!