History log of /openbsd-src/regress/sys/net/pf_fragment/frag.py (Results 1 – 8 of 8)
Revision Date Author Comments
# f4a9118a 25-Dec-2020 bluhm <bluhm@openbsd.org>

Switch to scapy with python 3.


# 9ae5678b 18-Jan-2017 bluhm <bluhm@openbsd.org>

Do not use privileged or NFS source ports for UDP packets as inetd
ignores such packets. This should avoid some sporadic failures.
While there, use variable names consistently in all tests.


# 9a7ee091 20-Oct-2016 bluhm <bluhm@openbsd.org>

By removing all the sleeps I created a race in the pf tests. The
packet was sent and its reply received before the sniffer was up
and running. So sleep a second after starting the sniffer thread
bu

By removing all the sleeps I created a race in the pf tests. The
packet was sent and its reply received before the sniffer was up
and running. So sleep a second after starting the sniffer thread
but before sending the packet. With pf_forward 0m51.54s, pf_fragment
1m33.59s, pf_state 0m03.64s the test are still faster than with
forking.

show more ...


# 1eb14a7b 20-Oct-2016 bluhm <bluhm@openbsd.org>

Replace fork() and sleep() with a Python thread for sniffing packets.
This reduces test execution time from 2m21.95s to 1m09.80s.


# 7553dc43 22-May-2016 bluhm <bluhm@openbsd.org>

Fix tests: Restrict getpid() to lower 16 bit so that it can still
be used as packet id. Now scapy calls nexthopmtu with this name
explicitly in icmp structure.


# 9c70e3bf 19-Dec-2014 bluhm <bluhm@openbsd.org>

Use a simpler expression to check the ether type in scapy. This
makes the fragment tests work on FreeBSD. From Ilya Bakulin.


# aa4d4d70 10-Jul-2012 bluhm <bluhm@openbsd.org>

Kill trailing whitespaces.


# 640fbc9d 21-Sep-2011 bluhm <bluhm@openbsd.org>

Add tests for pf fragment reassembly with all kinds of overlapping.
Some fragments contain invalid data, this must be replaced to
reassemble a valid packet.