]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add External Actions KPI to ipfw(9).
authorae <ae@FreeBSD.org>
Thu, 14 Apr 2016 22:51:23 +0000 (22:51 +0000)
committerae <ae@FreeBSD.org>
Thu, 14 Apr 2016 22:51:23 +0000 (22:51 +0000)
commit4d9b1f8309d402ff30a915a7e44f5a9a185b2ef2
tree512be6899fba595cdca751948cdd2a64924b465a
parent215f7d4c11143530fe2fb05a538502284255d41e
Add External Actions KPI to ipfw(9).

It allows implementing loadable kernel modules with new actions and
without needing to modify kernel headers and ipfw(8). The module
registers its action handler and keyword string, that will be used
as action name. Using generic syntax user can add rules with this
action. Also ipfw(8) can be easily modified to extend basic syntax
for external actions, that become a part base system.
Sample modules will coming soon.

Obtained from: Yandex LLC
Sponsored by: Yandex LLC
sbin/ipfw/ipfw2.c
sbin/ipfw/ipfw2.h
sbin/ipfw/tables.c
sys/conf/files
sys/modules/ipfw/Makefile
sys/netinet/ip_fw.h
sys/netpfil/ipfw/ip_fw2.c
sys/netpfil/ipfw/ip_fw_eaction.c [new file with mode: 0644]
sys/netpfil/ipfw/ip_fw_private.h
sys/netpfil/ipfw/ip_fw_sockopt.c
sys/netpfil/ipfw/ip_fw_table_value.c