[tor-bugs] #2088 [Tor Relay]: MinUptimeHidServDirectoryV2 config option should change if TestingTorNetwork

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Oct 20 03:24:50 UTC 2010


#2088: MinUptimeHidServDirectoryV2 config option should change if
TestingTorNetwork
-----------------------+----------------------------------------------------
 Reporter:  arma       |       Owner:     
     Type:  defect     |      Status:  new
 Priority:  normal     |   Milestone:     
Component:  Tor Relay  |     Version:     
 Keywords:             |      Parent:     
-----------------------+----------------------------------------------------
 V(MinUptimeHidServDirectoryV2, INTERVAL, "24 hours"),

 {{{
 dirserv_thinks_router_is_hs_dir(const routerinfo_t *router,
                                 const node_t *node, time_t now)
 ...
   return (router->wants_to_be_hs_dir && router->dir_port &&
           uptime > get_options()->MinUptimeHidServDirectoryV2 &&
           node->is_running);
 }}}

 We should lower MinUptimeHidServDirectoryV2 when TestingTorNetwork is set.
 I think lowering it to 0 is reasonable.

 I could imagine putting this fix in at Tor 0.2.2.x, on the "come on, what
 could it hurt" theory.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2088>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list