Skip to contentSkip to conversation

iptables -m mac, --mac-dst support.

DISCUSSION Jarek 2 participants 2 messages Dec 25, 2005 – Dec 27, 2005 netfilter

lore
Share & tools
lore

Jarek

author
#0 lore raw

Hello all.

I was wondering if there is somewhere around a patch to support MAC based not on source but on destination. ? Cause I'd like to check if dst ID and dst MAC are x.x.x.x and zx:as:qw:zx:as:qw

If yes maybe you could share it, and if no.. any ideas if it's going to show up or maybe not at all?

Thanks! and Mery Christmas!

#1 lore raw
Quoted 6 lines · Jarek

I was wondering if there is somewhere around a patch to support MAC based not on source but on destination. ? Cause I'd like to check if dst ID and dst MAC are x.x.x.x and zx:as:qw:zx:as:qw

If yes maybe you could share it, and if no.. any ideas if it's going to show up or maybe not at all?

Use 'ebtables -d'. Note that the destination MAC is only available in the POSTROUTING chain.

Signature · 7 lines
 _  _       _      Nerds on Air - Radio for Geeks      _  __     ___
| \| |___  /_\   On 1st and 3rd Friday of the month   / |/ /__  / _ |
| .` / _ \/ _ \    21:00-22:00 CET on Radio Orange   /    / _ \/ __ |
|_|\_\___/_/ \_\     http://www.clifford.at/noa/    /_/|_/\___/_/ |_|
 
"Paranoia is faith in a hidden order behind the visible."
-- pi, the movie