]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
doc: libxt_MARK: no longer restricted to mangle table
authorJan Engelhardt <jengelh@medozas.de>
Tue, 16 Mar 2010 19:28:30 +0000 (20:28 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Tue, 6 Apr 2010 10:50:36 +0000 (12:50 +0200)
MARK used to be limited to the mangle table, but there was no real
restriction.

References: http://marc.info/?l=netfilter-devel&m=126806510332668&w=2
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
extensions/libxt_MARK.man

index 98be812b22a10db695847a0c0fb9be35b46adb12..aaeceb4a5debb4e0953ed08974c9c001b9383643 100644 (file)
@@ -1,7 +1,8 @@
 This target is used to set the Netfilter mark value associated with the packet.
-The target can only be used in the \fBmangle\fR table. It can, for example, be
-used in conjunction with routing based on fwmark (needs iproute2). The mark
-field is 32 bits wide.
+It can, for example, be used in conjunction with routing based on fwmark (needs
+iproute2). If you plan on doing so, note that the mark needs to be set in the
+PREROUTING chain of the mangle table to affect routing.
+The mark field is 32 bits wide.
 .TP
 \fB\-\-set\-xmark\fP \fIvalue\fP[\fB/\fP\fImask\fP]
 Zeroes out the bits given by \fImask\fR and XORs \fIvalue\fR into the packet