From: Jan Engelhardt <jengelh@medozas.de>
To: kaber@trash.net
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH 1/5] doc: libxt_MARK: no longer restricted to mangle table
Date: Tue, 6 Apr 2010 12:52:39 +0200 [thread overview]
Message-ID: <1270551164-2945-2-git-send-email-jengelh@medozas.de> (raw)
In-Reply-To: <1270551164-2945-1-git-send-email-jengelh@medozas.de>
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 | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/extensions/libxt_MARK.man b/extensions/libxt_MARK.man
index 98be812..aaeceb4 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
--
1.7.0.2
next prev parent reply other threads:[~2010-04-06 10:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-06 10:52 iptables pull: osf and misc Jan Engelhardt
2010-04-06 10:52 ` Jan Engelhardt [this message]
2010-04-06 10:52 ` [PATCH 2/5] doc: remove claim that TCPMSS is limited to mangle Jan Engelhardt
2010-04-06 10:52 ` [PATCH 3/5] libxt_recent: add a missing space in output Jan Engelhardt
2010-04-06 10:52 ` [PATCH 4/5] doc: add manpage for libxt_osf Jan Engelhardt
2010-04-06 10:52 ` [PATCH 5/5] libxt_osf: import nfnl_osf program Jan Engelhardt
2010-04-06 14:15 ` iptables pull: osf and misc Patrick McHardy
2010-04-06 18:21 ` Jan Engelhardt
2010-04-06 18:26 ` Patrick McHardy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1270551164-2945-2-git-send-email-jengelh@medozas.de \
--to=jengelh@medozas.de \
--cc=kaber@trash.net \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).