Giter Club home page Giter Club logo

traceroute-mapper's Introduction

traceroute-mapper

Run it from your terminal:

Linux

Put this in your .bashrc:

function traceroute-mapper {
  xdg-open "https://stefansundin.github.io/traceroute-mapper/?trace=$(traceroute -q1 $* | sed ':a;N;$!ba;s/\n/%0A/g')"
}

Then simply run: traceroute-mapper example.com

Mac

Put this in your .bash_profile:

function traceroute-mapper {
  open "https://stefansundin.github.io/traceroute-mapper/?trace=$(traceroute -q1 $*)"
}

Then simply run: traceroute-mapper example.com

Windows

Put traceroute-mapper.bat in your %PATH% (e.g. C:\Windows\).

Then open cmd and run: traceroute-mapper example.com

traceroute-mapper's People

Contributors

stefansundin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

traceroute-mapper's Issues

weird map due to bad ip parse

When doing a traceroute i get this:

traceroute to www.warthunder.com (52.30.149.21), 30 hops max, 60 byte packets
 1  router (10.42.42.253)  0.567 ms  0.736 ms  0.933 ms
 2  * * *
 3  107.41.30.213.rev.vodafone.pt (213.30.41.107)  11.433 ms  11.723 ms  11.591 ms
 4  ae5-100-ucr1.lis.cw.net (195.10.57.9)  11.416 ms  11.518 ms  13.591 ms
 5  ae5-xcr1.mal.cw.net (195.2.30.230)  18.975 ms  19.387 ms  19.109 ms
 6  ae1-xcr1.max.cw.net (195.2.30.85)  20.417 ms  19.697 ms  20.914 ms
 7  52.95.218.98 (52.95.218.98)  19.701 ms  17.287 ms  17.821 ms
 8  52.93.17.134 (52.93.17.134)  61.401 ms  61.396 ms 52.93.17.38 (52.93.17.38)  51.489 ms
 9  52.93.17.147 (52.93.17.147)  49.459 ms 52.93.17.83 (52.93.17.83)  48.548 ms 52.93.17.35 (52.93.17.35)  49.304 ms
10  54.239.43.253 (54.239.43.253)  50.067 ms  49.033 ms  51.079 ms
11  54.239.42.162 (54.239.42.162)  50.727 ms  49.966 ms  50.069 ms
12  176.32.106.226 (176.32.106.226)  50.522 ms  50.600 ms  51.590 ms
13  52.93.7.34 (52.93.7.34)  90.372 ms 52.93.7.30 (52.93.7.30)  83.897 ms 52.93.7.4 (52.93.7.4)  59.151 ms
14  52.93.7.123 (52.93.7.123)  49.549 ms 52.93.7.113 (52.93.7.113)  50.698 ms 52.93.7.121 (52.93.7.121)  50.180 ms
15  178.236.1.19 (178.236.1.19)  49.852 ms 178.236.0.125 (178.236.0.125)  51.325 ms  50.956 ms
16  * * *
17  * * *
18  * * *

but the map is weird, it grabs the hop3 as 107.41.30.213 (ie: reverses the IP) , but the next , hop 4 it grabs 195.10.57.9 (not reversed IP)

Error: Invalid Token

When using the .bashrc function you provide to plot traceroute-mapper google.ch the message "Error: Invalid Token" is returned. Any ideas why ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.