Re: IPv6 support in ebtables

"Tseng, Kuo-Lang" <[email protected]> Fri, 25 Jan 2008 14:27:54 -0800
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <3F25FE8C477E9E4FB3D42C2FF937C08A767706@orsmsx423.amr.corp.intel.com>
>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?

Kuo

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