]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nfnetlink_log: allow to attach conntrack
authorKen-ichirou MATSUZAWA <chamaken@gmail.com>
Mon, 5 Oct 2015 02:50:46 +0000 (11:50 +0900)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 5 Oct 2015 15:32:14 +0000 (17:32 +0200)
commit9d6e2dc97e2730045187217651227309aca0f557
tree17d5b72301fc5638176d6868706dd98442f813b2
parent97be2ac9aa50099604934d4eb9aed61f40e11e35
netfilter: nfnetlink_log: allow to attach conntrack

This patch enables to include the conntrack information together
with the packet that is sent to user-space via NFLOG, then a
user-space program can acquire NATed information by this NFULA_CT
attribute.

Including the conntrack information is optional, you can set it
via NFULNL_CFG_F_CONNTRACK flag with the NFULA_CFG_FLAGS attribute
like NFQUEUE.

Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/uapi/linux/netfilter/nfnetlink_log.h
net/netfilter/Kconfig
net/netfilter/nfnetlink_log.c