Thread (2 messages) 2 messages, 2 authors, 2011-11-22

Path for STOLEN Packets!!!

From: shivanth <hidden>
Date: 2011-11-22 16:16:53

On 11/22/2011 1:26 PM, Kesava Srinivas wrote:
Hi ,
Even after lot of google; didn't get the accurate answer for this. 
After STEALING Packets (NF_STOLEN); want to send the Manipulated 
Packet (added extra header) to some of the available net devices. 
Please let me know what is the Function that I Should call to do this 
step ?? Also; once the skb was expanded by 20 bytes to add new ip 
header; do I need to reassign the skb pointer to the new location ??

-Thanks in Advance,
VKS



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi srinivas,
     You can send/transmit  the manipulated skb buffer by passing it to 
dev_queue_xmit . Be carefull though, any error crafting the packet, a 
kernel panic is waiting 4 you :-)
These articles might help
http://www.phrack.org/issues.html?issue=61&id=13 
<http://www.phrack.org/issues.html?issue=61&id=13>

http://www.phrack.org/issues.html?issue=55&id=12#article
Regards
shivanth

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111122/508bae9e/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help