8000 GitHub - rosy-sanby/afrinren
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rosy-sanby/afrinren

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

11 September 2015
Roslyn Sanby, SNBROS001
Honours Project - AfriNREN
Folder: /home/s/snbros001/Documents/Me/AFRINREN/snbros001

References:
https://github.com/USC-NSL/ripe-atlas

******650 measurements times 3 protocols gives 1950 measurements but only 1625 made - need to actually output the ones that aren't gonna get their dest addr changed*********************

1. cd atlas
   python fetch_active.py tab true > active_probes.txt                          #Get all active probes

2. cd ../awk                                                                    #Filter down to source/destination information for each traceroute measurement
   (awk -f get_africa_probes.awk ../atlas/active_probes.txt > ../data/africa_probes.txt)     #Get all African active probes:
   awk -f get_unique_probes.awk ../atlas/active_probes.txt > ../data/africa_probes.txt
   awk -f get_my_probes_plain.awk ../data/africa_probes.txt > ../data/my_probes.txt                   #Get two probes from each asn:
   awk -f get_target_probe_list.awk ../data/my_probes.txt ../data/address_african > ../data/target_and_probes.txt 

3. cd ../atlas                                                                  #Conduct traceroutes:
   python atlas_traceroute.py -d '<Some description here>' -k '../data/api_key_1' --stop-time '1442863800' -p 'UDP' --paris 16 target_and_probes.txt measure_ids.txt.
       atlas_traceroute.py [-h] [-d DESCRIPTION] [-k KEY_FILE] [-r] [--ipv6]
                           [--repeats REPEATS] [--private]
                           [--start-time START_TIME] [--stop-time STOP_TIME]
                           [-p PROTOCOL] [--dont-frag] [--paris PARIS]
                           [--timeout TIMEOUT] [--npackets NPACKETS]
                           target_list meas_id_output

python atlas_traceroute.py -d 'Last batch UDP and Paris 16' -k '../data/api_key_1' --repeats '300' --stop_time='1442866500' -p 'UDP' --paris '16' ../data/new_target_and_probes.txt measure_ids_7.txt

python run_traceroutes.py measurements/ UDP/TCP/ICMP
       
4. python atlas_status.py measure_ids.txt                                       #Check status to see if done

5. cd ..
   python fetch_results.py atlas/measure_ids.txt                                #Get measurement json files
            
6. python aggregate_results.py results                                          #Aggregate results
   python add_in_coords.py results                                              #to output a new json file with average rtt per hop and coords in folder json


results/ -> raw results files
results/NEW -> aggregated hop info
results/hop_ips -> ip addresses for each hop
results/hop_coords -> coord info for each ip address
results/json -> results files with aggregated hop info, some fields removed and coords and country info added
results/json/joined -> the best out of the above results

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0