Skip to main content

A traceroute tool that also displays IP information

Project description

infotr

A traceroute tool that also displays IP information.

This tool has only been tested on Linux.

image

Quick Start

First, install this tool from PyPI.

pip install --user -U infotr

Since Scapy needs to open raw sockets, this tool requires Python to have the CAP_NET_RAW capability to run. You can also run this tool as root. Run the following commands to set/unset the CAP_NET_RAW capability for the Python binary. Remember to unset the capability when you're done.

# set the capability
sudo setcap cap_net_raw=+eip /usr/bin/python3.9

# remove the capability
sudo setcap cap_net_raw=-eip /usr/bin/python3.9

Finally, launch this tool via the infotr command.

infotr 1.1.1.1

Full Usages

You can also see the help messages with the -h/--help switch.

usage: infotr [-h] [-m MAX] [-t TIMEOUT] host

positional arguments:
  host                  destination hostname

optional arguments:
  -h, --help            show this help message and exit
  -m MAX, --max MAX     maximum number of hops (default: 30)
  -t TIMEOUT, --timeout TIMEOUT
                        ICMP timeout in seconds (default: 2)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

infotr-1.0.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

infotr-1.0.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file infotr-1.0.0.tar.gz.

File metadata

  • Download URL: infotr-1.0.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for infotr-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f87eb48bbe5eb245dd0d4ee4e4e23f409656d4398e2c1e20e3d878dedacc8810
MD5 794a63fed3012c6c9689052787448d0f
BLAKE2b-256 47ce1c65a9202354d1cd344123cce7611af97d83703437c1e1c63cac454ac8bb

See more details on using hashes here.

File details

Details for the file infotr-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: infotr-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for infotr-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e551f3b6e64f2ffa695d9dec5ed1e52ec5f86c6ce542eadfdf1c808388c2e595
MD5 e09221546a7144d326a4cec99f168139
BLAKE2b-256 d06c67579decd81367eb3c23c8b563ba8e43a5789f9048ab8a18a8ababcdb2a2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page