[tor-bugs] #7664 [Ooni]: ooniprobe decks do not appear to work

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Dec 8 20:08:54 UTC 2012


#7664: ooniprobe decks do not appear to work
---------------------+------------------------------------------------------
 Reporter:  ioerror  |          Owner:  hellais
     Type:  defect   |         Status:  new    
 Priority:  normal   |      Milestone:         
Component:  Ooni     |        Version:         
 Keywords:           |         Parent:         
   Points:           |   Actualpoints:         
---------------------+------------------------------------------------------

Comment(by ioerror):

 I've tried it against the tip of master with the following deck:
 {{{
 decks/burma.testdesk
 # - options:
 #     collector: null
 #     help: 0
 #     logfile: null
 #     pcapfile: null
 #     reportfile: null
 #     subargs: []
 #     test: nettests/manipulation/captiveportal.py
 - options:
     collector: null
     help: 0
     logfile: null
     pcapfile: null
     reportfile: null
     subargs: [-T, inputs/burma-yangon-hotel-dns-resolvers.txt, -f,
 'inputs/list0-dnsnames.txt']
     test: nettests/blocking/dnstamper.py
 - options:
     collector: null
     help: 0
     logfile:
     pcapfile: null
     reportfile: null
     subargs: [-T, inputs/burma-yangon-hotel-dns-resolvers.txt, -f,
 inputs/list1-dns-list.txt]
     test: nettests/blocking/dnstamper.py
 - options:
     collector: null
     help: 0
     logfile: null
     pcapfile: null
     reportfile: null
     subargs: [-T, inputs/burma-yangon-hotel-dns-resolvers.txt, -f,
 inputs/top-1000.txt]
     test: nettests/blocking/dnstamper.py
 - options:
     collector: null
     help: 0
     logfile: null
     pcapfile: null
     reportfile: null
     subargs: [-b, 'http://ooni.nu/test', -f, 'inputs/list0.txt']
     test: nettests/manipulation/http_host.py
 - options:
     collector: null
     help: 0
     logfile: null
     pcapfile: null
     reportfile: null
     subargs: [-b, 'http://ooni.nu/test', -f, 'inputs/list1.txt']
     test: nettests/manipulation/http_host.py
 - options:
     collector: null
     help: 1
     logfile: null
     pcapfile: null
     reportfile: http_host_global_list.yamloo
     subargs: [-b, 'http://ooni.nu/test', -f, 'inputs/top-1000.txt']
     test: nettests/manipulation/http_host.py
 - options:
     collector: null
     help: 0
     logfile: null
     pcapfile: null
     reportfile: null
     subargs: [-b, 'http://46.166.147.154']
     test: nettests/manipulation/http_header_field_manipulation.py
 - options:
     collector: null
     help: 0
     logfile: null
     pcapfile: null
     reportfile: null
     subargs: [-b, 'http://46.166.147.154']
     test: nettests/manipulation/http_invalid_request_line.py
 - options:
     collector: null
     help: 0
     logfile:
     pcapfile: null
     reportfile: null
     subargs: []
     test: nettests/third_party/netalyzr.py
 }}}

 It creates the following files:
 {{{
 report_dnstamper_2012-12-08T193908Z.yamloo
 report_dnstamper_2012-12-08T193909Z.yamloo
 report_dnstamper_2012-12-08T193909Z.yamloo.1
 report_http_header_field_manipulation_2012-12-08T193909Z.yamloo
 report_http_host_2012-12-08T193909Z.yamloo
 report_http_host_2012-12-08T193909Z.yamloo.1
 report_http_invalid_request_line_2012-12-08T193909Z.yamloo
 report_netalyzr_2012-12-08T193909Z.yamloo
 }}}

 They aren't very large files:
 {{{
 -rw-r--r-- 1 io io 563 2012-12-09 02:09 http_host_global_list.yamloo
 -rw-r--r-- 1 io io 594 2012-12-09 02:09
 report_dnstamper_2012-12-08T193908Z.yamloo
 -rw-r--r-- 1 io io 559 2012-12-09 02:09
 report_dnstamper_2012-12-08T193909Z.yamloo
 -rw-r--r-- 1 io io 586 2012-12-09 02:09
 report_dnstamper_2012-12-08T193909Z.yamloo.1
 -rw-r--r-- 1 io io 579 2012-12-09 02:09
 report_http_header_field_manipulation_2012-12-08T193909Z.yamloo
 -rw-r--r-- 1 io io 561 2012-12-09 02:09
 report_http_host_2012-12-08T193909Z.yamloo
 -rw-r--r-- 1 io io 553 2012-12-09 02:09
 report_http_host_2012-12-08T193909Z.yamloo.1
 -rw-r--r-- 1 io io 564 2012-12-09 02:09
 report_http_invalid_request_line_2012-12-08T193909Z.yamloo
 -rw-r--r-- 1 io io 626 2012-12-09 02:09
 report_netalyzr_2012-12-08T193909Z.yamloo
 }}}

 Note that each one of them essentially contains only a header:
 {{{
  % cat report_dnstamper_2012-12-08T193908Z.yamloo
 ###########################################
 # OONI Probe Report for DNS tamper test
 # Sun Dec  9 02:09:08 2012
 ###########################################
 ---
 options:
   collector: null
   help: 0
   logfile: null
   pcapfile: null
   reportfile: null
   resume: false
   subargs: [-T, inputs/burma-yangon-hotel-dns-resolvers.txt, -f,
 inputs/list0-dnsnames.txt]
   test: nettests/blocking/dnstamper.py
 probe_asn: AS0
 probe_cc: null
 probe_ip: 127.0.0.1
 software_name: ooniprobe
 software_version: 0.0.8
 start_time: 1354972148.0
 test_name: DNS tamper
 test_version: '0.4'
 ...
 }}}

 The console has the correct output and oonprobe.log has a copy of the
 console output. The reports are however essentially empty.

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


More information about the tor-bugs mailing list