User Tools

Site Tools


oonirasponaberrypi-proofofoperation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
oonirasponaberrypi-proofofoperation [2013/03/03 17:37]
EI 8 FDB
oonirasponaberrypi-proofofoperation [2013/11/01 13:33] (current)
Line 1: Line 1:
-Running ​"./​bin/​ooniprobe nettests/​blocking/​http_requests.py -u http://​torproject.org/​" ​as an initial test proves successful operation of OONI-Probe:+Running ​''​./​bin/​ooniprobe nettests/​blocking/​http_requests.py -u http://​torproject.org/​'' ​as an initial test proves successful operation of OONI-Probe: 
 + 
  
 <​code>​ <​code>​
Line 63: Line 65:
 [D] Running [(<class '​nettests.blocking.http_requests.HTTPRequestsTest'>,​ '​test_get'​)] [D] Running [(<class '​nettests.blocking.http_requests.HTTPRequestsTest'>,​ '​test_get'​)]
 [D] Options {'​inputs':​ [None], '​version':​ '​0.2.3',​ '​name':​ 'HTTP Requests Test'} [D] Options {'​inputs':​ [None], '​version':​ '​0.2.3',​ '​name':​ 'HTTP Requests Test'}
-[D] cmd_line_options {'​pcapfile':​ None, '​help':​ 0, '​subargs':​ ('​-u',​ '​http://​torproject.org/'​),​ '​resume':​ 0, '​parallelism':​ '​10',​ '​no-default-reporter':​ 0, '​test':​ '​nettests/​blocking/​http_requests.py',​ '​logfile':​ None, '​collector':​ None, '​reportfile':​ None}+[D] cmd_line_options {'​pcapfile':​ None, '​help':​ 0, '​subargs':​ ('​-u',​ '​http://​torproject.org/'​), ​ 
 +'​resume':​ 0, '​parallelism':​ '​10',​ '​no-default-reporter':​ 0, '​test':​ '​nettests/​blocking/​http_requests.py', ​ 
 +'​logfile':​ None, '​collector':​ None, '​reportfile':​ None}
 [D] Creating report_http_requests_2013-03-03T132602Z.yamloo [D] Creating report_http_requests_2013-03-03T132602Z.yamloo
 Using remote collector, please be patient while we create the report. Using remote collector, please be patient while we create the report.
-[D] Obtained test_details:​ {'​software_name':​ '​ooniprobe',​ '​options':​ {'​pcapfile':​ None, '​help':​ 0, '​subargs':​ ('​-u',​ '​http://​torproject.org/'​),​ '​resume':​ 0, '​parallelism':​ '​10',​ '​no-default-reporter':​ 0, '​test':​ '​nettests/​blocking/​http_requests.py',​ '​logfile':​ None, '​collector':​ '​httpo://​nkvphnp3p6agi5qq.onion',​ '​reportfile':​ None}, '​test_version':​ '​0.2.3',​ '​software_version':​ '​0.0.10',​ '​test_name':​ 'HTTP Requests Test', '​start_time':​ 1362317162.0,​ '​probe_asn':​ '​AS0',​ '​probe_ip':​ '​127.0.0.1',​ '​probe_cc':​ None}+[D] Obtained test_details:​ {'​software_name':​ '​ooniprobe',​ '​options':​ {'​pcapfile':​ None, '​help':​ 0, '​subargs': ​ 
 +('​-u',​ '​http://​torproject.org/'​),​ '​resume':​ 0, '​parallelism':​ '​10',​ '​no-default-reporter':​ 0, '​test': ​ 
 +'​nettests/​blocking/​http_requests.py',​ '​logfile':​ None, '​collector':​ '​httpo://​nkvphnp3p6agi5qq.onion', ​ 
 +'​reportfile':​ None}, '​test_version':​ '​0.2.3',​ '​software_version':​ '​0.0.10',​ '​test_name':​ 'HTTP Requests Test', ​ 
 +'​start_time':​ 1362317162.0,​ '​probe_asn':​ '​AS0',​ '​probe_ip':​ '​127.0.0.1',​ '​probe_cc':​ None}
 Reporting httpo://​nkvphnp3p6agi5qq.onion/​report Reporting httpo://​nkvphnp3p6agi5qq.onion/​report
-[D] Sending {"​software_name":​ "​ooniprobe",​ "​software_version":​ "​0.0.10",​ "​content":​ "​---\noptions:​\n ​ collector: httpo://​nkvphnp3p6agi5qq.onion\n ​ help: 0\n  logfile: null\n ​ no-default-reporter:​ 0\n  parallelism:​ '​10'​\n ​ pcapfile: null\n ​ reportfile: null\n ​ resume: 0\n  subargs: [-u, '​http://​torproject.org/'​]\n ​ test: nettests/​blocking/​http_requests.py\nprobe_asn:​ AS0\nprobe_cc:​ null\nprobe_ip:​ 127.0.0.1\nsoftware_name:​ ooniprobe\nsoftware_version:​ 0.0.10\nstart_time:​ 1362317162.0\ntest_name:​ HTTP Requests Test\ntest_version:​ 0.2.3\n...\n",​ "​test_version":​ "​0.2.3",​ "​test_name":​ "HTTP Requests Test", "​probe_asn":​ "​AS0"​}+[D] Sending {"​software_name":​ "​ooniprobe",​ "​software_version":​ "​0.0.10",​ "​content":​ "​---\noptions:​\n ​ collector: ​ 
 +httpo://​nkvphnp3p6agi5qq.onion\n ​ help: 0\n  logfile: null\n ​ no-default-reporter:​ 0\n  parallelism:​ '​10'​\n  ​ 
 +pcapfile: null\n ​ reportfile: null\n ​ resume: 0\n  subargs: [-u, '​http://​torproject.org/'​]\n ​ test:  
 +nettests/​blocking/​http_requests.py\nprobe_asn:​ AS0\nprobe_cc:​ null\nprobe_ip:​ 127.0.0.1\nsoftware_name: ​ 
 +ooniprobe\nsoftware_version:​ 0.0.10\nstart_time:​ 1362317162.0\ntest_name:​ HTTP Requests Test\ntest_version: ​ 
 +0.2.3\n...\n",​ "​test_version":​ "​0.2.3",​ "​test_name":​ "HTTP Requests Test", "​probe_asn":​ "​AS0"​}
 Creating report with OONIB Reporter. Please be patient. Creating report with OONIB Reporter. Please be patient.
 This may take up to 1-2 minutes... This may take up to 1-2 minutes...
Line 80: Line 93:
 [D] Total iterations: 1.0 [D] Total iterations: 1.0
 [D] Current iteration: 0.0 [D] Current iteration: 0.0
-[D] Running http_requests.py with input unit <<​class '​ooni.inputunit.InputUnit'>​ inputs=<​listiterator object at 0x1d481d0>>​+[D] Running http_requests.py with input unit <<​class '​ooni.inputunit.InputUnit'>​ inputs=<​listiterator object at  
 +0x1d481d0>>​
 [D] Running test cases with input unit [D] Running test cases with input unit
 [D] Running test with this input None [D] Running test with this input None
Line 87: Line 101:
 [D] Finished test setup [D] Finished test setup
 Performing GET request to http://​torproject.org/​ Performing GET request to http://​torproject.org/​
-[D] Performing request http://​torproject.org/​ GET {'​User-Agent':​ ['​Mozilla/​5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/​20100115 Firefox/​3.6'​]}+[D] Performing request http://​torproject.org/​ GET {'​User-Agent':​ ['​Mozilla/​5.0 (Windows; U; Windows NT 6.1; en-US; ​ 
 +rv:1.9.2) Gecko/​20100115 Firefox/​3.6'​]}
 Performing GET request to http://​torproject.org/​ via Tor Performing GET request to http://​torproject.org/​ via Tor
 [D] Using Tor for the request to http://​torproject.org/​ [D] Using Tor for the request to http://​torproject.org/​
-[D] Performing request shttp://​torproject.org/​ GET {'​User-Agent':​ ['​Mozilla/​5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/​20100115 Firefox/​3.6'​]}+[D] Performing request shttp://​torproject.org/​ GET {'​User-Agent':​ ['​Mozilla/​5.0 (Windows; U; Windows NT 6.1;  
 +en-US; rv:1.9.2) Gecko/​20100115 Firefox/​3.6'​]}
 [D] [http_requests.py] 0.0% [D] [http_requests.py] 0.0%
 [D] Got response <​twisted.web._newclient.Response object at 0x1d48ad0>​ [D] Got response <​twisted.web._newclient.Response object at 0x1d48ad0>​
 [D] Processing response body [D] Processing response body
-[D] Adding {'​url':​ '​shttp://​torproject.org/',​ '​headers':​ {'​User-Agent':​ ['​Mozilla/​5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/​20100115 Firefox/​3.6'​]},​ '​body':​ None, '​method':​ '​GET'​} to report+[D] Adding {'​url':​ '​shttp://​torproject.org/',​ '​headers':​ {'​User-Agent':​ ['​Mozilla/​5.0 (Windows; U; Windows NT 6.1;  
 +en-US; rv:1.9.2) Gecko/​20100115 Firefox/​3.6'​]},​ '​body':​ None, '​method':​ '​GET'​} to report
 [D] [http_requests.py] 0.0% [D] [http_requests.py] 0.0%
 [D] Got response <​twisted.web._newclient.Response object at 0x1d488b0>​ [D] Got response <​twisted.web._newclient.Response object at 0x1d488b0>​
 [D] Processing response body [D] Processing response body
-[D] Adding {'​url':​ '​http://​torproject.org/',​ '​headers':​ {'​User-Agent':​ ['​Mozilla/​5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/​20100115 Firefox/​3.6'​]},​ '​body':​ None, '​method':​ '​GET'​} to report+[D] Adding {'​url':​ '​http://​torproject.org/',​ '​headers':​ {'​User-Agent':​ ['​Mozilla/​5.0 (Windows; U; Windows NT 6.1;  
 +en-US; rv:1.9.2) Gecko/​20100115 Firefox/​3.6'​]},​ '​body':​ None, '​method':​ '​GET'​} to report
 The two body lengths appear to match The two body lengths appear to match
 censorship is probably not happening censorship is probably not happening
Line 106: Line 124:
 Finished running test_get Finished running test_get
 [D] Writing report with OONIB reporter [D] Writing report with OONIB reporter
-[D] Updating report with id 2013-03-03T132617Z_AS0_PiQ8gNl6kIhhuKH5M4Crk7dNW0CXEkdYjgKDWcY3AVr6cBOv8h (httpo://​nkvphnp3p6agi5qq.onion/​report) +[D] Updating report with id 2013-03-03T132617Z_AS0_PiQ8gNl6kIhhuKH5M4Crk7dNW0CXEkdYjgKDWcY3AVr6cBOv8h ​ 
-[D] Sending {"​content":​ "​---\nagent:​ agent\nbody_length_match:​ true\nbody_proportion:​ 1.0\ncontrol_failure:​ null\nexperiment_failure:​ null\nfactor:​ 0.8\nheaders_diff:​ !!set {}\nheaders_match:​ true\ninput:​ null\nrequests:​\n- request:​\n ​   body: null\n ​   headers:​\n ​   - - User-Agent\n ​     - ['​Mozilla/​5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/​20100115\n ​         Firefox/​3.6'​]\n ​   method: GET\n    url: shttp://​torproject.org/​\n ​ response:​\n ​   body: ''​\n ​   code: 302\n    headers:​\n ​   - - Content-Length\n ​     - ['​275'​]\n ​   - - Vary\n ​     - [Accept-Encoding]\n ​   - - Server\n ​     - [Apache]\n ​   - - Connection\n ​     - [close]\n ​   - - Location\n ​     - ['​https://​www.torproject.org/'​]\n ​   - - Date\n ​     - ['Sun, 03 Mar 2013 13:26:23 GMT'​]\n ​   - - Content-Type\n ​     - [text/html; charset=iso-8859-1]\n- request:​\n ​   body: null\n ​   headers:​\n ​   - - User-Agent\n ​     - ['​Mozilla/​5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/​20100115\n ​         Firefox/​3.6'​]\n ​   method: GET\n    url: http://​torproject.org/​\n ​ response:​\n ​   body: ''​\n ​   code: 302\n    headers:​\n ​   - - Content-Length\n ​     - ['​275'​]\n ​   - - Vary\n ​     - [Accept-Encoding]\n ​   - - Server\n ​     - [Apache]\n ​   - - Connection\n ​     - [close]\n ​   - - Location\n ​     - ['​https://​www.torproject.org/'​]\n ​   - - Date\n ​     - ['Sun, 03 Mar 2013 13:26:31 GMT'​]\n ​   - - Content-Type\n ​     - [text/html; charset=iso-8859-1]\nsocksproxy:​ null\ntest_name:​ test_get\ntest_runtime:​ 5.7730629444122314\ntest_started:​ 1362317183.11192\n...\n",​ "​report_id":​ "​2013-03-03T132617Z_AS0_PiQ8gNl6kIhhuKH5M4Crk7dNW0CXEkdYjgKDWcY3AVr6cBOv8h"​}+(httpo://​nkvphnp3p6agi5qq.onion/​report) 
 +[D] Sending {"​content":​ "​---\nagent:​ agent\nbody_length_match:​ true\nbody_proportion:​ 1.0\ncontrol_failure: ​ 
 +null\nexperiment_failure:​ null\nfactor:​ 0.8\nheaders_diff:​ !!set {}\nheaders_match:​ true\ninput: ​ 
 +null\nrequests:​\n- request:​\n ​   body: null\n ​   headers:​\n ​   - - User-Agent\n ​     - ['​Mozilla/​5.0 (Windows; U;  
 +Windows NT 6.1; en-US; rv:1.9.2) Gecko/​20100115\n ​         Firefox/​3.6'​]\n ​   method: GET\n    url:  
 +shttp://​torproject.org/​\n ​ response:​\n ​   body: ''​\n ​   code: 302\n    headers:​\n ​   - - Content-Length\n ​     -  
 +['​275'​]\n ​   - - Vary\n ​     - [Accept-Encoding]\n ​   - - Server\n ​     - [Apache]\n ​   - - Connection\n ​     -  
 +[close]\n ​   - - Location\n ​     - ['​https://​www.torproject.org/'​]\n ​   - - Date\n ​     - ['Sun, 03 Mar 2013  
 +13:26:23 GMT'​]\n ​   - - Content-Type\n ​     - [text/html; charset=iso-8859-1]\n- request:​\n ​   body: null\n ​   ​ 
 +headers:​\n ​   - - User-Agent\n ​     - ['​Mozilla/​5.0 (Windows; U; Windows NT 6.1; en-US; rv:​1.9.2) ​ 
 +Gecko/​20100115\n ​         Firefox/​3.6'​]\n ​   method: GET\n    url: http://​torproject.org/​\n ​ response:​\n ​   body:  
 +''​\n ​   code: 302\n    headers:​\n ​   - - Content-Length\n ​     - ['​275'​]\n ​   - - Vary\n ​     - [Accept- 
 +Encoding]\n ​   - - Server\n ​     - [Apache]\n ​   - - Connection\n ​     - [close]\n ​   - - Location\n ​     -  
 +['​https://​www.torproject.org/'​]\n ​   - - Date\n ​     - ['Sun, 03 Mar 2013 13:26:31 GMT'​]\n ​   - - Content- 
 +Type\n ​     - [text/html; charset=iso-8859-1]\nsocksproxy:​ null\ntest_name:​ test_get\ntest_runtime: ​ 
 +5.7730629444122314\ntest_started:​ 1362317183.11192\n...\n",​ "​report_id": ​ 
 +"​2013-03-03T132617Z_AS0_PiQ8gNl6kIhhuKH5M4Crk7dNW0CXEkdYjgKDWcY3AVr6cBOv8h"​}
 Finished running test_get Finished running test_get
 [D] Writing report with YAML reporter [D] Writing report with YAML reporter
Line 121: Line 155:
 Main loop terminated. Main loop terminated.
 </​code>​ </​code>​
 +
 +Once the test has finished a report file ''​report_http_requests_2013-03-03T132602Z.yamloo''​ will be created in the root directory of ooni-probe.
 +
oonirasponaberrypi-proofofoperation.1362332259.txt.gz · Last modified: 2013/11/01 13:32 (external edit)