[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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 kudrom):

 I think that the deck should be splitted between a section dedicated to
 the global options of ooniprobe and a section dedicated to the local
 options of each test.

 I propose to call the first section header and the second one body.

 The header is composed only with options of the cmd line of ooniprobe, and
 is meant to replace the cmd line for each test execution. This header will
 be overwritten by any cmd parameter/flag of the deck execution to allow
 that a user can change the global options from console when launching the
 deck.

 The body is composed of one element per test, which will have as children
 some overwritten elements of the global options and the local parameters
 of the test. Every children of the body must be the name of an installed
 test.

 That way a deck could be:

  * - header:
    * -collector: localhost
    * -logfile: $HOME/.ooni/this_deck.log
  * - body:
    * manipulation/dnsspoof:
      * -h: torproject.org
      * -r: 4.2.2.2:53
      * -no-collector
    * manipulation/captiveportal:
      * -no-geoip

 If there're no more suggestions i'd start writing it in a couple of days.
 ciao

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