Results 1 to 1 of 1
Is there any way to inject a newly created packet based on the captured packet inside a netfilter hook call back function? My Goal is to capture a packet change ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-13-2010 #1
- Join Date
- Apr 2010
Packet Injection within netfilter module
My Goal is to capture a packet change compress its tcp payload and send it. i read ipcomp.c and i used its source. when i change skb size (like len) and tail pointer kernel hangs. maybe the way to do is to create a new packet based on captured packet and ask kernel to send it. I just don't know how to ask kernel to send a newly created packet?