Subj : Re: Nodes location. Funny statistics.
To   : Dmitry Protasoff
From : Wilfred van Velzen
Date : Fri Aug 01 2025 01:40 pm

Hi Dmitry,

On 2025-08-01 00:21:44, you wrote to me:

WV>> That looks like the whois information. That's not a reliable way to
WV>> find out what country an IP address belongs to. You should use
WV>> geoiplookup.

DP> Which service, exactly? I've used ip-api.com, but most of those services rely
DP> on whois information whenever available. Give me the website of any service
DP> with a free API and I'll use it if you think it's more accurate.

On Linux there is the GeoIP library you could use.

At https://www.ipdeny.com/ipblocks/ you can download files that list ip ranges for all countries. But you will have to write your own code around it to get a country from an IP address.

WV>> 23+3=26. Still a lot more then the 12 that are in the nodelist!?

DP> Sure, because many data centers are located in the Netherlands and those nodes
DP> are hosted there.

Maybe...

WV>> Can you list the nodes your software finds located in the
WV>> Netherlands?

DP> What for?

So I can check what countries are found with geoiplookup for IP's of nodes that are not in R28. To satisfy my curiosity about the mismatch. ;-)

Bye, Wilfred.

--- FMail-lnx64 2.3.2.4-B20240523
* Origin: FMail development HQ (2:280/464)