Linux Netfilter discussions
 help / color / mirror / Atom feed
* 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

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox