Opened 11 years ago

Last modified 7 years ago

#921 closed defect (Not a bug)

clients avoid *all* authority types when avoiding any

Reported by: arma Owned by:
Priority: Low Milestone: post 0.2.1.x
Component: Core Tor/Tor Version: 0.2.0.31
Severity: Keywords:
Cc: arma, nickm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Clients doing directory fetches avoid authorities of all types when trying
to avoid authorities of any type. So a client asking for a v3 consensus will
never ask moria2, because moria2 is an authority of some type. Similarly,
caches wanting a v3 consensus won't ask moria2, because it's not a v3
authority. Same goes for Tonga, our bridge authority.

See

is_trusted = router_digest_is_trusted_dir(status->identity_digest);

in router_pick_directory_server_impl() in routerlist.c

We should instead ask if it's a trusted dir for the type of authority
we're wondering about.

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (5)

comment:1 Changed 11 years ago by nickm

The rationale for having clients avoiding trusted dirservers was so that the authorities could save their
bandwidth for requests that only they can handle. Even though moria2 is not a v3 authority, do we want
its bandwidth getting used to answer non-authority directory requests?

comment:2 Changed 11 years ago by arma

Your idea is not crazy.

In any case, this is certainly an edge case. The only reason I even noticed
it is because Karsten is trying to do directory-fetching statistics and
found that moria2 doesn't see any v3 requests.

Let's wait til 0.2.1.x is out, and then either call this not-a-bug or decide
to do something smart.

comment:3 Changed 11 years ago by arma

I'm going to call it not-a-bug.

comment:4 Changed 11 years ago by arma

flyspray2trac: bug closed.

comment:5 Changed 7 years ago by nickm

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