summaryrefslogtreecommitdiffhomepage
path: root/test/iptables/iptables_test.go
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2020-01-08 12:48:17 -0800
committerKevin Krakauer <krakauer@google.com>2020-01-08 12:48:17 -0800
commit447f64c561e6b5893c1bbae7d641187b7aca64ac (patch)
treecdc877258620e3e23ba1fc20b415981d382e9e4b /test/iptables/iptables_test.go
parent7cebd77806d164a3baec52eaeb05662e8c404967 (diff)
Added test for unconditional DROP on the filter INPUT chain
Diffstat (limited to 'test/iptables/iptables_test.go')
-rw-r--r--test/iptables/iptables_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/iptables/iptables_test.go b/test/iptables/iptables_test.go
index 23d15bf71..5927eb017 100644
--- a/test/iptables/iptables_test.go
+++ b/test/iptables/iptables_test.go
@@ -177,3 +177,9 @@ func TestFilterInputDropDifferentUDPPort(t *testing.T) {
t.Fatal(err)
}
}
+
+func TestFilterInputDropAll(t *testing.T) {
+ if err := singleTest(FilterInputDropAll{}); err != nil {
+ t.Fatal(err)
+ }
+}