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

Clifford Wolf clifford at clifford.at
Tue Dec 27 16:41:05 CET 2005


On Sun, Dec 25, 2005 at 02:35:36AM +0200, Jarek wrote:
> 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.

-- 
 _  _       _      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
 



More information about the netfilter-devel mailing list