<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 11/22/2011 1:26 PM, Kesava Srinivas wrote:
<blockquote
cite="mid:CADWUQZ7XR=ELSjwedTV3GP+E1W0c+-UKxZJ5OkeXEqM9X2TG=Q@mail.gmail.com"
type="cite"><font face="courier new,monospace">Hi ,<br>
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 ??<br>
<br>
-Thanks in Advance,<br>
</font><span style="font-family:courier new,monospace">VKS</span><br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kernelnewbies mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a>
<a class="moz-txt-link-freetext" href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a></pre>
</blockquote>
Hi srinivas,<br>
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 :-)<br>
These articles might help <br>
<a href="http://www.phrack.org/issues.html?issue=61&id=13">http://www.phrack.org/issues.html?issue=61&id=13</a><br>
<br>
<a class="moz-txt-link-freetext" href="http://www.phrack.org/issues.html?issue=55&id=12#article">http://www.phrack.org/issues.html?issue=55&id=12#article</a><br>
Regards<br>
shivanth<br>
<br>
</body>
</html>