The number of Autonomous systems between the two IP addresses

0 like 0 dislike
3 views
How to calculate (or assume) the minimum number of Autonomous systems between the two IP addresses in Linux or with any library and fullview BGP table (or RIPN)? Need for p2p systems, in which naprashivaetsa feast is searched for the closest neighbor of Roy of the network based on the topology of the Internet. Peers from the same Autonomous system must have the lowest value of this metric.
by | 3 views

2 Answers

0 like 0 dislike
The only reliable tool to do traceroute between them. Or ping who responded faster, the closer. Or measure the time between SYN and SYN ACK. In General, to conduct some sort of measurement.
\r
The Internet is a decentralized thing... you Can find a list of prefixes for each AS, but information about the current topology will be obtained only through a looking glass s and is not suitable for p2p systems. And information that are relevant now may be irrelevant in a couple of minutes, when the provider wants to change the route policy. Well, to make a customer tossing full view — in my opinion overkill.
by
0 like 0 dislike
The astraceroute + aslookup.
by

Related questions

0 like 0 dislike
3 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
32,782 users