Search content
Sort by

Showing 18 of 18 results by vinshet
Post
Topic
Board Development & Technical Discussion
Topic OP
.onion address bucket assignment
by
vinshet
on 25/08/2022, 17:08:08 UTC
I understand that the AS information plays a part in how addresses are populated in the new table for IPv4/IPv6 addresses, but how does it work for .onion addresses?

I understand the address assignment for IPv4/IPv6 via (https://github.com/bitcoin/bitcoin/blob/505ba3966562b10d6dd4162f3216a120c73a4edb/src/addrman.h#L57) but the process for .onion address is not clear to me. The only thing I know is that the group for the .onion address is the first 4 bytes of the address(without the .onion)
Post
Topic
Board Development & Technical Discussion
Topic OP
Multiple hidden services on 1 bitcoin node
by
vinshet
on 18/07/2022, 14:14:31 UTC
Hi,

Does anyone know if we can run multiple hidden services on 1 bitcoin node? I am planning to set up a bitcoin node with 10's of hidden services.
I know that I would manually have to create them, but I am not clear on the port situation for these services.


Post
Topic
Board Development & Technical Discussion
Onion address in the tried and new buckets
by
vinshet
on 08/07/2022, 13:16:25 UTC
Hi,

I am aware that the IP address has a group which is the /16 address, but what is the group that is assigned to onion addresses?

For more details on this topic, please refer to https://eprint.iacr.org/2015/263.pdf page 4.


Post
Topic
Board Development & Technical Discussion
Re: Connecting from an IP node to a TOR node
by
vinshet
on 26/05/2022, 07:40:30 UTC
I wanted to get details on the contents of the addr messages from a IP node to a TOR node and vice versa. I was able to connect by installing tor and then restarting bitcoin core. It automatically creates a hidden service for me without having to change the config file.
Post
Topic
Board Development & Technical Discussion
Topic OP
Connecting from an IP node to a TOR node
by
vinshet
on 25/05/2022, 12:41:53 UTC
Hi,
I am running a pruned IP node and a pruned TOR node. How do I connect to the TOR node from the IP node?
Post
Topic
Board Development & Technical Discussion
Re: Bitcoin peer IP addresses
by
vinshet
on 16/05/2022, 11:19:22 UTC
The addrlocal should be a local IP, according to bitcoindeveloper, so it's reasonable to be 127.0.0.1. This is yours locally, and same is to everybody else.

Thing is, for some connections it is the IP address of my machine, whereas for others it is the localhost. Just curious to find out what the differences could be.
Post
Topic
Board Development & Technical Discussion
Re: Bitcoin node over TOR
by
vinshet
on 16/05/2022, 11:07:12 UTC

It's weird that you have both IPv4 and Tor connections. Do the IPv4 allow incoming connections? Try setting listen=0.

Quote
Error: Cannot set -listen=0 together with -listenonion=1
Post
Topic
Board Development & Technical Discussion
Merits 10 from 4 users
Topic OP
Bitcoin node over TOR
by
vinshet
on 16/05/2022, 10:13:08 UTC
⭐ Merited by BlackHatCoiner (4) ,o_e_l_e_o (4) ,ETFbitcoin (1) ,dkbit98 (1)
I set up my bitcoin node to run over tor with the following in the config file
# Core
conf=<some_path>/.bitcoin/bitcoin.conf
server=1
daemon=1
prune=23552
maxconnections=1000

# TOR
proxy=127.0.0.1:9050
listenonion=1
listen=1
onlynet=onion

#RPC
rpcuser=username
rpcpassword=password

Question 1 :
I see some inbound connections that have IPv4 addresses. These IPv4 addresses do not show up on bitnodes, so I am a bit curious as to what these addresses are.

Question 2:
Is my node running both on IP and TOR?

Question 3:
If I understand correctly when running a node on TOR, DNS seeders are not utilized and it defaults to the harcoded list of .onion addresses. My first outbound peer was not in the list of addresses in the file. Where could this have come from?

Question 4:
I have what is the difference between onion and not_publicly_routable  in the network fields ?
Post
Topic
Board Development & Technical Discussion
Topic OP
Bitcoin peer IP addresses
by
vinshet
on 16/05/2022, 09:43:59 UTC
I was of the idea that the information from bitnodes is reliable. But that changed when I looked closely into the information I get from running my node.
There are IP addresses in the addr field for outbound connections appear in the list of nodes they crawl every 6 min, but there are IP addresses in the addr field of inbound connections that do not appear on bitnodes. Does anyone have an idea what these entities are? (if they are not nodes?)

Additionally, some peers have the addrlocal field set to 127.0.0.1, while most have my IP address. Any reason why?
Post
Topic
Board Development & Technical Discussion
Re: Run bitcoin node over IP and tor from bitcoin node over tor.
by
vinshet
on 13/05/2022, 07:37:26 UTC
So what would the configuration look like if I want to run the bitcoin node over clearnet and on TOR?
Post
Topic
Board Development & Technical Discussion
Re: Run bitcoin node over IP and tor from bitcoin node over tor.
by
vinshet
on 12/05/2022, 17:23:16 UTC
So basically, if a machine runs TOR and bitcoind at the same time, without me making any configurations to the .conf file, it will by default be on the TOR network?
So is my node a combination of IP and TOR? Under what circumstance would someone opt for this?
Post
Topic
Board Development & Technical Discussion
Merits 4 from 2 users
Topic OP
Run bitcoin node over IP and tor from bitcoin node over tor.
by
vinshet
on 12/05/2022, 16:31:07 UTC
⭐ Merited by BlackHatCoiner (3) ,Welsh (1)
Hi,
My bitcoin.conf looks like this

# Core
conf=/root/.bitcoin/bitcoin.conf
server=1
daemon=1
prune=23552
maxconnections=1000

# TOR
#proxy=127.0.0.1:9050
#bind=127.0.0.1
#listen=1
#listenonion=1
#onlynet=onion
#dnsseed=0

#RPC
rpcuser=username
rpcpassword=password


from when I moved over from my node running over TOR.
Problem is, my node still has outgoing connections to .onion addresses and not to IP addresses. When I type bitcoin-cli -getinfo, the proxies field says 127.0.0.1(9050)
I have no idea how my node is functioning right now(IP or onion). Can anyone explain this behaviour?

Post
Topic
Board Development & Technical Discussion
Topic OP
Onion addresses for outgoing connections
by
vinshet
on 05/05/2022, 08:42:03 UTC
Hi,
I have a pruned BTC node running over TOR with onlynet= onion and upon startup this node has 10 outgoing connections all to onion addresses. Question is, where does the node get the onion addresses from?
I understand that there are DNS seeders for bitcoin, but do they return onion addresses if they detect that the requesting node is running bitcoin over tor?
Also, I know that there is a list of hardcoded onion addresses in bitcoin core and I have observed that at times, the first outgoing connection is not from that list of nodes. Anyone have any idea why?


Additionally, what do you think would be the merits/demerits of running a node on both TOR and IP?
I'm trying to cover all grounds because I am collecting information of the current topology of the network and would like to have a complete view of the network. Any suggestions would be really appreciated.
Post
Topic
Board Development & Technical Discussion
Re: Incoming connections on a bitcoin node running TOR
by
vinshet
on 05/05/2022, 08:32:35 UTC
Thank you for your replies. This sure does help my understanding of connections for my tor node.
Post
Topic
Board Development & Technical Discussion
Merits 3 from 2 users
Topic OP
Incoming connections on a bitcoin node running TOR
by
vinshet
on 04/05/2022, 16:24:36 UTC
⭐ Merited by Welsh (2) ,ETFbitcoin (1)
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.

Post
Topic
Board Bitcoin Technical Support
Re: Few incoming Connections in Tor Node
by
vinshet
on 13/04/2022, 10:42:41 UTC
Facing the same problem. Differences are that I am running a pruned node.
Were you able to move forward with the inbound connections?
Post
Topic
Board Development & Technical Discussion
Topic OP
Accessing new and tried tables
by
vinshet
on 05/04/2022, 17:59:58 UTC
Hi,

How would I go about accessing the new and tried tables in my bitcoin node?

Post
Topic
Board Development & Technical Discussion
Topic OP
Determining the source of a bitcoin transaction
by
vinshet
on 24/03/2022, 12:43:06 UTC
Hi all,

I am trying to figure out the source node of a propagated transaction in the bitcoin network. My approach is to set up multiple nodes and analyze the received transactions.
Additionally, I was curious on what I need to do to connect to a bitcoin node running tor(I'm guessing I have to configure the SOCKS5 proxy). After the TOR configuration can I just add a peer with their .onion address?
I am also planning to set the maximum connections to say 1000 per node. I was told this is a bad idea because it will slow down processing at my node if I don't have enough resources, but it seems like a good way to get transactions from multiple nodes.
Any ideas and opinions will be highly appreciated.