diff options
author | Eric Leblond <eric@inl.fr> | 2009-03-23 13:16:53 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-03-23 13:16:53 +0100 |
commit | 176252746ebbc8db97e304345af1f2563c7dc139 (patch) | |
tree | 153bc3b193a1c9cd21a52ab67b622afd4db869d8 /net/xfrm/xfrm_ipcomp.c | |
parent | 0f5b3e85a3716efebb0150ebb7c6d022e2bf17d7 (diff) |
netfilter: sysctl support of logger choice
This patchs adds support of modification of the used logger via sysctl.
It can be used to change the logger to module that can not use the bind
operation (ipt_LOG and ipt_ULOG). For this purpose, it creates a
directory /proc/sys/net/netfilter/nf_log which contains a file
per-protocol. The content of the file is the name current logger (NONE if
not set) and a logger can be setup by simply echoing its name to the file.
By echoing "NONE" to a /proc/sys/net/netfilter/nf_log/PROTO file, the
logger corresponding to this PROTO is set to NULL.
Signed-off-by: Eric Leblond <eric@inl.fr>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/xfrm/xfrm_ipcomp.c')
0 files changed, 0 insertions, 0 deletions