diff options
| author | Kristof Provost <kp@FreeBSD.org> | 2024-10-15 09:08:09 +0000 |
|---|---|---|
| committer | Kristof Provost <kp@FreeBSD.org> | 2024-10-15 14:29:11 +0000 |
| commit | 2e13459e2aa43506069f14e026ff2d7629c0d8e8 (patch) | |
| tree | 046dc7dd7c9d16274067c07f0a0690f8e522c501 | |
| parent | 9c125336727b48c576bf3598d7d2c52daa5909d7 (diff) | |
pf tests: fix plfow:v6 after scapy-2.6.0 update
Avoid receiving ICMPv6 destination unreachable packets, because scapy will
attempt to parse the pflow information from those (partial) packets as well, and
then get confused.
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
| -rw-r--r-- | tests/sys/netpfil/pf/pft_read_ipfix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sys/netpfil/pf/pft_read_ipfix.py b/tests/sys/netpfil/pf/pft_read_ipfix.py index 2c11bdfd130c..02ef2ca5ab06 100644 --- a/tests/sys/netpfil/pf/pft_read_ipfix.py +++ b/tests/sys/netpfil/pf/pft_read_ipfix.py @@ -60,7 +60,7 @@ def parse_ipfix(p): c = datafl.payload def receive(recvif, recvport): - pkts = sp.sniff(iface=recvif, timeout=65) + pkts = sp.sniff(iface=recvif, timeout=65, filter="udp port 2055") if len(pkts) == 0: print("No data") |
