A simple Python traceroute(8) implementation
pytraceroute - A simple traceroute(8) implementation in Python
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
Clone the Git repository and install:
$ git clone https://github.com/pytraceroute $ cd pytraceroute && python setup.py install
Or via pip:
$ pip install pytraceroute
pytraceroute requires root permissions due to the use of raw (socket.SOCK_RAW) sockets.
$ sudo py-traceroute google.com
pytraceroute 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.