Date: Wed, 15 Nov 2023 20:00:08 GMT From: Kristof Provost <kp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: f88698a4ebc6 - stable/14 - tcpdump: decode pfsync packets on network interfaces Message-ID: <202311152000.3AFK08su049676@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=f88698a4ebc6e879608a435a6ffda475190dc739 commit f88698a4ebc6e879608a435a6ffda475190dc739 Author: Luiz Amaral <email@luiz.eng.br> AuthorDate: 2023-11-08 15:12:14 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2023-11-15 09:45:33 +0000 tcpdump: decode pfsync packets on network interfaces When print-ip-demux.c was introduced on ee67461e, the pfsync_ip_print function was missed, causing tcpdump to treat pfsync packets on network interfaces as an unknown protocol. MFC after: 1 week Sponsored by: InnoGames GmbH Differential Revision: https://reviews.freebsd.org/D42504 (cherry picked from commit 85247ee6a2ba1c2dd0053e9be9055efa4be1438e) --- contrib/tcpdump/print-ip-demux.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contrib/tcpdump/print-ip-demux.c b/contrib/tcpdump/print-ip-demux.c index a0a6fbd11f3a..758601910881 100644 --- a/contrib/tcpdump/print-ip-demux.c +++ b/contrib/tcpdump/print-ip-demux.c @@ -216,6 +216,12 @@ again: } break; +#ifdef HAVE_NET_IF_PFLOG_H + case IPPROTO_PFSYNC: + pfsync_ip_print(ndo, bp, length); + break; +#endif + case IPPROTO_NONE: ND_PRINT("no next header"); break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311152000.3AFK08su049676>