modifying ethernet header dst mac with ebtables?
Hi,
I´m working in a briding enviroment and i want to be sure that my arp requests outgoing a bridge interface will be hear by only one specific device (because of security reason)
are there any way to re-write the ff:ff:ff:ff:ff:ff on this arp request so they appears like a unicast?
Do de ip stack understand this "unicast" arp request?
Thanks in advance for your help
Victor
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Victor,
: I´m working in a briding enviroment and i want to be sure that my arp : requests outgoing a bridge interface will be hear by only one specific : device (because of security reason)
Strange need! Sounds interesting.
: are there any way to re-write the ff:ff:ff:ff:ff:ff on this arp request : so they appears like a unicast?
I imagine that Julian will jump in here and reply to you, but I thought I'd point you to ip arp, an add-on tool Julian has written for iproute2.
: Do de ip stack understand this "unicast" arp request?
Er...um...I don't know. Good question.
-Martin
Signature · 5 lines
Martin A. Brown --- SecurePipe, Inc. --- [email protected] _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hello,
Quoted 3 lines · Martin A. Brown
: I´m working in a briding enviroment and i want to be sure that my arp : requests outgoing a bridge interface will be hear by only one specific : device (because of security reason)
Victor, what about trying something similar to the example
in the ebtables docs:
ebtables -t nat -A PREROUTING -d ff:ff:ff:ff:ff:ff -i eth0 -j dnat --to-destination 54:44:33:22:11:00
Quoted 7 lines
: are there any way to re-write the ff:ff:ff:ff:ff:ff on this arp request : so they appears like a unicast?
I imagine that Julian will jump in here and reply to you, but I thought I'd point you to ip arp, an add-on tool Julian has written for iproute2.
iparp can not see these packets (layer 2) but for other
purposes probes can be originated with unicast dst MAC in this way:
ip arp add table output to 1.2.3.4 lldst 00:11:22:33:44:55
Quoted 1 line
: Do de ip stack understand this "unicast" arp request?
Yes but at MAC level the ARP code cares only for
unicast/broadcast, no matter the actual dst MAC of the received packet.
Regards
--
Julian Anastasov <[email protected]>
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Julian , Martin
I´ve succesfully tested the ebtables experiment doing dnat and writing specific mac instead of all FF´s to the arp querys
it works fine
if some one want see the small cap file is available at
http://megaserv.homeip.net/arp.cap
regards
and thanks again for your help
Quoted 45 lines · --- Julian Anastasov
Hello,
Quoted 1 line · Martin A. Brown
: I´m working in a briding enviroment and i want
to be sure that my arp
Quoted 1 line
: requests outgoing a bridge interface will be
hear by only one specific
Quoted 1 line
: device (because of security reason)
Victor, what about trying something similar to the
example
in the ebtables docs:ebtables -t nat -A PREROUTING -d ff:ff:ff:ff:ff:ff -i eth0 -j dnat --to-destination 54:44:33:22:11:00
Quoted 1 line
: are there any way to re-write the
ff:ff:ff:ff:ff:ff on this arp request
Quoted 3 lines
: so they appears like a unicast?
I imagine that Julian will jump in here and reply
to you, but I thought
Quoted 1 line
I'd point you to ip arp, an add-on tool Julian has
written for iproute2.
Quoted 2 lines
iparp can not see these packets (layer 2) but for
other
purposes probes can be originated with unicast dst MAC in this way:ip arp add table output to 1.2.3.4 lldst
00:11:22:33:44:55Quoted 1 line
: Do de ip stack understand this "unicast" arp
request?
Yes but at MAC level the ARP code cares only for
unicast/broadcast, no matter the actual dst MAC of the received
packet.
Quoted 8 lines
Regards
--
Julian Anastasov <[email protected]>_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/