I received this with my personal mail, but it certainly belongs here...
--
Live long and prosper
- Harald Welte / [EMAIL PROTECTED] http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M+
V-- PS++ PE-- Y++ PGP++ t+ 5-- !X !R tv-- b+++ !DI !D G+ e* h--- r++ y+(*)
--- Begin Message ---
Hi!!!
I have been using your source code for testing netfilter user space.
Now, I am writting an application to intercept packects with a certain port,
send them to my application, and then modify them and reinject another time.
I have a big problem, that I cannot solve. Maybe you can help me!!.
When I intercept the packet I allocate memory to have the new modified
packet and later I reinject this new packet that it is stored in a different
memory position that the original one. I can see that this packet reachs the
destination, but now the problems starts, the application then start to
receive copies from the original one, I do not how, but in the queue several
copies were created.
If the modification that I do to the packet does not implies to change
the length and therefore not to change the memry address, the application
works fine. So I think that the problem lies in the fact that I need to move
the packet to another memory address, so how can I solve that?
If you have any idea about this strange working I will be very grateful
to you.
Thanks in advance.
Best regards.
Antonio.
--- End Message ---