Seeking to get a .txt output file of all paths, including all IP hops, between all nodes in the Tor network of @9,000 IPs.
Seeking to use BGP Routeviews datasets to create estimated paths with all hops (IPs).
If Routeviews does not have IP-to-IP path info, then AS-to_IP path info will have to do.
1) provide script to read any recent BGP Routeviews (binary .RIB files) http://www.routeviews.org/
Delivarable: 1 script and 1 .rib output file in readable form, ie.e .txt
2) Using an input file of IPs and/or ASes for @ 5000 Tor relays,
Use .rib file data to lookup all hops on the resulting (shortest, presumably, but whatever) path between all relays.
Return a .txt file of all hops on all paths
for example, if the first IP in the file is 188.8.131.52 and the rest are 184.108.40.206, 220.127.116.11,...18.104.22.168
find the AS that 22.214.171.124 is in, using geoiplookup for example, say it is AS1
then use any starting point in AS1 and run through all destination IPs in the file and save the output of all hops, i.e.
From: 126.96.36.199 or x.x.x.x in AS1
Paths: x.x.x.x, y.y.y.y, z.z.z.z, 188.8.131.52
From: 184.108.40.206 or s.s.s.s in AS that 220.127.116.11 is in
Use any BGP Routeviews starting point that is in the AS that the requested IP is in and
generate or find a path to each IP in the file