git: f904cde2ea10 - stable/13 - tcpdump: add missing pf reasons and actions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Jan 2025 19:33:28 UTC
The branch stable/13 has been updated by jrm:
URL: https://cgit.FreeBSD.org/src/commit/?id=f904cde2ea104ca5b0a0af880a9094793fd8f4ef
commit f904cde2ea104ca5b0a0af880a9094793fd8f4ef
Author: Kajetan Staszkiewicz <vegeta@tuxpowered.net>
AuthorDate: 2023-04-18 07:33:33 +0000
Commit: Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2025-01-29 19:29:28 +0000
tcpdump: add missing pf reasons and actions
Reviewed by: kp
Sponsored by: InnoGames GmbH
Differential Revision: https://reviews.freebsd.org/D39586
(cherry picked from commit 56cd7716b63d84190e6308d50717ec8bbbdfe1c0)
---
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 }
};