pytraceroute is a simple traceroute(8) implementation written in Python.
Its purpose is mainly educational, rather than something feature-rich as is traceroute(8) for example.
- Python 2.7.x or 3.x
- docopt
Clone the Git repository and install:
$ git clone https://github.com/pytraceroute
$ cd pytraceroute && python setup.py installOr via pip:
$ pip install pytraceroutepytraceroute requires root permissions due to the use of raw (socket.SOCK_RAW) sockets.
Example usage:
$ sudo py-traceroute google.compytraceroute is hosted on Github. Please contribute by reporting issues, suggesting features or by sending patches using pull requests.
Probably. If you experience a bug issue, please report it to the pytraceroute issue tracker on Github.