Hi everybody.

   I am programming an aplication to intercept packets and add new data to
them, and later reinject them. I am using the Libipq API. However I have a
problem that I do not understand. When I modified the packet, I calculate
the new checksum and I reinject it. I can see that the packet arrives to the
receiver, however my application start to receive copies of the original
packet, and then it is all the time receiving cpies of the original one. 
 
   If the modification that I do in the packet do not implies change the
length it is work fine, but when I need to re-build the packet in another
memory area is when I have the problem commented below.

   If anybody knows whre I can get sorce code examples of packet mangling in
user space, lease tell me!!!

  Thanks in advance.

  Antonio.

Reply via email to