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
F85203765: D40004.diff
Mon, Jun 3, 12:57 AM
Unknown Object (File)
Sat, May 25, 10:27 AM
Unknown Object (File)
Fri, May 24, 11:18 PM
Unknown Object (File)
Wed, May 22, 10:13 PM
Unknown Object (File)
Wed, May 22, 10:13 PM
Unknown Object (File)
Wed, May 22, 10:13 PM
Unknown Object (File)
Wed, May 22, 10:13 PM
Unknown Object (File)
Wed, May 22, 10:13 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.