]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libxt_CT: add a manpage
authorJan Engelhardt <jengelh@medozas.de>
Wed, 10 Mar 2010 23:49:48 +0000 (00:49 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Wed, 10 Mar 2010 23:49:48 +0000 (00:49 +0100)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
extensions/libxt_CT.c
extensions/libxt_CT.man [new file with mode: 0644]

index 79fa8d042ba946cea2e328dd3903745fc97d3f2b..0b40fc61279962f9e1bb456afe883d637741404d 100644 (file)
@@ -13,7 +13,7 @@ static void ct_help(void)
 "CT target options:\n"
 " --notrack                    Don't track connection\n"
 " --helper name                        Use conntrack helper 'name' for connection\n"
-" --ctevents event[,event...]  Generate specified conntrack vents for connection\n"
+" --ctevents event[,event...]  Generate specified conntrack events for connection\n"
 " --expevents event[,event...] Generate specified expectation events for connection\n"
 " --zone ID                    Assign/Lookup connection in zone ID\n"
        );
diff --git a/extensions/libxt_CT.man b/extensions/libxt_CT.man
new file mode 100644 (file)
index 0000000..ff258b7
--- /dev/null
@@ -0,0 +1,25 @@
+The CT target allows to set parameters for a packet or its associated
+connection. The target attaches a "template" connection tracking entry to
+the packet, which is then used by the conntrack core when initializing
+a new ct entry. This target is thus only valid in the "raw" table.
+.TP
+\fB\-\-notrack\fP
+Disables connection tracking for this packet.
+.TP
+\fB\-\-helper\fP \fIname\fP
+Use the helper identified by \fIname\fP for the connection. This is more
+flexible than loading the conntrack helper modules with preset ports.
+.TP
+\fB\-\-ctevents\fP \fIevent\fP[\fB,\fP...]
+Only generate the specified conntrack events for this connection. Possible
+event types are: \fBnew\fP, \fBrelated\fP, \fBdestroy\fP, \fBreply\fP,
+\fBassured\fP, \fBprotoinfo\fP, \fBhelper\fP, \fBmark\fP (this refers to
+the ctmark, not nfmark), \fBnatseqinfo\fP, \fBsecmark\fP (ctsecmark).
+.TP
+\fB\-\-expevents\fP \fIevent\fP[\fB,\fP...]
+Only generate the specified expectation events for this connection.
+Possible event types are: \fBnew\fP.
+.TP
+\fB\-\-zone\fP \fIid\fP
+Assign this packet to zone \fIid\fP and only have lookups done in that zone.
+By default, packets have zone 0.