From b33068443ab21df151e74e05daec1565b70a17a1 Mon Sep 17 00:00:00 2001 From: Rupert Edwards Date: Mon, 4 Jan 2016 01:49:38 -0500 Subject: [PATCH] Updated toriptables2.py Refactor --- toriptables2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toriptables2.py b/toriptables2.py index 4dddfbf..21f2ffc 100755 --- a/toriptables2.py +++ b/toriptables2.py @@ -19,8 +19,8 @@ from argparse import ArgumentParser class TorIptables(object): def __init__(self): - self.local_dnsport = "53" - self.virtual_net = "10.0.0.0/10" + self.local_dnsport = "53" # DNSPort + self.virtual_net = "10.0.0.0/10" # VirtualAddrNetwork self.non_tor_net = ["192.168.0.0/16", "172.16.0.0/12"] self.non_tor = ["127.0.0.0/9", "127.128.0.0/10", "127.0.0.0/8"] self.tor_uid = getoutput("id -ur debian-tor") # Tor user uid