An Onion Router descriptor generator
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.
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
Leekspin will install a script named generate-OR-descriptors. To use it to generate 20 descriptors, do:
$ generate-OR-descriptors -n 20
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.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|leekspin-0.0.4-py2.7.egg (56.8 kB) Copy SHA256 hash SHA256||Egg||2.7||Mar 17, 2014|
|leekspin-0.0.4-py27-none-any.whl (28.9 kB) Copy SHA256 hash SHA256||Wheel||2.7||Mar 17, 2014|
|leekspin-0.0.4.tar.gz (21.0 kB) Copy SHA256 hash SHA256||Source||None||Mar 17, 2014|