* Problem with arptables et mangle
@ 2010-07-24 16:44 Antoine Souques
2010-07-25 11:55 ` ZHOU Xiaobo
0 siblings, 1 reply; 2+ messages in thread
From: Antoine Souques @ 2010-07-24 16:44 UTC (permalink / raw)
To: netfilter
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem with arptables et mangle
2010-07-24 16:44 Problem with arptables et mangle Antoine Souques
@ 2010-07-25 11:55 ` ZHOU Xiaobo
0 siblings, 0 replies; 2+ messages in thread
From: ZHOU Xiaobo @ 2010-07-25 11:55 UTC (permalink / raw)
To: netfilter
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-25 11:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-24 16:44 Problem with arptables et mangle Antoine Souques
2010-07-25 11:55 ` ZHOU Xiaobo
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.