[tor-bugs] #15522 [BridgeDB]: Write Protobufs for any BridgeDB data which must be sent over a network or IPC channel

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 31 09:19:13 UTC 2015


#15522: Write Protobufs for any BridgeDB data which must be sent over a network or
IPC channel
--------------------------------------------+----------------------
 Reporter:  isis                            |          Owner:  isis
     Type:  enhancement                     |         Status:  new
 Priority:  normal                          |      Milestone:
Component:  BridgeDB                        |        Version:
 Keywords:  bridgedb-db, metrics, protobuf  |  Actual Points:
Parent ID:                                  |         Points:
--------------------------------------------+----------------------
 BridgeDB should have [https://developers.google.com/protocol-
 buffers/docs/overview Protobufs] for any data structures which must be
 sent over either network or IPC channels. This includes data such as
 bridges parsed from Stem (which should be sent to the database manager
 from #12031), any data which is going to be exported to CollecTor (e.g. if
 we were to redesign a new pool "assignments.log" format like for #2755 and
 exported that), and any data which the client-side Social Distributor
 (#7520) built into a Tor Browser extension plans to send to BridgeDB and
 vice-versa.

 Protocol buffers have had extensive security reviews, are used extensively
 in many projects, and would provide automatic code generation for
 serialisers/marshallers for Python/Java/C++/C/Go, meaning that, for
 example, both Metrics and BridgeDB could use the same generated code to
 read the same data format.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15522>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list