From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Craig Subject: Re: POSTROUTING hooks Date: Tue, 06 Jun 2006 17:21:37 +1000 Message-ID: <44852D01.3010206@snapgear.com> References: <0633E0EDB4F25F43A2D7179CA11FAFAB255456@xavier.staff.greatlakes.net> <20060606063723.GH8333@oknodo.bof.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Netfilter Development Mailinglist Return-path: To: Patrick Schaaf , "Eliot, Wireless and Server Administrator, Great Lakes Internet" In-Reply-To: <20060606063723.GH8333@oknodo.bof.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org On 06/06/2006 04:37 PM, Patrick Schaaf wrote: >> I don't ever recall seeing destination MAC matching support. Do you know >> what version of the code this was in? > > Hmm. Google fails me. Maybe my memory completely failed me... Help, anybody? :) I found lots of talk about iptables dst mac matches, but no code. ebtables can match on destination MAC. This means you have to create a dummy bridge though, which slows things down. Another option is to create static arp entries, and then just filter by IP address.