intercepting packets, buffering and resending them
Hi,
This is a networking question, but delves into unix programming aspects as well.I troed [ostong this on the networking list but got no responses.
How do intercept any packets that I am sendind from an interface, store it in a buffer, and periodically send it away?
That is, if packets are sent every x seconds from application, I want to buffer these packets and empty buffer every y seconds, with y > x.
Would I need to modify any source code in the linux kernel stack, or is there any other way. I do not have control over the application, and can only intercept them before I send them. Any known links that explains the process is appreciated as well.
Thanks in advance,
G
|