]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
netfilter: xt_LOG: add net namespace support for xt_LOG
authorGao feng <gaofeng@cn.fujitsu.com>
Sun, 24 Mar 2013 23:50:42 +0000 (23:50 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 5 Apr 2013 18:58:45 +0000 (20:58 +0200)
commit69b34fb996b2eee3970548cf6eb516d3ecb5eeed
treeb27bed5830353509b8b6ddfa16b231b65a113873
parent7d2789246cc9423d66d903f992d13a022710592a
netfilter: xt_LOG: add net namespace support for xt_LOG

Add pernet support to xt_LOG by means of the new nf_log_set
function added in (30e0c6a netfilter: nf_log: prepare net
namespace support for loggers).

Since syslog ns has yet not been implemented, we don't want
the containers to DDOS host's syslogd. So only enable ebt_log
only from init_net and wait for syslog ns support

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_LOG.c