The deal is that I need to reproduce an issue with an internal application that had been triggered off a particular HTTP response given by a web server.
I captured the TCP stream with wireshark and the stream goes like this:
>SYN
<SYN ACK
>ACK
>HTTP REQUEST
<HTTP RESPONSE
>FIN ACK
<FIN ACK
What I plan to do is set up my own web server, modify the hosts file, and be able to have any http request aimed at the web server trigger this http response.
Do you know of a way I can do this? Someone has suggested tcpreplay may be able to do it, but I'm still researching if it will be able to do what I need.
I can easily trigger the request from the client at any time.