tor-dam

tor distributed announce mechanism (not a dht)
git clone https://git.parazyd.org/tor-dam
Log | Files | Refs | README | LICENSE

README.md (1054B)


      1 contrib
      2 =======
      3 
      4 Some files here could be helpful for you to find a usecase for tor-dam.
      5 
      6 ### `echo_send.py` and `echo_recv.py`
      7 
      8 These two Python programs can be seen as a reference echo client/server
      9 implementation for working over SOCKS5. With these, you can use some
     10 onion address and port created and opened by tor-dam.
     11 
     12 ```
     13 $ tor-dam -p "6969:6969" -d ./echo-dam
     14 $ sleep 1
     15 $ hostname="$(cat ./echo-dam/hs/hostname)"
     16 $ ./echo_recv.py -l 127.0.0.1 -p 6969 &
     17 $ ./echo_send.py -a "$hostname" -p 6969 -t "$torsocksport"
     18 ```
     19 
     20 N.B. You can find `$torsocksport` using `netstat(8)` or whatever
     21 similar too.
     22 
     23 
     24 ### `gource.go`
     25 
     26 This is a Golang implementation of a Redis pubsub client, and was used
     27 to create [network.gif](network.gif) that can be seen in this directory.
     28 The internal format used for publishing is:
     29 
     30 ```
     31 %s|%s|%s|%s
     32 ```
     33 
     34 which translates to:
     35 
     36 ```
     37 timestamp|onion_address|modification_type|onion_address
     38 ```
     39 
     40 ```
     41 $ redishost="127.0.0.1:35918" # You can find this in netstat
     42 $ go run gource.go -r "$redishost" | gource --log-format custom -
     43 ```