Page MenuHomeFreeBSD

pf tests: more thorough pfsync defer test
ClosedPublic

Authored by kp on Dec 3 2021, 9:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 5, 11:50 PM
Unknown Object (File)
Thu, Apr 30, 3:27 PM
Unknown Object (File)
Tue, Apr 28, 3:00 PM
Unknown Object (File)
Mon, Apr 27, 7:41 PM
Unknown Object (File)
Tue, Apr 21, 11:36 AM
Unknown Object (File)
Tue, Apr 21, 4:01 AM
Unknown Object (File)
Apr 18 2026, 1:54 AM
Unknown Object (File)
Apr 10 2026, 12:25 PM

Details

Summary

Add a somewhat more extensive pfsync defer mode test. Ensure that pfsync
actually delays the state creating packet until after it has sent the
pfsync update and given the peer time to create the state.

Ideally the test should validate the pfsync state update and generate an
ack message, but to keep the test simple we rely on the timeout of the
deferred packet instead.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")