Olsr and Netfilter
Hi!
I'm a newbie on kernel programming and on NETFILTER and in the middle of making a netfilter-hook into PREROUTING and INPUT that simply changes the destination of a packet. From the source-code I've read from Rusty Russel
and Harald Welte guide I can not see any difficulties with doing this, but in case I'm wrong and before I try to break my kernel open....is it not possibly to hook in and change the destination of a packet and then push it on without further notice?
I'm making a plugin for the Unik Olsrd implementation which is supposed to eliminate the gateway-problem it has. By changing the destination in INPUT at the source-host and then change it back to the original in PREROUTING at the gateway I can preserve the route and avoid a reset when the protocol changes default gateway because of topology changes.
Jørn Andre