ipfw3: logging feature
authorBill Yuan <bycn82@leaf.dragonflybsd.org>
Thu, 17 Dec 2015 09:06:54 +0000 (09:06 +0000)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 17 Dec 2015 17:16:42 +0000 (09:16 -0800)
commit1f750495e03e0d6ed31468936cafed567c175671
treebe08786ae5f2013ffdbf49f4934b71cbf2984ae8
parent6696e02ed4e39082debfd44420ad70ce694f2894
ipfw3: logging feature

ifconfig ipfw0 create
ipfw3 add allow log 0 icmp

support max=9 pseudo ipfw interfaces.
the logged packets header will be 0x41 & 0x42.
the logged frames can keep the original MAC.
sbin/ipfw3/ipfw3.c
sys/net/ipfw3/Makefile
sys/net/ipfw3/ip_fw3.c
sys/net/ipfw3/ip_fw3_log.c [new file with mode: 0644]
sys/net/ipfw3/ip_fw3_log.h [new file with mode: 0644]