Skip to contentSkip to conversation

doc: Document notrack statement

PATCH In review Phil Sutter 2 participants 2 messages Jun 22, 2020 netfilter

lore
Share & tools
lore

Phil Sutter

author reviewer
#0 lore raw

PATCH 1/1 doc: Document notrack statement

Merely a stub, but better to mention it explicitly instead of having it appear in synproxy examples and letting users guess as to what it does.

---
 doc/statements.txt | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
doc/statements.txt +14 -0
index ced311cb8d175..607aee133a993 100644
@@ -263,6 +263,20 @@ table inet raw {
 ct event set new,related,destroy
 --------------------------------------
 
+NOTRACK STATEMENT
+~~~~~~~~~~~~~~~~~
+The notrack statement allows to disable connection tracking for certain
+packets.
+
+[verse]
+*notrack*
+
+Note that for this statement to be effective, it has to be applied to packets
+before a conntrack lookup happens. Therefore, it needs to sit in a chain with
+either prerouting or output hook and a hook priority of -300 or less.
+
+See SYNPROXY STATEMENT for an example usage.
+
 META STATEMENT
 ~~~~~~~~~~~~~~
 A meta statement sets the value of a meta expression. The existing meta fields
Signature · 1 line
2.27.0