From: Jan Engelhardt Date: Tue, 16 Mar 2010 19:28:30 +0000 (+0100) Subject: doc: libxt_MARK: no longer restricted to mangle table X-Git-Tag: v1.4.8~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c9be7f153f7bf112640057a0cb6108b686041029;p=thirdparty%2Fiptables.git 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 --- 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