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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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