summaryrefslogtreecommitdiff
path: root/extensions/libxt_CONNSECMARK.man
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libxt_CONNSECMARK.man')
-rw-r--r--extensions/libxt_CONNSECMARK.man15
1 files changed, 15 insertions, 0 deletions
diff --git a/extensions/libxt_CONNSECMARK.man b/extensions/libxt_CONNSECMARK.man
new file mode 100644
index 0000000..a72e710
--- /dev/null
+++ b/extensions/libxt_CONNSECMARK.man
@@ -0,0 +1,15 @@
+This module copies security markings from packets to connections
+(if unlabeled), and from connections back to packets (also only
+if unlabeled). Typically used in conjunction with SECMARK, it is
+only valid in the
+.B mangle
+table.
+.TP
+\fB\-\-save\fP
+If the packet has a security marking, copy it to the connection
+if the connection is not marked.
+.TP
+\fB\-\-restore\fP
+If the packet does not have a security marking, and the connection
+does, copy the security marking from the connection to the packet.
+