* Path for STOLEN Packets!!!
@ 2011-11-22 7:56 Kesava Srinivas
2011-11-22 16:16 ` shivanth
0 siblings, 1 reply; 2+ messages in thread
From: Kesava Srinivas @ 2011-11-22 7:56 UTC (permalink / raw)
To: kernelnewbies
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111122/f4df1a71/attachment.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Path for STOLEN Packets!!!
2011-11-22 7:56 Path for STOLEN Packets!!! Kesava Srinivas
@ 2011-11-22 16:16 ` shivanth
0 siblings, 0 replies; 2+ messages in thread
From: shivanth @ 2011-11-22 16:16 UTC (permalink / raw)
To: kernelnewbies
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-22 16:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-22 7:56 Path for STOLEN Packets!!! Kesava Srinivas
2011-11-22 16:16 ` shivanth
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.