[tor-commits] [ooni-probe/master] Add debugging code for pyobfsproxy and fteproxy

art at torproject.org art at torproject.org
Tue Aug 19 11:50:21 UTC 2014


commit 02c41274662f707417443c88af3b2ccde8f2f6bd
Author: Arturo Filastò <art at fuffa.org>
Date:   Tue Aug 19 13:29:37 2014 +0200

    Add debugging code for pyobfsproxy and fteproxy
---
 ooni/nettests/blocking/bridge_reachability.py |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/ooni/nettests/blocking/bridge_reachability.py b/ooni/nettests/blocking/bridge_reachability.py
index 77dfce9..7f10f0c 100644
--- a/ooni/nettests/blocking/bridge_reachability.py
+++ b/ooni/nettests/blocking/bridge_reachability.py
@@ -132,6 +132,7 @@ class BridgeReachability(nettest.NetTestCase):
         if transport_name and transport_name == 'fte' and self.fteproxy_bin:
             config.ClientTransportPlugin = "%s exec %s --managed" % (
                 transport_name, self.fteproxy_bin)
+            log.debug("Using fte from %s" % self.fteproxy_bin)
             self.report['transport_name'] = transport_name
             self.report['bridge_address'] = self.bridge.split(' ')[1]
         elif transport_name and transport_name == 'fte'\
@@ -142,6 +143,7 @@ class BridgeReachability(nettest.NetTestCase):
         elif transport_name and self.pyobfsproxy_bin:
             config.ClientTransportPlugin = "%s exec %s managed" % (
                 transport_name, self.pyobfsproxy_bin)
+            log.debug("Using pyobfsproxy from %s" % self.pyobfsproxy_bin)
             self.report['transport_name'] = transport_name
             self.report['bridge_address'] = self.bridge.split(' ')[1]
         elif transport_name and not self.pyobfsproxy_bin:





More information about the tor-commits mailing list