Opened 2 years ago

Last modified 18 months ago

#20797 new defect

Exclude authorities from bandwidth scanning

Reported by: teor Owned by:
Priority: Medium Milestone:
Component: Core Tor/Torflow Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

The bandwidth authorities scan the bandwidth of the directory authorities, and then skip them when aggregating bandwidth for votes:
https://gitweb.torproject.org/torflow.git/tree/NetworkScanners/BwAuthority/aggregate.py#n755

It would save directory authority bandwidth to skip them at the scanning stage instead.

We could do this by adding 'Authority' to the forbidden flags for entry, middle, and exit nodes here:
https://gitweb.torproject.org/pytorctl.git/tree/PathSupport.py#n1151

Child Tickets

TicketStatusOwnerSummaryComponent
#8684closedbwauth files don't include opinions about AuthoritiesCore Tor/Torflow

Change History (5)

comment:1 Changed 2 years ago by teor

If we did exclude authorities, we'd also have to fix the following calculation, otherwise BwAuths would never sleep (or just add 8 or 9 to min_unmeasured):

NOTICE[Sun Nov 27 08:06:31 2016]:Less than 2 unmeasured nodes (0). Sleeping for a bit

And fixing this would be nice, too:

NOTICE[Sun Nov 27 09:30:03 2016]:Measured 100.0% of all tor nodes (100.0% of previous consensus bw).

comment:2 Changed 19 months ago by teor

We should either stop scanning authorities entirely (#20797), or report correct results for them (#8684).

comment:3 Changed 19 months ago by teor

Priorities and Severities in torflow are meaningless, setting them all to Medium/Normal.

comment:4 Changed 19 months ago by teor

Owner: aagbsn deleted
Status: newassigned

aagbsn was the default owner, unassigning

comment:5 Changed 18 months ago by teor

Status: assignednew

Mark all tickets that are assigned to nobody as "new".

Note: See TracTickets for help on using tickets.