Firstly, I am relatively new to network programming. I want to intercept and delay HTTP traffic before it gets to the server application. I delved into libnetfilter_queue, which gives me all the information I need to delay, but at a too low level. I can delay the traffic there, but if I do not accept IP datagrams almost immediately (so I send them to the stack when I want to postpone them), they will be indignant (when the ACK does not come), which I do not want.
I do not want or should deal with TCP, but only the payload that it delivers. So my question is how to intercept traffic on a specific port before it is assigned, but after TCP has confirmed and verified it?
thanks
Edit: Hope this is obvious from the tag and libnetfilter_queue is for Linux
Ray2k source
share