diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2017-09-23 20:37:16 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2017-09-23 20:37:16 +0200 |
commit | c841101b3d73722c67f24127c3de26e94e53ce8a (patch) | |
tree | 521133cb639bf88e2033603355d88df41a59b0b3 /tests/match_target6.t | |
parent | dbd6853f3151930fcd75b0740eea4f233606fd62 (diff) |
testsuite: Make sure it can be run over ssh :-)
Diffstat (limited to 'tests/match_target6.t')
-rw-r--r-- | tests/match_target6.t | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/match_target6.t b/tests/match_target6.t index 86197c0..c2a6bf8 100644 --- a/tests/match_target6.t +++ b/tests/match_target6.t @@ -15,7 +15,7 @@ # Check that 1002:1002:1002:1002::64,tcp:1025 is not in ipport set 1 ipset test ipport 1002:1002:1002:1002::64,tcp:1025 # Send probe packet from 1002:1002:1002:1002::64,tcp:1025 -0 sendip -p ipv6 -6d ::1 -6s 1002:1002:1002:1002::64 -p tcp -td 80 -ts 1025 ::1 +0 ./sendip.sh -p ipv6 -6d ::1 -6s 1002:1002:1002:1002::64 -p tcp -td 80 -ts 1025 ::1 # Check that proper sets matched and target worked 0 ./check_klog.sh 1002:1002:1002:1002::64 tcp 1025 ipport list # Check that 1002:1002:1002:1002::64,tcp:1025 is in ipport set now @@ -23,7 +23,7 @@ # Check that 1002:1002:1002:1002::64,udp:1025 is not in ipport set 1 ipset test ipport 1002:1002:1002:1002::64,udp:1025 # Send probe packet from 1002:1002:1002:1002::64,udp:1025 -0 sendip -p ipv6 -6d ::1 -6s 1002:1002:1002:1002::64 -p udp -ud 80 -us 1025 ::1 +0 ./sendip.sh -p ipv6 -6d ::1 -6s 1002:1002:1002:1002::64 -p udp -ud 80 -us 1025 ::1 # Check that proper sets matched and target worked 0 ./check_klog.sh 1002:1002:1002:1002::64 udp 1025 ipport list # Check that 1002:1002:1002:1002::64,udp:1025 is in ipport set now @@ -31,7 +31,7 @@ # Check that 1002:1002:1002:1002::1,tcp:1025 is not in ipport set 1 ipset test ipport 1002:1002:1002:1002::1,tcp:1025 # Send probe packet from 1002:1002:1002:1002::1,tcp:1025 -0 sendip -p ipv6 -6d ::1 -6s 1002:1002:1002:1002::1 -p tcp -td 80 -ts 1025 ::1 +0 ./sendip.sh -p ipv6 -6d ::1 -6s 1002:1002:1002:1002::1 -p tcp -td 80 -ts 1025 ::1 # Check that proper sets matched and target worked 0 ./check_klog.sh 1002:1002:1002:1002::1 tcp 1025 ip1 list # Check that 1002:1002:1002:1002::1,tcp:1025 is not in ipport set @@ -39,7 +39,7 @@ # Check that 1002:1002:1002:1002::32,tcp:1025 is not in ipport set 1 ipset test ipport 1002:1002:1002:1002::32,tcp:1025 # Send probe packet from 1002:1002:1002:1002::32,tcp:1025 -0 sendip -p ipv6 -6d ::1 -6s 1002:1002:1002:1002::32 -p tcp -td 80 -ts 1025 ::1 +0 ./sendip.sh -p ipv6 -6d ::1 -6s 1002:1002:1002:1002::32 -p tcp -td 80 -ts 1025 ::1 # Check that proper sets matched and target worked 0 ./check_klog.sh 1002:1002:1002:1002::32 tcp 1025 ip2 # Check that 1002:1002:1002:1002::32,tcp:1025 is not in ipport set @@ -47,13 +47,13 @@ # Check that 1002:1002:1002:1002::64,icmpv6:ttl-zero-during-reassembly is not in ipport set 1 ipset test ipport 1002:1002:1002:1002::64,icmpv6:ttl-zero-during-reassembly # Send probe packet from 1002:1002:1002:1002::64,icmpv6:ttl-zero-during-reassembly -0 sendip -d r10 -p ipv6 -6d ::1 -6s 1002:1002:1002:1002::64 -p icmp -ct 3 -cd 1 ::1 +0 ./sendip.sh -d r10 -p ipv6 -6d ::1 -6s 1002:1002:1002:1002::64 -p icmp -ct 3 -cd 1 ::1 # Check that 1002:1002:1002:1002::64,icmpv6:ttl-zero-during-reassembly is in ipport set now 0 ipset test ipport 1002:1002:1002:1002::64,icmpv6:ttl-zero-during-reassembly # Modify rules to check target and deletion 0 ./iptables.sh inet6 del # Send probe packet from 1002:1002:1002:1002::64,icmpv6:ttl-zero-during-reassembly -0 sendip -d r10 -p ipv6 -6d ::1 -6s 1002:1002:1002:1002::64 -p icmp -ct 3 -cd 1 ::1 +0 ./sendip.sh -d r10 -p ipv6 -6d ::1 -6s 1002:1002:1002:1002::64 -p icmp -ct 3 -cd 1 ::1 # Check that 1002:1002:1002:1002::64,icmpv6:ttl-zero-during-reassembly isn't in ipport set 1 ipset test ipport 1002:1002:1002:1002::64,icmpv6:ttl-zero-during-reassembly # Destroy sets and rules |