[tor-bugs] #12823 [Ooni]: Design and implement new deck format

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Aug 10 15:53:35 UTC 2014


#12823: Design and implement new deck format
-----------------------------+---------------------
     Reporter:  hellais      |      Owner:  hellais
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:
    Component:  Ooni         |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+---------------------

Comment (by hellais):

 Yes this sounds good to me. The only changes that I would make are to the
 body.

 Nameley the fact that the body should be a list and not a dict. This is
 because you may want to run the same NetTest, but with different options.

 I would hence propose a format that goes something like:

 {{{
 header: {collector: 'http://localhost', logfile: path/to/log.log}
 body:
 - nettest: manipulation/http_requests
   options:
   - {url: 'http://google.com'}
   - no-collector
 - nettest: manipulation/http_manipulation
   options:
   - {backend: 'http://127.0.0.1:8080'}
 }}}

 I also think we should first write up a specification of the new deck
 format (adding it to the ooni-spec repository), submit it for review by
 writing an email to tor-dev, before we end up writing any code. This will
 save us having to redesign the deck another time.

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


More information about the tor-bugs mailing list