summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_tcpmss.t
diff options
context:
space:
mode:
authorVarsha Rao <rvarsha016@gmail.com>2017-11-30 19:18:06 +0530
committerPablo Neira Ayuso <pablo@netfilter.org>2017-11-30 15:06:13 +0100
commit033eac81a529d7c84dc1296c5181f8f92ff44282 (patch)
tree8422d91792e2b8aadfe72209bd53fc07efcc4f43 /extensions/libxt_tcpmss.t
parent505bfa114f2e0a86473fca6353fe45828f160e65 (diff)
extensions: libxt_tcpmss: Add test case for invalid ranges.
This patch adds test case for invalid MSS range. Signed-off-by: Varsha Rao <rvarsha016@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libxt_tcpmss.t')
-rw-r--r--extensions/libxt_tcpmss.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/libxt_tcpmss.t b/extensions/libxt_tcpmss.t
index 3181e49d..2b415957 100644
--- a/extensions/libxt_tcpmss.t
+++ b/extensions/libxt_tcpmss.t
@@ -3,3 +3,4 @@
-p tcp -m tcpmss --mss 42;=;OK
-p tcp -m tcpmss --mss 42:12345;=;OK
-p tcp -m tcpmss --mss 42:65536;;FAIL
+-p tcp -m tcpmss --mss 65535:1000;;FAIL