diff options
Diffstat (limited to 'tests/py/inet/sets.t')
-rw-r--r-- | tests/py/inet/sets.t | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/py/inet/sets.t b/tests/py/inet/sets.t index daf8f2d6..e0b0ee86 100644 --- a/tests/py/inet/sets.t +++ b/tests/py/inet/sets.t @@ -16,3 +16,9 @@ ip saddr != @set2 drop;fail ip6 daddr != @set2 accept;ok ip6 daddr @set1 drop;fail + +!set3 type ipv4_addr . ipv4_addr . inet_service flags interval;ok +?set3 10.0.0.0/8 . 192.168.1.3-192.168.1.9 . 1024-65535;ok + +ip saddr . ip daddr . tcp dport @set3 accept;ok +-ip daddr . tcp dport { 10.0.0.0/8 . 10-23, 192.168.1.1-192.168.3.8 . 80-443 } accept;ok |