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)
Sun, Mar 1, 5:34 AM
Unknown Object (File)
Wed, Feb 25, 12:46 AM
Unknown Object (File)
Wed, Feb 25, 12:46 AM
Unknown Object (File)
Tue, Feb 24, 11:29 PM
Unknown Object (File)
Mon, Feb 23, 12:49 AM
Unknown Object (File)
Sun, Feb 8, 2:13 PM
Unknown Object (File)
Sun, Feb 8, 6:08 AM
Unknown Object (File)
Jan 31 2026, 1:46 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")