User Tools

Site Tools


oonirasponaberrypi-proofofoperation

This is an old revision of the document!


Running ./bin/ooniprobe nettests/blocking/http_requests.py -u http://torproject.org// as an initial test proves successful operation of OONI-Probe: <code> Log opened. [D] No test deck detected [D] processing options Starting Tor… /home/pi/.tor/ does not exist. Creating it. [D] Setting control port as 21022 [D] Setting SOCKS port as 45471 [D] 10%: Finishing handshake with directory server [D] 15%: Establishing an encrypted directory connection [D] 20%: Asking for networkstatus consensus [D] 25%: Loading networkstatus consensus [D] 40%: Loading authority key certs [D] 45%: Asking for relay descriptors [D] 80%: Connecting to the Tor network [D] 85%: Finishing handshake with first hop [D] 90%: Establishing a Tor circuit [D] 100%: Done [D] Building a TorState Successfully bootstrapped Tor [D] We now have the following circuits: [D] * <Circuit 3 BUILT [212.112.245.170] for GENERAL> [D] * <Circuit 4 BUILT [86.59.119.83] for GENERAL> [D] * <Circuit 5 BUILT [178.32.210.80] for GENERAL> [D] * <Circuit 6 BUILT [92.243.8.139] for GENERAL> [D] * <Circuit 7 BUILT [171.25.193.21] for GENERAL> [D] * <Circuit 8 BUILT [204.8.156.142] for GENERAL> [D] * <Circuit 9 BUILT [217.76.18.206] for GENERAL> [D] * <Circuit 10 BUILT [31.172.30.4] for GENERAL> [D] * <Circuit 11 BUILT [78.142.142.246] for GENERAL> [D] * <Circuit 12 BUILT [77.247.181.164] for GENERAL> [D] * <Circuit 13 BUILT [31.172.30.2] for GENERAL> [D] * <Circuit 14 BUILT [74.120.15.150] for GENERAL> [D] * <Circuit 15 EXTENDED [] for GENERAL> [D] * <Circuit 16 BUILT [46.4.106.18] for GENERAL> [D] * <Circuit 17 EXTENDED [] for GENERAL> [D] * <Circuit 18 BUILT [109.105.109.162] for GENERAL> [D] * <Circuit 19 BUILT [208.68.37.153] for GENERAL> [D] * <Circuit 20 BUILT [217.162.124.162] for GENERAL> [D] * <Circuit 21 BUILT [188.138.121.118] for GENERAL> [D] * <Circuit 22 BUILT [31.172.30.3] for GENERAL> [D] * <Circuit 23 EXTENDED [] for GENERAL> [D] * <Circuit 24 BUILT [5.9.205.134] for GENERAL> [D] * <Circuit 25 BUILT [94.242.209.189] for GENERAL> [D] * <Circuit 26 BUILT [83.140.59.2] for GENERAL> [D] * <Circuit 27 BUILT [79.143.180.120] for GENERAL> [D] * <Circuit 28 BUILT [91.219.237.161] for GENERAL> [D] * <Circuit 29 BUILT [171.25.193.20] for GENERAL> [D] * <Circuit 30 BUILT [38.229.70.61] for GENERAL> [D] * <Circuit 31 BUILT [178.63.97.34] for GENERAL> [D] * <Circuit 32 BUILT [77.247.181.162] for GENERAL> [D] * <Circuit 33 BUILT [195.169.125.226] for GENERAL> [D] * <Circuit 34 BUILT [38.229.70.52] for GENERAL> [D] * <Circuit 35 EXTENDED [82.94.251.203 109.105.109.162] for GENERAL> [D] * <Circuit 36 BUILT [46.165.196.73 5.9.16.42 204.124.83.132] for GENERAL> [D] * <Circuit 37 EXTENDED [82.94.251.203 147.175.187.180] for GENERAL> [D] * <Circuit 38 BUILT [176.53.232.37] for GENERAL> [D] * <Circuit 39 BUILT [216.243.58.198] for GENERAL> [D] * <Circuit 40 BUILT [82.94.251.203 5.9.250.59 188.134.19.117] for GENERAL> [D] Obtained our IP address from a Tor Relay None [D] Running [(<class 'nettests.blocking.http_requests.HTTPRequestsTest'>, 'test_get')] [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] Creating report_http_requests_2013-03-03T132602Z.yamloo 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} 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”} Creating report with OONIB Reporter. Please be patient. This may take up to 1-2 minutes… [D] Created report with id 2013-03-03T132617Z_AS0_PiQ8gNl6kIhhuKH5M4Crk7dNW0CXEkdYjgKDWcY3AVr6cBOv8h [D] Writing report with YAML reporter Reporting to file report_http_requests_2013-03-03T132602Z.yamloo [D] Not going to resume http_requests.py [D] input_unit_items: 1 [D] test_case_number: 1.0 [D] Test case number: 1.0 [D] Total iterations: 1.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 test cases with input unit [D] Running test with this input None [D] Processing test_get [D] Running test_get with None… [D] Finished test setup 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']} Performing GET request to http://torproject.org/ via Tor [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] [http_requests.py] 0.0% [D] Got response <twisted.web._newclient.Response object at 0x1d48ad0> [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] [http_requests.py] 0.0% [D] Got response <twisted.web._newclient.Response object at 0x1d488b0> [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 The two body lengths appear to match censorship is probably not happening Headers appear to match Finished running test_get [D] Deferred callback result: None Finished running test_get [D] Writing report with OONIB reporter [D] Updating report with 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 [D] Writing report with YAML reporter [D] No post processor configured [D] Acquiring lock for http_requests.py [D] Releasing lock for http_requests.py [D] input_unit_items: 1 [D] test_case_number: 1.0 [D] Test case number: 1.0 [D] Total iterations: 1.0 [D] Current iteration: 1.0 [D] testsEnded: Finished running all tests Main loop terminated. </code>

oonirasponaberrypi-proofofoperation.1362332833.txt.gz · Last modified: 2013/11/01 13:32 (external edit)