Skip to content

Commit 2e15d1a

Browse files
committed
TESTrun: Test GENEVE and VXLAN a bit better.
To detect gen_geneve() and gen_vxlan() regressions that affect filtering of encapsulated protocols, define two new apply filter tests. For now these stand for IPv4 only.
1 parent d0d58d9 commit 2e15d1a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

testprogs/TESTrun

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17973,6 +17973,12 @@ my @apply_blocks = (
1797317973
expr => 'vxlan 101',
1797417974
results => [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
1797517975
},
17976+
{
17977+
name => 'vxlan_and_icmp_reply',
17978+
savefile => 'vxlan.pcap',
17979+
expr => 'vxlan and icmp[icmptype] == icmp-echo',
17980+
results => [1500, 0, 0, 0, 1500, 0, 1500, 0, 1500, 0],
17981+
},
1797617982
{
1797717983
name => 'geneve',
1797817984
savefile => 'geneve.pcap',
@@ -17991,6 +17997,12 @@ my @apply_blocks = (
1799117997
expr => 'geneve 11',
1799217998
results => [0, 262144, 262144, 0, 262144, 0, 262144, 262144, 0, 262144],
1799317999
},
18000+
{
18001+
name => 'geneve_and_tcp_src_port',
18002+
savefile => 'geneve.pcap',
18003+
expr => 'geneve and tcp src port 22',
18004+
results => [0, 0, 0, 262144, 0, 262144, 0, 0, 262144, 0],
18005+
},
1799418006
{
1799518007
name => 'ip_protochain_17_deepstack',
1799618008
skip => skip_config_def1 ('NO_PROTOCHAIN'),

0 commit comments

Comments
 (0)