|
Packit Service |
dd8e2b |
The CT target allows to set parameters for a packet or its associated
|
|
Packit Service |
dd8e2b |
connection. The target attaches a "template" connection tracking entry to
|
|
Packit Service |
dd8e2b |
the packet, which is then used by the conntrack core when initializing
|
|
Packit Service |
dd8e2b |
a new ct entry. This target is thus only valid in the "raw" table.
|
|
Packit Service |
dd8e2b |
.TP
|
|
Packit Service |
dd8e2b |
\fB\-\-notrack\fP
|
|
Packit Service |
dd8e2b |
Disables connection tracking for this packet.
|
|
Packit Service |
dd8e2b |
.TP
|
|
Packit Service |
dd8e2b |
\fB\-\-helper\fP \fIname\fP
|
|
Packit Service |
dd8e2b |
Use the helper identified by \fIname\fP for the connection. This is more
|
|
Packit Service |
dd8e2b |
flexible than loading the conntrack helper modules with preset ports.
|
|
Packit Service |
dd8e2b |
.TP
|
|
Packit Service |
dd8e2b |
\fB\-\-ctevents\fP \fIevent\fP[\fB,\fP...]
|
|
Packit Service |
dd8e2b |
Only generate the specified conntrack events for this connection. Possible
|
|
Packit Service |
dd8e2b |
event types are: \fBnew\fP, \fBrelated\fP, \fBdestroy\fP, \fBreply\fP,
|
|
Packit Service |
dd8e2b |
\fBassured\fP, \fBprotoinfo\fP, \fBhelper\fP, \fBmark\fP (this refers to
|
|
Packit Service |
dd8e2b |
the ctmark, not nfmark), \fBnatseqinfo\fP, \fBsecmark\fP (ctsecmark).
|
|
Packit Service |
dd8e2b |
.TP
|
|
Packit Service |
dd8e2b |
\fB\-\-expevents\fP \fIevent\fP[\fB,\fP...]
|
|
Packit Service |
dd8e2b |
Only generate the specified expectation events for this connection.
|
|
Packit Service |
dd8e2b |
Possible event types are: \fBnew\fP.
|
|
Packit Service |
dd8e2b |
.TP
|
|
Packit Service |
dd8e2b |
\fB\-\-zone-orig\fP {\fIid\fP|\fBmark\fP}
|
|
Packit Service |
dd8e2b |
For traffic coming from ORIGINAL direction, assign this packet to zone
|
|
Packit Service |
dd8e2b |
\fIid\fP and only have lookups done in that zone. If \fBmark\fP is used
|
|
Packit Service |
dd8e2b |
instead of \fIid\fP, the zone is derived from the packet nfmark.
|
|
Packit Service |
dd8e2b |
.TP
|
|
Packit Service |
dd8e2b |
\fB\-\-zone-reply\fP {\fIid\fP|\fBmark\fP}
|
|
Packit Service |
dd8e2b |
For traffic coming from REPLY direction, assign this packet to zone
|
|
Packit Service |
dd8e2b |
\fIid\fP and only have lookups done in that zone. If \fBmark\fP is used
|
|
Packit Service |
dd8e2b |
instead of \fIid\fP, the zone is derived from the packet nfmark.
|
|
Packit Service |
dd8e2b |
.TP
|
|
Packit Service |
dd8e2b |
\fB\-\-zone\fP {\fIid\fP|\fBmark\fP}
|
|
Packit Service |
dd8e2b |
Assign this packet to zone \fIid\fP and only have lookups done in that zone.
|
|
Packit Service |
dd8e2b |
If \fBmark\fP is used instead of \fIid\fP, the zone is derived from the
|
|
Packit Service |
dd8e2b |
packet nfmark. By default, packets have zone 0. This option applies to both
|
|
Packit Service |
dd8e2b |
directions.
|
|
Packit Service |
dd8e2b |
.TP
|
|
Packit Service |
dd8e2b |
\fB\-\-timeout\fP \fIname\fP
|
|
Packit Service |
dd8e2b |
Use the timeout policy identified by \fIname\fP for the connection. This is
|
|
Packit Service |
dd8e2b |
provides more flexible timeout policy definition than global timeout values
|
|
Packit Service |
dd8e2b |
available at /proc/sys/net/netfilter/nf_conntrack_*_timeout_*.
|