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

Re: [tor-bugs] #6437 [Ooni]: Test for ooni-probe UK mobile networks



#6437: Test for ooni-probe UK mobile networks
----------------------------+-----------------------------------------------
    Reporter:  cypherpunks  |       Owner:  hellais          
        Type:  task         |      Status:  closed           
    Priority:  normal       |   Milestone:                   
   Component:  Ooni         |     Version:                   
  Resolution:  fixed        |    Keywords:  Open Rights Group
      Parent:               |      Points:                   
Actualpoints:               |  
----------------------------+-----------------------------------------------
Changes (by hellais):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 This has been implemented in 777e3fe755b6805293f5ad8e50663fbd61899aae.

 Here is the sample output of a run with a single test website:

 $ ./ooniprobe.py httpt -y assets/redirects.yaml -u http://google.com/

 $ cat report.log
 {{{
 - control: {}
   end_time: '2012-07-20T16:41:26+02:00'
   redirect:
     blocked: false
     o2:
       name: O2 Networks
       patterns:
       - {type: re, value: '(https://bango.net/).*'}
       - {type: re, value: 'http://wap.o2.co.uk/(18plusaccess).*'}
       test: false
     orange:
       name: Orange Telecom
       patterns: {type: eq, value: 'http://orangeworld.co.uk/r/avblocked/'}
       test: false
     three:
       name: Three
       patterns: {type: re, value:
 '(http://mobile.three.co.uk/pc/Live/pcreator/live/).*'}
       test: false
     tmobile:
       name: T-Mobile
       patterns: {type: eq, value:
 'http://www.t-mobile.co.uk/common/system_error_pages/outage_wnw.html'}
       test: false
     vodafone:
       name: Vodafone UK
       patterns: {type: eq, value:
 'http://online.vodafone.co.uk/en_GB/assets/static/contentcontrol/unbranded/restricted_access.html'}
       test: false
   request:
     body: null
     headers:
       User-Agent:
       - !!python/tuple [Mozilla/4.0 (compatible; MSIE 7.0; Windows NT
 5.1), 'Internet
           Explorer 7, Windows Vista']
     method: GET
     url: http://google.com/
   response:
     code: 301
     headers:
     - !!python/tuple
       - X-XSS-Protection
       - [1; mode=block]
     - !!python/tuple
       - Expires
       - ['Sun, 19 Aug 2012 16:37:45 GMT']
     - !!python/tuple
       - Server
       - [gws]
     - !!python/tuple
       - Location
       - ['http://www.google.com/']
     - !!python/tuple
       - Cache-Control
       - ['public, max-age=2592000']
     - !!python/tuple
       - Date
       - ['Fri, 20 Jul 2012 16:37:45 GMT']
     - !!python/tuple
       - X-Frame-Options
       - [SAMEORIGIN]
     - !!python/tuple
       - Content-Type
       - [text/html; charset=UTF-8]
     length: 219
     version: 219
   run_time: '0:00:00.128891'
   start_time: '2012-07-20T16:41:26+02:00'
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6437#comment:3>
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