fender.m4: Define an address to be a guaranteed black hole.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 30 Mar 2012 16:30:42 +0000 (17:30 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 30 Mar 2012 16:36:53 +0000 (17:36 +0100)
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 --------------------------------------------------