Closed anadahz closed 8 years ago
We need access to the Tor Control port in order to determine the exit ip address. Are you using system tor as opposed to allowing ooniprobe to start Tor? When using system tor you need to specify the control port in order to get this information.
start_tor
is set to true.
Contents of /etc/ooniprobe/ooniprobe.conf
:
# This is the configuration file for OONIProbe
# This file follows the YAML markup format: http://yaml.org/spec/1.2/spec.html
# Keep in mind that indentation matters.
basic:
# Where OONIProbe should be writing it's log file
logfile: /var/log/ooni/ooniprobe.log
privacy:
# Should we include the IP address of the probe in the report?
includeip: false
# Should we include the ASN of the probe in the report?
includeasn: true
# Should we include the country as reported by GeoIP in the report?
includecountry: true
# Should we include the city as reported by GeoIP in the report?
includecity: false
# Should we collect a full packet capture on the client?
includepcap: false
reports:
# Should we place a unique ID inside of every report
unique_id: true
# This is a prefix for each packet capture file (.pcap) per test:
pcap: null
collector: null
advanced:
geoip_data_dir: /usr/share/GeoIP
debug: true
# enable if auto detection fails
#tor_binary: /usr/sbin/tor
#obfsproxy_binary: /usr/bin/obfsproxy
# For auto detection
interface: auto
# Of specify a specific interface
#interface: wlan0
# If you do not specify start_tor, you will have to have Tor running and
# explicitly set the control port and SOCKS port
start_tor: true
# After how many seconds we should give up on a particular measurement
measurement_timeout: 120
# After how many retries we should give up on a measurement
measurement_retries: 5
# How many measurements to perform concurrently
measurement_concurrency: 10
# After how may seconds we should give up reporting
reporting_timeout: 360
# After how many retries to give up on reporting
reporting_retries: 5
# How many reports to perform concurrently
reporting_concurrency: 15
oonid_api_port: 8042
report_log_file: null
inputs_dir: null
decks_dir: null
tor:
#socks_port: 8801
#control_port: 8802
# Specify the absolute path to the Tor bridges to use for testing
#bridges: bridges.list
# Specify path of the tor datadirectory.
# This should be set to something to avoid having Tor download each time
# Should we include the country as reported by GeoIP in the report?
includecountry: true
# Should we include the city as reported by GeoIP in the report?
includecity: false
# Should we collect a full packet capture on the client?
includepcap: false
reports:
# Should we place a unique ID inside of every report
unique_id: true
# This is a prefix for each packet capture file (.pcap) per test:
pcap: null
collector: null
advanced:
geoip_data_dir: /usr/share/GeoIP
debug: true
# enable if auto detection fails
#tor_binary: /usr/sbin/tor
#obfsproxy_binary: /usr/bin/obfsproxy
# For auto detection
interface: auto
# Of specify a specific interface
#interface: wlan0
# If you do not specify start_tor, you will have to have Tor running and
# explicitly set the control port and SOCKS port
start_tor: true
# After how many seconds we should give up on a particular measurement
measurement_timeout: 120
# After how many retries we should give up on a measurement
measurement_retries: 5
# How many measurements to perform concurrently
measurement_concurrency: 10
# After how may seconds we should give up reporting
reporting_timeout: 360
# After how many retries to give up on reporting
reporting_retries: 5
# How many reports to perform concurrently
reporting_concurrency: 15
oonid_api_port: 8042
report_log_file: null
inputs_dir: null
decks_dir: null
tor:
#socks_port: 8801
#control_port: 8802
# Specify the absolute path to the Tor bridges to use for testing
#bridges: bridges.list
# Specify path of the tor datadirectory.
# This should be set to something to avoid having Tor download each time
# the descriptors and consensus data.
#data_dir: ~/.tor/
torrc:
# UseBridges 1
# Bridge meeklite 0.0.2.0:1 url=https://meek-reflect.appspot.com/ front=www.google.com
# Bridge meeklite 0.0.2.0:2 url=https://d2zfqthxsdq309.cloudfront.net/ front=a0.awsstatic.com
# Bridge meeklite 0.0.2.0:3 url=https://az786092.vo.msecnd.net/ front=ajax.aspnetcdn.com
# ClientTransportPlugin meeklite exec /usr/bin/obfs4proxy
#HTTPProxy: host:port
#HTTPProxyAuthenticator: user:password
#HTTPSProxy: host:port
#HTTPSProxyAuthenticator: user:password
Yes you are right this is actually a regression bug introduced in 1.4.2.
I pushed a fix for it in #511.
ooniprobe version: 1.4.2 test: blocking/http_requests
ooniprobe -f /etc/ooniprobe/ooniprobe.conf blocking/http_requests --url http://cnn.com