[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #3263 [Tor Relay]: only publish new descriptor if onion key has changed



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs