Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: vinshet on May 04, 2022, 04:24:36 PM



Title: Incoming connections on a bitcoin node running TOR
Post by: vinshet on May 04, 2022, 04:24:36 PM
I am running a pruned bitcoin node that is running onlynet = onion.
Using the bitcoin-cli I get the list of IP addresses for incoming connections and I can see that there are ipv4 addresses in there. How does that really work? I'm guessing it is a 6 hop circuit because my bitcoin node is a hidden service. If that is the case, then the ipv4 address should not be visible.

I'm sure there is a gap in my understanding for incoming connections and I would really appreciate it if someone could clarify it.



Title: Re: Incoming connections on a bitcoin node running TOR
Post by: BlackHatCoiner on May 04, 2022, 04:38:51 PM
If you want to listen only to onion incoming connections, then perhaps you should set listenonion=1 to bitcoin.conf (along with onlynet=onion). I'm not sure what's the problem, but I've set this to my node and I'm completely isolated from ipv4.


Title: Re: Incoming connections on a bitcoin node running TOR
Post by: AdolfinWolf on May 04, 2022, 07:50:52 PM
Does this (https://bitcointalk.org/index.php?topic=5357339.msg57823312#msg57823312) thread answer your questions?


Title: Re: Incoming connections on a bitcoin node running TOR
Post by: vinshet on May 05, 2022, 08:32:35 AM
Thank you for your replies. This sure does help my understanding of connections for my tor node.