A simple traceroute(8) implementation in Python
Switch branches/tags
Nothing to show
Clone or download
dnaeon Merge pull request #1 from Witee/master
add timeout and bug fix
Latest commit 641fc6c Nov 29, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src add timer Nov 29, 2016
.gitignore Initial commit of pytraceroute Jun 24, 2015
README.rst Initial commit of pytraceroute Jun 24, 2015
setup.py Initial commit of pytraceroute Jun 24, 2015

README.rst

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.

Requirements

  • Python 2.7.x or 3.x
  • docopt

Installation

Clone the Git repository and install:

$ git clone https://github.com/pytraceroute
$ cd pytraceroute && python setup.py install

Or via pip:

$ pip install pytraceroute

Usage

pytraceroute requires root permissions due to the use of raw (socket.SOCK_RAW) sockets.

Example usage:

$ sudo py-traceroute google.com

Contributions

pytraceroute is hosted on Github. Please contribute by reporting issues, suggesting features or by sending patches using pull requests.

Bugs

Probably. If you experience a bug issue, please report it to the pytraceroute issue tracker on Github.