Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#2088 closed defect (implemented)

MinUptimeHidServDirectoryV2 config option should change if TestingTorNetwork

Reported by: arma Owned by:
Priority: Medium Milestone:
Component: Core Tor/Tor Version:
Severity: Keywords: tor-auth
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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.

Child Tickets

Change History (8)

comment:1 Changed 9 years ago by Sebastian

Status: newneeds_review

bug2088 in my repo

comment:2 Changed 9 years ago by Sebastian

Oh, I forgot to mention. Based on my #2116 fix. That one needs to get merged first.

comment:3 Changed 9 years ago by Sebastian

Could get merged now

comment:4 Changed 9 years ago by nickm

Resolution: implemented
Status: needs_reviewclosed

so merged.

comment:5 Changed 8 years ago by arma

Component: Tor RelayTor Directory Authority

comment:6 Changed 8 years ago by arma

See #3886 for a minor follow-up fix.

comment:7 Changed 7 years ago by nickm

Keywords: tor-auth added

comment:8 Changed 7 years ago by nickm

Component: Tor Directory AuthorityTor
Note: See TracTickets for help on using tickets.