commit 5ab23640550789f56e8ad14d3c26b863e1e07229 Author: Isis Lovecruft isis@patternsinthevoid.net Date: Mon Mar 12 18:21:39 2012 -0700
Testing dnstamper and adding assets for common DNS servers --- assets/dns_servers.txt | 8 ++++++++ assets/top-1m.txt | 10 ++++++++++ tests/dnstamper.py | 2 +- 3 files changed, 19 insertions(+), 1 deletions(-)
diff --git a/assets/dns_servers.txt b/assets/dns_servers.txt new file mode 100644 index 0000000..0453fe1 --- /dev/null +++ b/assets/dns_servers.txt @@ -0,0 +1,8 @@ +8.8.8.8 +8.8.4.4 +209.244.0.3 +209.244.0.4 +208.67.222.222 +208.67.220.220 +156.154.70.1 +156.154.71.1 diff --git a/assets/top-1m.txt b/assets/top-1m.txt new file mode 100644 index 0000000..9403460 --- /dev/null +++ b/assets/top-1m.txt @@ -0,0 +1,10 @@ +google.com +facebook.com +youtube.com +yahoo.com +baidu.com +wikipedia.org +live.com +blogspot.com +twitter.com +qq.com diff --git a/tests/dnstamper.py b/tests/dnstamper.py index 68be12d..23318b6 100644 --- a/tests/dnstamper.py +++ b/tests/dnstamper.py @@ -14,7 +14,7 @@ __desc__ = "DNS censorship detection test"
class DNSTAsset(Asset): def __init__(self, file=None): - self = asset.__init__(self, file) + self = Asset.__init__(self, file)
class DNST(Test): def lookup(self, hostname, ns):
tor-commits@lists.torproject.org