Coder Social home page Coder Social logo

tracerouter's Introduction

TraceRouter

Installation

python3 -m pip install .

Examples

To trace route to resource just use tracerouter RESOURCE, e.g.:

  • tracerouter yandex.ru:
index   ip      as      country isp
1       192.168.0.1                     Not routed
2       213.242.203.70  3253    RU      SOVINTEL-EF-AS
3       195.58.0.46     3253    RU      SOVINTEL-EF-AS
4       87.254.133.197  3216    RU      SOVAM-AS
5       79.104.235.213                  Not routed
6       195.239.153.234 3216    RU      SOVAM-AS
7       Request timed out.
8       5.255.255.60    13238   RU      YANDEX
  • tracerouter 8.8.8.8:
index   ip      as      country isp
1       192.168.0.1                     Not routed
2       213.242.203.70  3253    RU      SOVINTEL-EF-AS
3       195.58.0.34     3253    RU      SOVINTEL-EF-AS
4       87.254.133.197  3216    RU      SOVAM-AS
5       79.104.225.13                   Not routed
6       81.211.29.103   3216    RU      SOVAM-AS
7       108.170.250.130 15169   US      GOOGLE - Google LLC
8       216.239.50.132  15169   US      GOOGLE - Google LLC
9       172.253.66.108  15169   US      GOOGLE - Google LLC
10      142.250.238.179 15169   US      GOOGLE - Google LLC
11      Request timed out.
12      Request timed out.
13      Request timed out.
14      Request timed out.
15      Request timed out.
16      Request timed out.
17      Request timed out.
18      Request timed out.
19      Request timed out.
20      8.8.8.8 3356    US      LEVEL3 - Level 3 Communications, Inc.

Full usage (tracerouter --help):

usage: tracerouter [-h] [-c CONFIG] [--db_path DB_PATH] --db_url DB_URL --db_expiration_seconds DB_EXPIRATION_SECONDS --tracert_command TRACERT_COMMAND --logging_level LOGGING_LEVEL resource

positional arguments:
  resource              IP or domain of the resource to traceroute to

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                        Config file path
  --db_path DB_PATH     Path to database TSV file
  --db_url DB_URL       Url of TSV file
  --db_expiration_seconds DB_EXPIRATION_SECONDS
                        How long before updating the DB
  --tracert_command TRACERT_COMMAND
                        TraceRT command or path
  --logging_level LOGGING_LEVEL
                        Logging level

tracerouter's People

Contributors

vbarbanyagra avatar

Watchers

 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.