Re: IPv6 support in ebtables

Bart De Schuymer <[email protected]> Sat, 26 Jan 2008 00:22:34 +0100
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <[email protected]>
Op vr, 25-01-2008 te 14:27 -0800, schreef Tseng, Kuo-Lang:
> >From: ebtables-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> [mailto:ebtables-devel-
> >[email protected]] On Behalf Of Tseng, Kuo-Lang
> >Sent: Wednesday, January 23, 2008 4:11 PM
> >Hi,
> >
> >I would like to find out if there is any IPv6 support in ebtables for
> >replacing MAC address of the Ethernet header based on TCP or UDP port
> id
> >in IPv6 packets. I would appreciate it if there is anyone on this list
> >who knows of any prior work in ebtables to support IPv6.
> >
> >One such example usage I am looking for is: TCP Port based DNAT
> >
> >Current IPv4 Support:
> >-p IPv4 -i peth0 --ip-proto 6 --ip-dport 22 -j dnat --to-dst
> >0:13:20:f5:f1:1f --dnat-target ACCEPT
> >
> >Similar support for IPv6 packets I would like to use:
> >-p IPv6 -i peth0 --ip-proto 6 --ip-dport 22 -j dnat --to-dst
> >0:13:20:f5:f1:1f --dnat-target ACCEPT
> >
> 
> I looked at version v2.0.8-2 of ebtables user space code and bridge
> netfilter kernel code from 2.6 and realized that v6 support is not
> there. 
> 
> Does anyone know if anyone is working (or planning) on adding this
> support? 
> 
> If not, I'd like to add this minimum support into ebtables for dnat on
> IPv6 packets and is it fine for me to send a patch for review?

That's fine. I'm not sure what you mean, but dnat on the IPv6 addresses
of course doesn't belong in ebtables.

cheers,
Bart



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/