A traceroute tool that also displays IP information
infotr
A traceroute tool that also displays IP information.
This tool has only been tested on Linux.
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]