Page MenuHomeFreeBSD

tcpdump: Reconnect pfsync printer
ClosedPublic

Authored by jrm on Jun 16 2023, 2:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 2, 2:47 AM
Unknown Object (File)
May 6 2024, 6:19 PM
Unknown Object (File)
Apr 18 2024, 5:12 AM
Unknown Object (File)
Apr 17 2024, 10:26 PM
Unknown Object (File)
Mar 13 2024, 6:16 PM
Unknown Object (File)
Mar 13 2024, 6:16 PM
Unknown Object (File)
Mar 10 2024, 12:19 PM
Unknown Object (File)
Mar 10 2024, 12:10 PM
Subscribers

Details

Summary

Fixes: ee67461e (tpcdump: Update to 4.99.4)

Test Plan

It looks like I missed hooking in the pfsync printer in ee67461e. I think I messed up when redoing the sub-tree merge of vendor/tcpdump to contrib/tcpdump after 4bf98559. This is the only test I've done so far.

make -C /usr/src/usr.sbin/tcpdump clean
make -C /usr/src/usr.sbin/tcpdump
make -C /usr/src/usr.sbin/tcpdump install
sudo /usr/sbin/tcpdump -i pfsync0

After restarting pf, tcpdump shows

tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on pfsync0, link-type PFSYNC (Packet filter state syncing), snapshot length 262144 bytes
19:47:11.484907 19:47:11.484907 PFSYNCv5 len 48
    clear all count 1
    eof count 1^J

Any suggestions for further tests?

Diff Detail

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

Event Timeline

jrm requested review of this revision.Jun 16 2023, 2:39 PM
jrm edited the test plan for this revision. (Show Details)
jrm edited the test plan for this revision. (Show Details)
jrm edited the test plan for this revision. (Show Details)
jrm added reviewers: kp, emaste.
This revision is now accepted and ready to land.Jun 17 2023, 7:54 AM
This revision was automatically updated to reflect the committed changes.