https://github.com/unkaktus/avant
simple and fast onion balancing (a la onionbalance)
https://github.com/unkaktus/avant
descriptor load-balancer onion-service tor upload-descriptors
Last synced: 6 months ago
JSON representation
simple and fast onion balancing (a la onionbalance)
- Host: GitHub
- URL: https://github.com/unkaktus/avant
- Owner: unkaktus
- License: cc0-1.0
- Created: 2016-07-19T17:19:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-19T19:29:35.000Z (almost 8 years ago)
- Last Synced: 2023-10-31T04:18:29.037Z (almost 2 years ago)
- Topics: descriptor, load-balancer, onion-service, tor, upload-descriptors
- Language: Go
- Homepage:
- Size: 21.5 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
avant
=====
Simple and fast onion balancing.
`avant`
fetches descriptors for all backend onions, then
takes all the introduction points from them, then
reassembles these introduction points into new descriptors, then
signs the descriptors with frontend onion key, then
publishes them to HSDir.
So it goes.
Install
-------
```
$ go get -u github.com/nogoegst/avant/cmd/...
```
Usage
-----
Generate a private key:
```
$ openssl genrsa -out key.pem 1024
```
Steal all intropoints from Facebook:
```
$ avant -keyfile=key.pem facebookcorewwwi
```
Now your onion service is alive.
`avant` is capabale of creating distinct descriptors (`-distinct-descs` flag)
in order to fit up to 6x10=60 introduction points per onion service.
`avant` can upload a set of descriptors with specified replica:
`-replica-mask 010101` - upload descriptors only with replica={1,3,5}
`-replica-mask 000000` - upload descriptors only with replica={}, i.e. nothing.
Remarks
-------
`avant` avants only once. If you want to do it regulary, there is
`cron` for that. Consult `rend-spec.txt` about the upload intervals.