From: Antoine Souques <corum@via.ecp.fr>
To: netfilter@vger.kernel.org
Subject: Problem with arptables et mangle
Date: Sat, 24 Jul 2010 18:44:23 +0200 [thread overview]
Message-ID: <4C4B1867.6050006@via.ecp.fr> (raw)
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
next reply other threads:[~2010-07-24 16:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-24 16:44 Antoine Souques [this message]
2010-07-25 11:55 ` Problem with arptables et mangle ZHOU Xiaobo
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=4C4B1867.6050006@via.ecp.fr \
--to=corum@via.ecp.fr \
--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.