Author

Topic: Bitcoin peer IP addresses (Read 170 times)

legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
May 17, 2022, 12:06:38 AM
#9
Since the output from getpeerinfo is accurate and not polluted with loopback addresses, Bitnodes should run a bunch of these surrogate nodes and merely harvest the peer information that continuously comes out of them - maybe it can disconnect from the peers after it records them, so that continuous lists of peers are obtained (also peers request from other peers their own lists, so this has a knock-on effect).
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
May 16, 2022, 09:17:06 PM
#8
I'd also like to add that Bitnodes doesn't list Tor nodes at all; therefore as dkbit98 pointed out, when Bitnodes show ~15,000 nodes, it's probably 3x or higher in reality.
They do: https://bitnodes.io/nodes/?q=Tor%20network. People running Tor node might not want incoming connections so that might have a lower percentage on Bitnodes as compared to the clearnet. However, those that allows incoming connections are still indexed.
hero member
Activity: 882
Merit: 5834
not your keys, not your coins!
May 16, 2022, 06:41:23 PM
#7
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.
Both localhost and 127.0.0.1 point to the local network.
Actually they point to the local machine. It's the loopback address: https://en.wikipedia.org/wiki/Loopback_address

I'd also like to add that Bitnodes doesn't list Tor nodes at all; therefore as dkbit98 pointed out, when Bitnodes show ~15,000 nodes, it's probably 3x or higher in reality.
legendary
Activity: 2212
Merit: 7064
May 16, 2022, 08:42:52 AM
#6
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.
It's hard to find reliable source of information for bitcoin nodes, and Bitnodes is certainly not totally accurate, especially when you compare it with Luke Dashjr charts that are showing much more available bitcoin nodes.
Historical chart is showing that number of nodes is around 50k, and there is one interesting pie chart showing Taproot nodes is more than 67% currently:
https://luke.dashjr.org/programs/bitcoin/files/charts/historical.html
https://luke.dashjr.org/programs/bitcoin/files/charts/taproot.html
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
May 16, 2022, 06:27:10 AM
#5
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.
Both localhost and 127.0.0.1 point to the local network machine.
newbie
Activity: 17
Merit: 17
May 16, 2022, 06:19:22 AM
#4
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.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
May 16, 2022, 05:16:03 AM
#3
Just a note: Bitnodes shows the number reachable nodes on their main page, which means those that allow incoming connections. They have a page for all the nodes (outgoing and incoming).

So, back to your topic. Due to decentralization, it's possible for few nodes to not be crawled by bitnodes, but can you point out which one allows incoming connections and isn't shown there?

Additionally, some peers have the addrlocal field set to 127.0.0.1, while most have my IP address. Any reason why?
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.
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
May 16, 2022, 05:15:34 AM
#2
The list of IPs in the bitnodes site is not exhaustive. Bitnodes cannot crawl and index all of the nodes that are running Bitcoin clients because there are so many and certain nodes might explicitly block their crawlers or just not accept incoming connections. As such, it is perfectly normal to see nodes that were not indexed on the site.

Addrlocal contains your IP and the port as seen by your peer. It can be any arbitrary values because it isn't strictly enforced and certain nodes have it set at 127.0.0.1. If you're interested, the IP address is communicated with the version message in the addr_recv.
newbie
Activity: 17
Merit: 17
May 16, 2022, 04:43:59 AM
#1
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?
Jump to: