All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gao feng <gaofeng@cn.fujitsu.com>
To: netfilter-devel@vger.kernel.org
Cc: Gao feng <gaofeng@cn.fujitsu.com>
Subject: [PATCH] man: update the manpage for cluster match
Date: Mon, 7 Oct 2013 16:22:56 +0800	[thread overview]
Message-ID: <1381134176-18168-1-git-send-email-gaofeng@cn.fujitsu.com> (raw)

--h-length,--mangle-mac-s,--mangle-mac-d,--destination-mac
are not supported by arptables now,and the chain name is IN/OUT.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
---
 extensions/libxt_cluster.man | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/extensions/libxt_cluster.man b/extensions/libxt_cluster.man
index 62ad71c..808a4d7 100644
--- a/extensions/libxt_cluster.man
+++ b/extensions/libxt_cluster.man
@@ -41,19 +41,19 @@ ip maddr add 01:00:5e:00:01:01 dev eth1
 .IP
 ip maddr add 01:00:5e:00:01:02 dev eth2
 .IP
-arptables \-A OUTPUT \-o eth1 \-\-h\-length 6
-\-j mangle \-\-mangle-mac-s 01:00:5e:00:01:01
+arptables \-A OUT \-o eth1 \-arhln 6
+\-j mangle \-\-mangle-hw-s 01:00:5e:00:01:01
 .IP
-arptables \-A INPUT \-i eth1 \-\-h-length 6
-\-\-destination-mac 01:00:5e:00:01:01
-\-j mangle \-\-mangle\-mac\-d 00:zz:yy:xx:5a:27
+arptables \-A IN \-i eth1 \-arhln 6
+\-\-target-hw 01:00:5e:00:01:01
+\-j mangle \-\-mangle\-hw\-d 00:zz:yy:xx:5a:27
 .IP
-arptables \-A OUTPUT \-o eth2 \-\-h\-length 6
-\-j mangle \-\-mangle\-mac\-s 01:00:5e:00:01:02
+arptables \-A OUT \-o eth2 \-arhln 6
+\-j mangle \-\-mangle\-hw\-s 01:00:5e:00:01:02
 .IP
-arptables \-A INPUT \-i eth2 \-\-h\-length 6
-\-\-destination\-mac 01:00:5e:00:01:02
-\-j mangle \-\-mangle\-mac\-d 00:zz:yy:xx:5a:27
+arptables \-A IN \-i eth2 \-arhln 6
+\-\-target\-hw 01:00:5e:00:01:02
+\-j mangle \-\-mangle\-hw\-d 00:zz:yy:xx:5a:27
 .PP
 In the case of TCP connections, pickup facility has to be disabled
 to avoid marking TCP ACK packets coming in the reply direction as
-- 
1.8.3.1


             reply	other threads:[~2013-10-07  9:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-07  8:22 Gao feng [this message]
2013-10-07  9:33 ` [PATCH] man: update the manpage for cluster match Pablo Neira Ayuso
2013-10-07  9:50   ` Gao feng

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=1381134176-18168-1-git-send-email-gaofeng@cn.fujitsu.com \
    --to=gaofeng@cn.fujitsu.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.