summaryrefslogtreecommitdiffstats
path: root/Documentation/networking/netfilter-sysctl.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-30 18:04:05 +0200
committerDavid S. Miller <davem@davemloft.net>2020-04-30 12:56:36 -0700
commit0191533087a3cfbe02a0bde9939fa978cb9761fd (patch)
tree44c0ea990197f70e92f1ed481ab1880a0b69564e /Documentation/networking/netfilter-sysctl.rst
parent482a4360c56a1ecb5ea54c00db647b0012d787cf (diff)
docs: networking: convert netfilter-sysctl.txt to ReST
Not much to be done here: - add SPDX header; - add a document title; - add a chapter markup; - mark tables as such; - add to networking/index.rst. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/netfilter-sysctl.rst')
-rw-r--r--Documentation/networking/netfilter-sysctl.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/networking/netfilter-sysctl.rst b/Documentation/networking/netfilter-sysctl.rst
new file mode 100644
index 000000000000..beb6d7b275d4
--- /dev/null
+++ b/Documentation/networking/netfilter-sysctl.rst
@@ -0,0 +1,17 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+=========================
+Netfilter Sysfs variables
+=========================
+
+/proc/sys/net/netfilter/* Variables:
+====================================
+
+nf_log_all_netns - BOOLEAN
+ - 0 - disabled (default)
+ - not 0 - enabled
+
+ By default, only init_net namespace can log packets into kernel log
+ with LOG target; this aims to prevent containers from flooding host
+ kernel log. If enabled, this target also works in other network
+ namespaces. This variable is only accessible from init_net.