simple ascii iplane file parsing and AS lookup: Unix shell preferred else Python

simple ascii iplane file parsing and AS lookup: Unix shell preferred else Python

Closed - This job posting has been filled and work has been completed.

Job Description

Unix shell scripting preferred else Python
unix platforms only, no Win

install and use geoiplookup function

Deliverables:

$5 will be paid for each script-output delivered.

1) 8 scripts clearly labeled
2) results in .txt file
iplaneDestIPs.txt
iplaneTorIPmatch.txt
iplaneDestASes.txt
iplaneTorASmatch.txt
iplaneTorIPfullHops.txt
iplaneTorASfullHops.txt
iplaneTorIPfullHopsAS.txt
iplaneTorASfullHopsAS.txt


Parse this example iplaneRawSample.txt file of iplane internet path traceroutes from PlanetLab servers to thousands of IP destinations, tracing internet paths. Strip out of each row the destination IP. The DESTination IP appears at the beginning of every row. Return a list of destination IPs with filename iplaneDestIPs.txt

Then compare all rows in iplaneDestIPs.txt to a .txt file of Tor relay IPs to see which match and provide an output file called iplaneDestTorIPmatch.txt

Then use geoiplookup function for all rows in iplaneDestIPs.txt and add AS, AS name, country code and create output file called iplaneDestASes.txt. Compare to file called TorASes and return output file called iplaneTorASmatch.txt

Return to iplaneRawSample.txt file and select the full rows of tracrouted IP hops for all dest IPs that match Tor relays and return in a file called iplaneTorIPfullHops.txt.

Then return to iplaneRawSample.txt file and select the full rows of tracrouted IP hops for all dest IPs that match Tor relayASes and return in a file called iplaneTorASfullHops.txt.

For iplaneTorIPfullHops.txt and iplaneTorASfullHops.txt
run a geoIPlookup of all ASes and return iplaneTorIPfullHopsAS.txt and iplaneTorASfullHopsAS.txt

Open Attachment

Other open jobs by this client