Giter Site home page Giter Site logo

traceroute-maps's Introduction

traceroute-maps

This project obtains a list of IP addresses along a route using traceroute. Then, a name resolver retrieves the domain information based on the list of IP addresses. Usually, the resolved domain information will include location as either an address and/or latitude longitude. The retrieved latitude and longitude is plotted on a map, which visually represents the physical route used to reach a ip address or domain name.

Below shows an example of the produced map. Note, the first few locations are redacted for privacy.

MapExample

Further Suggested Changes

Currently, this tool uses ipapi to retrieve the domain information. The ipapi website has a paid and free version. The free version, which is used by this tool, will lock access after a relatively small number of retreival requests. The website then will prevent the ip address, or MAC address, from retreiving whois results for a short while. Attempts to use the tool during this time will not produce a result, as the tool breaks. Future iterations of this tool should instead directly query available Whois servers to get the domain information, or go through a public website such as icann.org. The websites or whois servers may not produce quite as friendly of a format as ipapi, so this will require extra engineering.

Summary:

  • Change how the tool retreives whois data
  • Also could display more data on each ip address, as more information is available from the whois query

Installation

pip install -r requirements.txt

Run

python main.py [ip/hostname/domain]

traceroute-maps's People

Contributors

travismunyer avatar febimudiyanto avatar

Stargazers

Greg Hoff avatar

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.