All of lore.kernel.org
 help / color / mirror / Atom feed
From: ZHOU Xiaobo <xb.zhou@qq.com>
To: netfilter@vger.kernel.org
Subject: Re: Problem with arptables et mangle
Date: Sun, 25 Jul 2010 19:55:52 +0800 (CST)	[thread overview]
Message-ID: <16565681.321280058952111.JavaMail.ZHOU-PC$@zhou-PC> (raw)
In-Reply-To: <4C4B1867.6050006@via.ecp.fr>

Is it --mangle-mac-s?


----- Original Message -----
From: "Antoine Souques" <corum@via.ecp.fr>
To: netfilter@vger.kernel.org
Sent: 2010年 7 月 25日, 星期日 上午 12:44:23 GMT +08:00 Beijing / Chongqing / Hong Kong / Urumqi
Subject: Problem with arptables et mangle

Hi,

I have some trouble to mangle the hardware arddresses with arptables. It 
works fine with IP adresses, but I cannot enter a rule with 
--mangle-hw--(d|s)

# arptables -A FORWARD --h-length 6 -s 138.195.130.6 --opcode 2 -j 
mangle --mangle-hw-s 00:01:30:12:3c:70

And my box tells me : Bad argument `00:01:30:12:3c:70'

kernel :  Debian GNU/Linux, kernel 2.6.26-2-amd64

# lsmod |grep arp
arpt_mangle             6400  0
arptable_filter         6656  0
arp_tables             18832  1 arptable_filter
x_tables               25224  2 arpt_mangle,arp_tables

I have the version 0.0.3.3 of arptables

Thanks,

Antoine
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


      reply	other threads:[~2010-07-25 11:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-24 16:44 Problem with arptables et mangle Antoine Souques
2010-07-25 11:55 ` ZHOU Xiaobo [this message]

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='16565681.321280058952111.JavaMail.ZHOU-PC$@zhou-PC' \
    --to=xb.zhou@qq.com \
    --cc=netfilter@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.