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)
Sat, Oct 11, 12:38 PM
Unknown Object (File)
Sat, Oct 11, 12:38 PM
Unknown Object (File)
Sat, Oct 11, 12:38 PM
Unknown Object (File)
Sat, Oct 11, 4:29 AM
Unknown Object (File)
Mon, Sep 29, 10:52 PM
Unknown Object (File)
Sun, Sep 28, 8:03 PM
Unknown Object (File)
Sep 12 2025, 4:41 PM
Unknown Object (File)
Sep 7 2025, 3:35 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