|
|
8fd843 |
From f7a31d5c3277b29f104fd8ff48df24c8bc790f19 Mon Sep 17 00:00:00 2001
|
|
|
8fd843 |
From: Phil Sutter <psutter@redhat.com>
|
|
|
8fd843 |
Date: Wed, 24 Jun 2020 18:46:39 +0200
|
|
|
8fd843 |
Subject: [PATCH] doc: Document notrack statement
|
|
|
8fd843 |
|
|
|
8fd843 |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1841292
|
|
|
8fd843 |
Upstream Status: nftables commit f16fbe76f62dc
|
|
|
8fd843 |
|
|
|
8fd843 |
commit f16fbe76f62dcb9f7395d1837ad2d056463ba55f
|
|
|
8fd843 |
Author: Phil Sutter <phil@nwl.cc>
|
|
|
8fd843 |
Date: Mon Jun 22 15:07:40 2020 +0200
|
|
|
8fd843 |
|
|
|
8fd843 |
doc: Document notrack statement
|
|
|
8fd843 |
|
|
|
8fd843 |
Merely a stub, but better to mention it explicitly instead of having it
|
|
|
8fd843 |
appear in synproxy examples and letting users guess as to what it does.
|
|
|
8fd843 |
|
|
|
8fd843 |
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
|
|
8fd843 |
Reviewed-by: Florian Westphal <fw@strlen.de>
|
|
|
8fd843 |
---
|
|
|
8fd843 |
doc/statements.txt | 14 ++++++++++++++
|
|
|
8fd843 |
1 file changed, 14 insertions(+)
|
|
|
8fd843 |
|
|
|
8fd843 |
diff --git a/doc/statements.txt b/doc/statements.txt
|
|
|
8fd843 |
index 3b82436..749533a 100644
|
|
|
8fd843 |
--- a/doc/statements.txt
|
|
|
8fd843 |
+++ b/doc/statements.txt
|
|
|
8fd843 |
@@ -262,6 +262,20 @@ table inet raw {
|
|
|
8fd843 |
ct event set new,related,destroy
|
|
|
8fd843 |
--------------------------------------
|
|
|
8fd843 |
|
|
|
8fd843 |
+NOTRACK STATEMENT
|
|
|
8fd843 |
+~~~~~~~~~~~~~~~~~
|
|
|
8fd843 |
+The notrack statement allows to disable connection tracking for certain
|
|
|
8fd843 |
+packets.
|
|
|
8fd843 |
+
|
|
|
8fd843 |
+[verse]
|
|
|
8fd843 |
+*notrack*
|
|
|
8fd843 |
+
|
|
|
8fd843 |
+Note that for this statement to be effective, it has to be applied to packets
|
|
|
8fd843 |
+before a conntrack lookup happens. Therefore, it needs to sit in a chain with
|
|
|
8fd843 |
+either prerouting or output hook and a hook priority of -300 or less.
|
|
|
8fd843 |
+
|
|
|
8fd843 |
+See SYNPROXY STATEMENT for an example usage.
|
|
|
8fd843 |
+
|
|
|
8fd843 |
META STATEMENT
|
|
|
8fd843 |
~~~~~~~~~~~~~~
|
|
|
8fd843 |
A meta statement sets the value of a meta expression. The existing meta fields
|
|
|
8fd843 |
--
|
|
|
bfbb76 |
2.31.1
|
|
|
8fd843 |
|