Leekspin (á la the original internet masterpiece ) is a small tool 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 the Tor directory authorities, the bridge authority, and Tor clients connecting to the network.
This library is meant to be used to generate mock descriptors for testing other Tor libraries and programs, such as Stem and BridgeDB .
The keys, hash digests, and signatures generated within these mock descriptors are meant to be indistinguishable from those generated by real relays and bridges within the Tor network.
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… leekspin. To use it to generate 20 bridge descriptors, do:
$ leekspin -n 20
And to generate 20 relay descriptors:
$ leekspin -r -n 20
Bugs
Should you decide to use this tool, and especially should you be so insane and to try hacking on it, you will likely find bugs. You may find bugs in Leekspin, BridgeDB, Stem, Tor’s specifications , and possibly even in Tor. Please, for math’s sake! Report them! The Tor developers will love you forever. You can report bugs here on our issue tracker .
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file leekspin-1.1.4.tar.gz.
File metadata
- Download URL: leekspin-1.1.4.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64ca769c8e3c8784c9bd5859d127a35d83489ac24518037777bb51d85e075036
|
|
| MD5 |
1518ca334a2f89fdee3e2d07fa923901
|
|
| BLAKE2b-256 |
76d7a6e59e764efa8575eadc2276ad4a006fdbcea6ddc260dea9989df97dfe40
|
File details
Details for the file leekspin-1.1.4-py2.7.egg.
File metadata
- Download URL: leekspin-1.1.4-py2.7.egg
- Upload date:
- Size: 64.5 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49d0ceb602171f71c61fec8d7d12c997a37c2a50433292a5938ec13e452af952
|
|
| MD5 |
deb71ca4b089c2f4e97990e0f3cd48e1
|
|
| BLAKE2b-256 |
b5d0689d191d0f1dad91b2f8324e7e7479f02bfbb4ec419a63d68e2ca943a443
|