#20542: structure bridgedescs and modernize
-----------------------------------+--------------------
     Reporter:  iwakeh             |      Owner:
         Type:  enhancement        |     Status:  new
     Priority:  Medium             |  Milestone:
    Component:  Metrics/CollecTor  |    Version:
     Severity:  Normal             |   Keywords:
Actual Points:                     |  Parent ID:  #20518
       Points:                     |   Reviewer:
      Sponsor:                     |
-----------------------------------+--------------------
 * All parsing should be delegated to metrics-lib code.
 * Create 'BridgeMain'.

 Current picture:
 BridgeSnapshotReader only has a constructor of more than 200 lines of
 code.
 BridgeDescriptorParser actually only determines the descriptor type and
 SanitizedBridgesWriter performes parsing and obfuscation.

 {{{
                                +------------------------+
                                | SanitizedBridgesWriter |
                                +---o----+---------------+
                                 --/   /-           \
                              --/    /-              \
                           --/     /-                 \
                        --/      /-                    \
                     --/       /-                +------+----------------+
         +----------+---------o---+              |  BridgeSnapshotReader |
         | BridgeDescriptorParser +--------------o-----------------------+
         +------------------------+

 X o----------+ Y : X holds a Y reference somewhere
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20542>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to