git: ipfw3: logging feature
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Dec 17 09:17:03 PST 2015
commit 1f750495e03e0d6ed31468936cafed567c175671
Author: Bill Yuan <bycn82 at leaf.dragonflybsd.org>
Date: Thu Dec 17 09:06:54 2015 +0000
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.
Summary of changes:
sbin/ipfw3/ipfw3.c | 22 ++
sys/net/ipfw3/Makefile | 2 +-
sys/net/ipfw3/ip_fw3.c | 23 +-
sys/net/ipfw3/ip_fw3_log.c | 264 +++++++++++++++++++++
.../panic_notifier.h => net/ipfw3/ip_fw3_log.h} | 20 +-
5 files changed, 309 insertions(+), 22 deletions(-)
create mode 100644 sys/net/ipfw3/ip_fw3_log.c
copy sys/{dev/acpica/acpi_pvpanic/panic_notifier.h => net/ipfw3/ip_fw3_log.h} (85%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1f750495e03e0d6ed31468936cafed567c175671
--
DragonFly BSD source repository
More information about the Commits
mailing list