[tor-bugs] #12863 [Ooni]: The http_requests test sometimes only performs one request

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Aug 14 10:36:16 UTC 2014


#12863: The http_requests test sometimes only performs one request
---------------------+-------------------------
 Reporter:  hellais  |          Owner:  hellais
     Type:  defect   |         Status:  new
 Priority:  normal   |      Milestone:
Component:  Ooni     |        Version:
 Keywords:           |  Actual Points:
Parent ID:           |         Points:
---------------------+-------------------------
 It has been reported by some users of ooniprobe [1] that in some
 circumstances (it is unclear currently exactly how to reproduce this) the
 report for a http_requests test will only contain one request instead of
 two. Moreover when this occurs the `headers_match` and `body_length_match`
 keys will be wrongly set to `true`.

 Here is a sample report entry that exhibits this behavior:

 {{{
 ---
 agent: agent
 body_length_match: true
 body_proportion: 1.0
 control_failure: null
 experiment_failure: null
 factor: 0.8
 headers_diff: !!set {}
 headers_match: true
 input: http://www.scratchgames.com/
 requests:
 - request:
     body: null
     headers:
     - - User-Agent
       - ['Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2)
 Gecko/20100115 Firefox/3.6']
     method: GET
     tor: {is_tor: false}
     url: http://www.scratchgames.com/
   response:
     body: <h1>Bad Request (Invalid Hostname)</h1>
     code: 400
     headers:
     - - Date
       - ['Mon, 23 Jun 2014 13:03:09 GMT']
     - - Connection
       - [close]
     - - Content-Type
       - [text/html]
     - - Content-Length
       - ['39']
 socksproxy: null
 ...
 }}}

 [1] https://lists.torproject.org/pipermail/ooni-
 dev/2014-August/000139.html

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


More information about the tor-bugs mailing list