~mdw
/
firewall
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebaa31a
)
fender.m4: Define an address to be a guaranteed black hole.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 30 Mar 2012 16:30:42 +0000
(17:30 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 30 Mar 2012 16:36:53 +0000
(17:36 +0100)
fender.m4
patch
|
blob
|
blame
|
history
diff --git
a/fender.m4
b/fender.m4
index
a6c7362
..
c8b2ee7
100644
(file)
--- a/
fender.m4
+++ b/
fender.m4
@@
-33,5
+33,9
@@
allowservices inbound tcp \
## We have to provide NTP service. The guests sync to our clock.
ntpclient inbound $ntp_servers
+## Guaranteed black hole. Put this at the very front of the chain.
+run iptables -I INPUT -d 212.13.198.78 -j DROP
+run ip6tables -I INPUT -d 2001:ba8:0:1d9::ffff -j DROP
+
m4_divert(-1)
###----- That's all, folks --------------------------------------------------