summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-03-16 20:28:30 +0100
committerJan Engelhardt <jengelh@medozas.de>2010-04-06 12:50:36 +0200
commitc9be7f153f7bf112640057a0cb6108b686041029 (patch)
tree82ae9055e5f7decd2603c9b815cce257cacc66d1
parent21d1283750d9c4df7ca80165d2b9dc0b9bd214eb (diff)
doc: libxt_MARK: no longer restricted to mangle table
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>
-rw-r--r--extensions/libxt_MARK.man7
1 files changed, 4 insertions, 3 deletions
diff --git a/extensions/libxt_MARK.man b/extensions/libxt_MARK.man
index 98be812b..aaeceb4a 100644
--- a/extensions/libxt_MARK.man
+++ b/extensions/libxt_MARK.man
@@ -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