Page MenuHomeFreeBSD

tcpdump: decode packets on pfsync interfaces
ClosedPublic

Authored by kp on Jul 12 2021, 5:19 PM.

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

kp requested review of this revision.Jul 12 2021, 5:19 PM
This revision is now accepted and ready to land.Jul 13 2021, 4:51 AM

Should this be upstreamed? Our tcpdump isn't far behind upstream. Merging a newer upstream is pretty straightforward too.

Should this be upstreamed? Our tcpdump isn't far behind upstream. Merging a newer upstream is pretty straightforward too.

Upstream tcpdump doesn't have pfsync support at all. It was briefly merged back in 2012, but immediately backed out again:

commit 2886b89df644ab24bc93577d3e309962b3aec09d
Author: Guy Harris <gharris@sonic.net>
Date: Wed Feb 29 21:14:50 2012 -0800

Back out DLT_PFSYNC support.

Unfortunately, the DLT_PFSYNC support depends on header files included
from the pfctl command's source tree, and trying to arrange to find that
would be too much trouble.
This revision was automatically updated to reflect the committed changes.