Convert json traceroute output to normal traceroutes.
Hi, Because I'm a little more used to reading regular traceroute output instead of JSON files, I created a little python script to convert the ATLAS traceroute output to readable traceroutes. Comments are always welcome ofcourse. The whois information is gathered from Cymru using: https://github.com/JustinAzoff/python-cymruwhois -- Met vriendelijke groet / Best regards, Jan Hugo Prins Infra consultant E: jprins@betterbe.com T: +31-53-4800694 M: +31-6-26358951 S: jhaprins W: www.betterbe.com
On Tue, Oct 09, 2012 at 09:17:54PM +0200, Jan Hugo Prins <jprins@betterbe.com> wrote a message of 111 lines which said:
Because I'm a little more used to reading regular traceroute output instead of JSON files,
It would be better if Atlas used the standard structured format for traceroute output, RFC 5388.
On 10.10.2012, at 9:46 , Stephane Bortzmeyer wrote:
On Tue, Oct 09, 2012 at 09:17:54PM +0200, Jan Hugo Prins <jprins@betterbe.com> wrote a message of 111 lines which said:
Because I'm a little more used to reading regular traceroute output instead of JSON files,
It would be better if Atlas used the standard structured format for traceroute output, RFC 5388.
Stephane, my experts tell me that the the size of RFC5388 output would be several times that of the json we generate while the json can be easily translated into the XML. So it appears to me that a script that turns the json into the XML would be proper engineering here. If there are many people wanting RFC5388 output we will put it on the to-do list. Daniel
Thank you, that is very useful. Maybe, with your permission, it can be one of the first things to go into a github page we are going to set up for RIPE Atlas tools? Daniel On 09.10.2012, at 21:17 , Jan Hugo Prins wrote:
Hi,
Because I'm a little more used to reading regular traceroute output instead of JSON files, I created a little python script to convert the ATLAS traceroute output to readable traceroutes.
Comments are always welcome ofcourse.
The whois information is gathered from Cymru using: https://github.com/JustinAzoff/python-cymruwhois
-- Met vriendelijke groet / Best regards,
Jan Hugo Prins Infra consultant
E: jprins@betterbe.com T: +31-53-4800694 M: +31-6-26358951 S: jhaprins W: www.betterbe.com <json2traceroute.py>
Be my guest. Always good to share code. Jan Hugo On 10/10/2012 11:43 AM, Daniel Karrenberg wrote:
Thank you, that is very useful. Maybe, with your permission, it can be one of the first things to go into a github page we are going to set up for RIPE Atlas tools?
Daniel
On 09.10.2012, at 21:17 , Jan Hugo Prins wrote:
Hi,
Because I'm a little more used to reading regular traceroute output instead of JSON files, I created a little python script to convert the ATLAS traceroute output to readable traceroutes.
Comments are always welcome ofcourse.
The whois information is gathered from Cymru using: https://github.com/JustinAzoff/python-cymruwhois
-- Met vriendelijke groet / Best regards,
Jan Hugo Prins Infra consultant
E: jprins@betterbe.com T: +31-53-4800694 M: +31-6-26358951 S: jhaprins W: www.betterbe.com <json2traceroute.py>
-- Met vriendelijke groet / Best regards, Jan Hugo Prins Infra consultant E: jprins@betterbe.com T: +31-53-4800694 M: +31-6-26358951 S: jhaprins W: www.betterbe.com
Thank you, we've started a page to collect this kind of contributions: https://atlas.ripe.net/doc/code We'll soon start organising such tools on github (most likely). Regards, Robert On 2012.10.10. 12:48, Jan Hugo Prins wrote:
Be my guest. Always good to share code.
Jan Hugo
On 10/10/2012 11:43 AM, Daniel Karrenberg wrote:
Thank you, that is very useful. Maybe, with your permission, it can be one of the first things to go into a github page we are going to set up for RIPE Atlas tools?
Daniel
participants (4)
-
Daniel Karrenberg
-
Jan Hugo Prins
-
Robert Kisteleki
-
Stephane Bortzmeyer