chiark
/
gitweb
/
~mdw
/
firewall
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
78c56de
)
vampire: Add accounting rules for Tor on the OUTPUT chain.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 13 Jan 2009 18:11:39 +0000
(18:11 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 13 Jan 2009 18:11:39 +0000
(18:11 +0000)
This will tell me what I actually wanted to know.
vampire.m4
patch
|
blob
|
blame
|
history
diff --git
a/vampire.m4
b/vampire.m4
index 450bdfff60598110b518add2a5678b4abbf70e55..13e37bd6477ea550b2ec6054c6ac8bcdae396a8a 100644
(file)
--- a/
vampire.m4
+++ b/
vampire.m4
@@
-72,6
+72,10
@@
run iptables -A inbound -j ACCEPT \
-s 172.29.198.0/24 \
-p tcp --destination-port $port_squid
+## Watch outgoing Tor usage.
+run iptables -A OUTPUT -m multiport \
+ -p tcp --source-ports $port_tor_public,$port_tor_directory
+
## Other interesting things.
dnsresolver inbound
ntpclient inbound 158.152.1.76 158.152.1.204 194.159.253.2