aboutsummaryrefslogtreecommitdiff
path: root/contrib/tcpdump
diff options
context:
space:
mode:
authorKajetan Staszkiewicz <vegeta@tuxpowered.net>2023-04-18 07:33:33 +0000
committerKristof Provost <kp@FreeBSD.org>2023-04-18 07:33:33 +0000
commit56cd7716b63d84190e6308d50717ec8bbbdfe1c0 (patch)
tree965f4c2a71dcc8fd160da2a8973950cbda80afc3 /contrib/tcpdump
parentc2a9d23736da3593bc7cc883f43d913188d79beb (diff)
downloadsrc-56cd7716b63d84190e6308d50717ec8bbbdfe1c0.tar.gz
src-56cd7716b63d84190e6308d50717ec8bbbdfe1c0.zip
tcpdump: add missing pf reasons and actions
Reviewed by: kp Sponsored by: InnoGames GmbH Differential Revision: https://reviews.freebsd.org/D39586
Diffstat (limited to 'contrib/tcpdump')
-rw-r--r--contrib/tcpdump/print-pflog.c4
1 files changed, 4 insertions, 0 deletions
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 }
};