skip to navigation
skip to content

Not Logged In

leekspin 0.0.3

An Onion Router descriptor generator

Latest Version: 0.1.3

Leekspin (á la the original internet masterpiece) is a small library for generating mocked Onion Router (OR) descriptors, such as those used by relays and bridges within Tor in order to convey information about said relay/bridge to directory authorities (DirAuths), the bridge authority (BridgeAuth), clients connecting to the network (a.k.a. Onion Proxies (OP)), etc.

This library is meant to be used to generate mock descriptors for testing other Tor libraries and programs, such as Stem and BridgeDB.

Installing

The very simplest way, if you use pip, would be to do:

$ pip install leekspin

Otherwise, the standard setuptools commands work just fine:

$ git clone https://github.com/isislovecruft/leekspin.git
$ cd leekspin
$ python setup.py install --record installed-files.txt

Running

Leekspin will install a script named generate-OR-descriptors. To use it to generate 20 descriptors, do:

$ generate-OR-descriptors -n 20

TODO

Currently, Leekspin only creates bridge descriptors such as these . Much of Leekspin should be refactored, with new classes created based on those used in Stem to create pretty data structures for each type of descriptor. After that, Leekspin's functionality should be extended to also be capable of creating relay descriptors.

 
File Type Py Version Uploaded on Size
leekspin-0.0.3-py2.7.egg (md5, pgp) Python Egg 2.7 2014-02-21 40KB
leekspin-0.0.3-py27-none-any.whl (md5, pgp) Python Wheel 2.7 2014-02-21 24KB
leekspin-0.0.3.tar.gz (md5, pgp) Source 2014-02-21 20KB
  • Downloads (All Versions):
  • 137 downloads in the last day
  • 740 downloads in the last week
  • 14827 downloads in the last month