summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorEric Leblond <eric@inl.fr>2009-03-23 12:16:53 (GMT)
committerPatrick McHardy <kaber@trash.net>2009-03-23 12:16:53 (GMT)
commit176252746ebbc8db97e304345af1f2563c7dc139 (patch)
tree153bc3b193a1c9cd21a52ab67b622afd4db869d8 /block
parent0f5b3e85a3716efebb0150ebb7c6d022e2bf17d7 (diff)
downloadlinux-fsl-qoriq-176252746ebbc8db97e304345af1f2563c7dc139.tar.xz
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 'block')
0 files changed, 0 insertions, 0 deletions