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, Nov 10, 11:54 AM
Unknown Object (File)
Sat, Nov 9, 4:47 AM
Unknown Object (File)
Sat, Nov 9, 4:01 AM
Unknown Object (File)
Sep 23 2024, 12:11 AM
Unknown Object (File)
Sep 17 2024, 9:27 PM
Unknown Object (File)
Sep 16 2024, 10:42 PM
Unknown Object (File)
Sep 15 2024, 8:55 PM
Unknown Object (File)
Sep 15 2024, 5:37 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")

Diff Detail

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