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)
Fri, Apr 26, 12:50 PM
Unknown Object (File)
Fri, Apr 26, 12:45 PM
Unknown Object (File)
Fri, Apr 26, 12:44 PM
Unknown Object (File)
Fri, Apr 26, 6:58 AM
Unknown Object (File)
Mar 8 2024, 9:04 AM
Unknown Object (File)
Jan 14 2024, 2:20 PM
Unknown Object (File)
Dec 20 2023, 4:59 AM
Unknown Object (File)
Dec 12 2023, 2:20 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")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable