views:

44

answers:

1

Let's say I have intercepted a packet from Netfilter and subsequently returned NF_STOLEN. At some point I want to re-inject that packet back to, in this case, the TCP stream it came from. I want to do this from Kernel space. So far I have been unable to find a way to do this. Thanks for the help.

A: 

Ok, should have searched a bit longer...

nf_reinject(..) seems to be proper way of handling this.

meg18019
How embarrassing. Seems nf_reinject only works if NF_QUEUE was returned. So, still looking for an amswer if the packet was stolen.
meg18019