Page MenuHomeFreeBSD

pf tests: more thorough pfsync defer test
ClosedPublic

Authored by kp on Dec 3 2021, 9:49 AM.
Tags
None
Referenced Files
F107382020: D33245.diff
Mon, Jan 13, 8:40 AM
Unknown Object (File)
Dec 13 2024, 3:48 AM
Unknown Object (File)
Nov 28 2024, 8:29 AM
Unknown Object (File)
Nov 26 2024, 12:57 AM
Unknown Object (File)
Nov 17 2024, 3:29 AM
Unknown Object (File)
Nov 15 2024, 9:50 PM
Unknown Object (File)
Nov 14 2024, 12:05 AM
Unknown Object (File)
Nov 10 2024, 11:54 AM

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")