yesterday my exit node was running but not relaying. no data in and out but huge jump in incoming connections.
i restarted Tor as suggested in irc chat and that normalize everything but today repeated the problem but with a difference.
yesterday - connections established but not relaying
today - connections established and relaying.
but both occurrences drop from the consensus.
lot49
Trac: Username: Trystero
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Aug 07 00:44:40.914 [info] dirserv_orconn_tls_done(): Found router lot49 to be reachable. Yay.
Aug 07 01:06:00.721 [info] dirserv_orconn_tls_done(): Found router lot49 to be reachable. Yay.
Aug 07 01:18:40.696 [info] dirserv_add_descriptor(): Not replacing descriptor from 'lot49' (source: 69.163.34.69); differences are cosmetic.
Aug 07 01:27:21.478 [info] dirserv_orconn_tls_done(): Found router lot49 to be reachable. Yay.
Aug 07 01:48:51.213 [info] dirserv_orconn_tls_done(): Found router lot49 to be reachable. Yay.
Aug 07 02:09:30.515 [info] dirserv_add_descriptor(): Not replacing descriptor from 'lot49' (source: 69.163.34.69); differences are cosmetic.
Aug 07 02:10:11.153 [info] dirserv_orconn_tls_done(): Found router lot49 to be reachable. Yay.
Aug 07 02:31:30.813 [info] dirserv_orconn_tls_done(): Found router lot49 to be reachable. Yay.
Aug 07 02:52:51.334 [info] dirserv_orconn_tls_done(): Found router lot49 to be reachable. Yay.
So what happened during these two publishes to make lot49 republish but to make moria1 think it didn't have anything new to say?
See also whichever bug it is where the Tor relay ought to recognize that its publish didn't take, and reschedule the new descriptor for the more suitable time.
Leaving this trac entry in place though since we want to know why relays are publishing new descriptors that aren't different enough from the old ones.
rransom noticed the republication is caused by a sighup, which debian does daily. So, bad luck for the poor operator who runs on Debian.
The issue is that we end up calling set_onion_key() on each sighup, which calls mark_my_descriptor_dirty() unconditionally. This has another fun implication if I'm reading it right: we never actually rotate our onion key.
The issue is that we end up calling set_onion_key() on each sighup, which calls mark_my_descriptor_dirty() unconditionally. This has another fun implication if I'm reading it right: we never actually rotate our onion key.
set_onion_key is only called from one line in init_keys, and init_keys clobbers onionkey_set_at immediately after that call, so I don't think the extra calls to set_onion_key prevent onion key rotation.