diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-10-01 10:44:49 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-10-01 10:44:58 +0200 |
commit | a9084baa5d0ff6ccd28715b79ad2630bc77be49b (patch) | |
tree | 5f53bda6e82184773150e29339a425578c4db644 /extensions/libxt_esp.t | |
parent | cbe036db892c298c33e77dec2c5129dbb4dccc2c (diff) | |
parent | 4b187eeed49dc507d38438affabe90d36847412d (diff) |
Merge branch 'tests'
This merges the iptables-test.py script and the corresponding
test files.
Diffstat (limited to 'extensions/libxt_esp.t')
-rw-r--r-- | extensions/libxt_esp.t | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/extensions/libxt_esp.t b/extensions/libxt_esp.t new file mode 100644 index 00000000..008013b9 --- /dev/null +++ b/extensions/libxt_esp.t @@ -0,0 +1,9 @@ +:INPUT,FORWARD,OUTPUT +-p esp -m esp --espspi 0;=;OK +-p esp -m esp --espspi :32;-p esp -m esp --espspi 0:32;OK +-p esp -m esp --espspi 0:4294967295;-p esp -m esp;OK +-p esp -m esp ! --espspi 0:4294967294;=;OK +-p esp -m esp --espspi -1;;FAIL +# should fail? +-p esp -m esp;=;OK +-m esp;;FAIL |