On 7/29/19 07:44, clive.jenson@tutanota.com wrote:
I built tor from source and am running it as a relay (not exit node) and also as a directory server. It is my understanding that after a while I should experience V2 hidden services publishing their descriptors to me (each hidden service picks 6 directory servers at random to publish their descriptor to). How can I tell if this is happening? Can I (temporarily, for debugging purposes) view the descriptors being published to me?
I'm thinking their might be some useful logging if I enable debug logs (but I can't find it)? Or maybe there is something I can get over the control protocol (but I couldn't find anything obvious in the stem API docs that exposes it)? Or maybe I could make a code change to log this information (I'm not sure where the code is that receives the announcements)?
Onion services will use your relay to store descriptors once it has the HSDir flag. You can't determine which onion services or how many onion services are using you without code changes.
Doing this is considered being a malicious relay and will get your relay removed from the Tor network.
Matt