[tor-bugs] #3263 [Tor Relay]: only publish new descriptor if onion key has changed
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Sat May 21 23:06:35 UTC 2011
#3263: only publish new descriptor if onion key has changed
-----------------------+----------------------------------------------------
Reporter: arma | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.3.x-final
Component: Tor Relay | Version:
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
We call set_onion_key() whenever we call init_keys(). set_onion_key()
calls mark_my_descriptor_dirty() which triggers a new descriptor publish.
The problem is that we call init_keys() in some cases where our new
descriptor won't be any different (for example, when our SafeLogging
config option has changed).
The fix is to only republish a descriptor when the onion key actually
changes.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3263>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list