[tor-commits] [ooni-probe/master] Take note of the fact that we need such function, specifically for the dnsspoof test

art at torproject.org art at torproject.org
Sat Nov 24 13:29:27 UTC 2012


commit 520b8fc449585768346d4ecfc0b53b7f83ceba51
Author: Arturo Filastò <art at fuffa.org>
Date:   Sat Nov 24 14:27:34 2012 +0100

    Take note of the fact that we need such function, specifically for the dnsspoof test
---
 ooni/utils/net.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ooni/utils/net.py b/ooni/utils/net.py
index c5b01a3..155abd2 100644
--- a/ooni/utils/net.py
+++ b/ooni/utils/net.py
@@ -123,6 +123,12 @@ def capturePackets(pcap_filename):
     reactor.addSystemEventTrigger('before', 'shutdown', stopCapture)
     return d
 
+def getSystemResolver():
+    """
+    XXX implement a function that returns the resolver that is currently
+    default on the system.
+    """
+    pass
 
 def getClientPlatform(platform_name=None):
     for name, test in PLATFORMS.items():





More information about the tor-commits mailing list