]> git.baikalelectronics.ru Git - 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)
commitbbd556678cb902cd44033312d3ad4004cfacdd36
treeb27bed5830353509b8b6ddfa16b231b65a113873
parent32d559f164857bab14bfe94e4cdbc57b71a95242
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 (3a4222f 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