Hi all.
To continue the trend of ipv6 patches flowing around, here is a patch
to add some netfilter hooks for ipv6. It modifies ip6_input.c and ip6_output.c
and creates netfilter_ipv6.h. I'm sure it misses some packet paths but it
should get unicast tcp and udp traffic. I've also got a test module that uses
it at http://lordbeatnik.dynodns.net/netfilter named test.c that connects to
each netfilter hook and printk's a debug message saying what hook was just
called and some info about the packet.
I'd like to get some feedback on people's opinions of what I've done. I
believe I've placed the NF_HOOKs in the best locations but I don't know for
sure.
Anyway, I'd like to have netfilter hooks for ipv6 so please send me any
suggestions/flames/comments about this patch if someone has the time.
David "LordBeatnik" Jeffery
p.s. this patch doesn't include Alexey's tcp fix, but I have a patch for it on
my website. The attached patch can also be downloaded from my website.
------
Do you do Linux? :)
Get your FREE @linuxstart.com email address at: http://www.linuxstart.com
nf_ipv6_0.2-2.3.33.patch
Description: Binary data
|