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

[tor-bugs] #2178 [Tor Relay]: We launch dummy descriptor fetches more often than needed



#2178: We launch dummy descriptor fetches more often than needed
-----------------------+----------------------------------------------------
 Reporter:  nickm      |       Owner:                  
     Type:  defect     |      Status:  new             
 Priority:  minor      |   Milestone:  Tor: unspecified
Component:  Tor Relay  |     Version:  Tor: 0.2.1.26   
 Keywords:             |      Parent:                  
-----------------------+----------------------------------------------------
 Right now, we have code in update_router_descriptor_downloads() to launch
 a fetch for authority.z if we want to learn our IP from a directory fetch.
 We do this if:
    * We're a server
    * We don't have the Address option set
    * At least 20 minutes have passed since we last launched a router
 descriptor download
    * At least 20 minutes have passed since we last launched a

 Per discussion in bug #652, we could be even more quiet about launching
 these fetches.  We could also require that
    * At least 20 minutes have passed since we last launched *any*
 appropriate directory op.
    * At least 20 minutes have passed since we got a new incoming
 connection on what we think our IP is.
    * At least 20 minutes have passed since we got confirmation of our
 current IP in a NETINFO cell

 We could also make the "20 minutes" value configurable by a networkstatus
 parameter.

 This is a minor issue, since the current behavior is inelegant, but not
 actually hurting anything.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2178>
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