From a31c57f120e447511a2034e2a11a4b2dfee70728 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 3 Mar 2016 20:07:07 +0100 Subject: tests/py: extend masquerade to cover ports too Tests new masquerade port range support (available since 4.6-rc). Signed-off-by: Pablo Neira Ayuso --- tests/py/ip6/masquerade.t | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/py/ip6/masquerade.t') diff --git a/tests/py/ip6/masquerade.t b/tests/py/ip6/masquerade.t index 8040280e..d36ff76b 100644 --- a/tests/py/ip6/masquerade.t +++ b/tests/py/ip6/masquerade.t @@ -15,6 +15,10 @@ udp dport 53 masquerade persistent,random,fully-random;ok;udp dport 53 masquerad udp dport 53 masquerade persistent,fully-random;ok;udp dport 53 masquerade fully-random,persistent udp dport 53 masquerade persistent,fully-random,random;ok;udp dport 53 masquerade random,fully-random,persistent +# using ports +meta l4proto 6 masquerade to :1024;ok +meta l4proto 6 masquerade to :1024-2048;ok + # masquerade is a terminal statement tcp dport 22 masquerade counter packets 0 bytes 0 accept;fail tcp sport 22 masquerade accept;fail -- cgit v1.2.3