Page MenuHomeFreeBSD

pfsync: Remove deletion of states using the full pfsync_state struct
ClosedPublic

Authored by vegeta_tuxpowered.net on May 8 2023, 7:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 10:26 PM
Unknown Object (File)
Wed, Nov 13, 10:25 PM
Unknown Object (File)
Tue, Nov 12, 6:44 AM
Unknown Object (File)
Sat, Nov 9, 3:00 AM
Unknown Object (File)
Tue, Oct 22, 6:54 AM
Unknown Object (File)
Oct 12 2024, 9:03 AM
Unknown Object (File)
Oct 10 2024, 10:34 AM
Unknown Object (File)
Oct 4 2024, 9:37 PM

Details

Summary

State deletions are sent over pfsync using struct pfsync_del_c. Remove the code for receiving state deletions using struct pfsync_state as such deletions are never sent. Rename functions and constants so that only the "compressed" versions remain.

Sponsored by: InnoGames GmbH

Diff Detail

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

Event Timeline

Remove support for printing the old state deletion messages from tcpdump.

kp added inline comments.
contrib/tcpdump/print-pfsync.c
120 ↗(On Diff #121702)

I think we should keep this. tcpdump might have to look at (very) old pfsync traffic.

120 ↗(On Diff #121702)

(Edit: Posted mostly to hear your thoughts. I can easily ignore this bit when I commit this, there's no need to update the review.)

vegeta_tuxpowered.net added inline comments.
contrib/tcpdump/print-pfsync.c
120 ↗(On Diff #121702)

OK, let's keep then tcpdump compatibility.

This revision was not accepted when it landed; it landed in state Needs Review.May 17 2023, 2:41 AM
This revision was automatically updated to reflect the committed changes.