Bitcoin Forum
April 26, 2024, 11:30:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: More info than just "bitcoind getconnectioncount"  (Read 1014 times)
Red Emerald (OP)
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
December 27, 2011, 02:40:48 AM
 #1

I am trying to setup a tor hidden service for bitcoin and am having a difficult time getting it to actually work.  It would be helpful if I could see the clients connected to me instead of just the number of clients connected to me. Is this possible?

I don't mind having to modify some code and rebuilding the client, but my C is rusty and some tips on where to start would be great if this is what I need to do.

Sadly, I'm pretty certain that bitcoin does not play nice as a tor hidden service since I'm pretty sure bitcoin wants IPs and tor doesn't give it any.  As laws stand now, there isn't really any reason to hide that you are running a node but now just I want to know why tor hidden services don't work properly.

If anyone runs bitcoin through a tor proxy and has the hidden services working, please let me know.

1714174224
Hero Member
*
Offline Offline

Posts: 1714174224

View Profile Personal Message (Offline)

Ignore
1714174224
Reply with quote  #2

1714174224
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714174224
Hero Member
*
Offline Offline

Posts: 1714174224

View Profile Personal Message (Offline)

Ignore
1714174224
Reply with quote  #2

1714174224
Report to moderator
1714174224
Hero Member
*
Offline Offline

Posts: 1714174224

View Profile Personal Message (Offline)

Ignore
1714174224
Reply with quote  #2

1714174224
Report to moderator
genjix
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
December 27, 2011, 03:05:28 AM
 #2

Wouldn't work without modifying the protocol and sourcecode.
Red Emerald (OP)
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
December 27, 2011, 05:08:21 AM
 #3

Wouldn't work without modifying the protocol and sourcecode.
What would have to change in the protocol? I just want to see the IPs that bitcoin is talking to.

blueadept
Full Member
***
Offline Offline

Activity: 225
Merit: 101


View Profile
December 27, 2011, 02:54:54 PM
 #4

I just want to see the IPs that bitcoin is talking to.

Look up the `netstat` command.  You can use a (platform-dependent) switch to see which connections are associated with which processes.

Like my posts?  Connect with me on LinkedIn and endorse my "Bitcoin" skill.
Decentralized, instant off-chain payments.
Red Emerald (OP)
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
December 27, 2011, 06:31:57 PM
 #5

I just want to see the IPs that bitcoin is talking to.

Look up the `netstat` command.  You can use a (platform-dependent) switch to see which connections are associated with which processes.
Good idea.  I'll play around with that.

I did get my tor relay working last night, though! It did have to do with bitcoin being to dumb to use the remote DNS.  I've updated the wiki to explain how to properly do it.

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!