Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2023 08:22:25 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 56cd7716b63d - main - tcpdump: add missing pf reasons and actions
Message-ID:  <202304180822.33I8MPum018562@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=56cd7716b63d84190e6308d50717ec8bbbdfe1c0

commit 56cd7716b63d84190e6308d50717ec8bbbdfe1c0
Author:     Kajetan Staszkiewicz <vegeta@tuxpowered.net>
AuthorDate: 2023-04-18 07:33:33 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-04-18 07:33:33 +0000

    tcpdump: add missing pf reasons and actions
    
    Reviewed by:    kp
    Sponsored by:   InnoGames GmbH
    Differential Revision:  https://reviews.freebsd.org/D39586
---
 contrib/tcpdump/print-pflog.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/tcpdump/print-pflog.c b/contrib/tcpdump/print-pflog.c
index 49994507e728..31f25ded6915 100644
--- a/contrib/tcpdump/print-pflog.c
+++ b/contrib/tcpdump/print-pflog.c
@@ -57,6 +57,7 @@ static const struct tok pf_reasons[] = {
 	{ 12,	"12(state-limit)" },
 	{ 13,	"13(src-limit)" },
 	{ 14,	"14(synproxy)" },
+	{ 15,	"15(map-failed)" },
 	{ 0,	NULL }
 };
 
@@ -64,6 +65,7 @@ static const struct tok pf_actions[] = {
 	{ PF_PASS,		"pass" },
 	{ PF_DROP,		"block" },
 	{ PF_SCRUB,		"scrub" },
+	{ PF_NOSCRUB,		"scrub" },
 	{ PF_NAT,		"nat" },
 	{ PF_NONAT,		"nat" },
 	{ PF_BINAT,		"binat" },
@@ -71,6 +73,8 @@ static const struct tok pf_actions[] = {
 	{ PF_RDR,		"rdr" },
 	{ PF_NORDR,		"rdr" },
 	{ PF_SYNPROXY_DROP,	"synproxy-drop" },
+	{ PF_DEFER,		"pfsync-defer" },
+	{ PF_MATCH,		"match" },
 	{ 0,			NULL }
 };
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304180822.33I8MPum018562>