tordam

A library for peer discovery inside the Tor network
git clone https://git.parazyd.org/tordam
Log | Files | Refs | README | LICENSE

commit 625b81777d0403bc36ebada9ecafd04071aef6f3
parent 43142fdce9dc92158eddc8a11c92fd31ff74d329
Author: parazyd <parazyd@dyne.org>
Date:   Mon, 11 Jan 2021 16:15:55 +0100

Update readme with usage.

Diffstat:
MREADME.md | 20++++++++++++++++++++
1 file changed, 20 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -14,6 +14,26 @@ Installation go get github.com/parazyd/tor-dam ``` +Usage +----- + +``` +Usage of ./tor-dam: + -d string + Working directory (default "/home/parazyd/.dam") + -e int + Node expiry time in minutes (0=unlimited) + -g (Re)generate keys and exit + -i int + Announce interval (in minutes) (default 5) + -n Don't fetch remote entrypoints + -p string + Map of ports forwarded to/from Tor (default "13010:13010,13011:13011,5000:5000") + -r string + Remote list of entrypoints (comma-separated) (default "https://parazyd.org/pub/tmp/tor-dam-dirs.txt") + -t Trust all new nodes automatically +``` + Protocol --------