Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#7938 closed enhancement (implemented)

Add parsing support for bridge network statuses to Stem

Reported by: karsten Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Stem Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

When parsing bridge descriptor tarballs, Stem doesn't like the contained network statuses:

ParsingFailure: Unrecognized metrics descriptor format. type: 'bridge-network-status', version: '1.0'

This format isn't as explicitly defined as the formats of other network statuses. Bridge network statuses start with a "@type bridge-network-status 1.0" line, followed by a "published" line, followed by router status entries, not followed by any kind of footer. This format is produced by metrics-db as part of the sanitizing process. If we were to specify it more explicitly, we should add a new section after the sanitized bridge descriptor specification.

Child Tickets

Change History (2)

comment:1 follow-up: Changed 4 years ago by atagar

  • Resolution set to implemented
  • Status changed from new to closed

Thanks! Support added for those files...

https://gitweb.torproject.org/stem.git/commitdiff/b236ac4e0ba830352c447537be6cf59d85650ae0

If we were to specify it more explicitly, we should add a new section after the sanitized bridge descriptor specification

Please do. :)

comment:2 in reply to: ↑ 1 Changed 4 years ago by karsten

Replying to atagar:

If we were to specify it more explicitly, we should add a new section after the sanitized bridge descriptor specification

Please do. :)

And finally, done.

Note: See TracTickets for help on using tickets.