kernelversion:
stable - 6.5.12
mainline - 4.19.299
mainline - 5.4.261
mainline - 6.1.63
mainline - 5.10.201
mainline - 5.15.139
mainline - 6.6.2
mainline - 4.14.330
mainline - 6.7-rc2
[click here for custom version]
architecture:
>
x86
arm
arm64
powerpc
mips
sparc
ia64
arc
riscv
nds32
m68k
microblaze
alpha
unicore32
parisc
blackfin
depends
CONFIG_INET
CONFIG_NET
CONFIG_NETFILTER
CONFIG_NETFILTER_ADVANCED
CONFIG_NETFILTER_XTABLES
"pkttype" packet type match support
modulename: xt_pkttype.ko
configname: CONFIG_NETFILTER_XT_MATCH_PKTTYPE
Linux Kernel Configuration
└─> Networking support
└─> Networking options
└─> Network packet filtering framework (Netfilter)
└─> Core Netfilter Configuration
└─> "pkttype" packet type match support
In linux kernel since version 2.6.16 (release Date: 2006-03-19)
Packet type matching allows you to match a packet by
its "class", eg. BROADCAST, MULTICAST, ...
Typical usage:
iptables -A INPUT -m pkttype --pkt-type broadcast -j LOG
To compile it as a module, choose M here. If unsure, say N.
source code:
net/netfilter/xt_pkttype.c
its "class", eg. BROADCAST, MULTICAST, ...
Typical usage:
iptables -A INPUT -m pkttype --pkt-type broadcast -j LOG
To compile it as a module, choose M here. If unsure, say N.