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

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



commit 520b8fc449585768346d4ecfc0b53b7f83ceba51
Author: Arturo Filastò <art@xxxxxxxxx>
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():



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits