Page MenuHomeFreeBSD

tcpdump: Reconnect pfsync printer
ClosedPublic

Authored by jrm on Jun 16 2023, 2:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 12:32 AM
Unknown Object (File)
Sun, Nov 24, 8:03 AM
Unknown Object (File)
Oct 19 2024, 9:55 PM
Unknown Object (File)
Oct 19 2024, 9:55 PM
Unknown Object (File)
Oct 19 2024, 9:55 PM
Unknown Object (File)
Oct 19 2024, 9:35 PM
Unknown Object (File)
Oct 1 2024, 9:26 AM
Unknown Object (File)
Oct 1 2024, 9:21 AM
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.
  翻译: