TCPReplay, replays already captured data. It will not calculated sequence numbers, it will not do ANYTHING TCP does by nature. It simply replays what you captured previously on the wire. It is not well suited for what you are attempting to do, it will not reply at the correct times to responses from your server as it will simply replay at a rate in the pcap or a data rate you specify but is not triggered by the server responses.
Sounds like you need to make a "fake" client out of some software. I would suggest scapy (python based) with that you could create a very quick client that responds to server data. On 10/12/2011 10:09 PM, narke wrote: > James, > > I still not yet understand "pre-determined already captured" ... Does > that mean, when replay to a server, the server must produce a serial > of sequence numbers that can be pre-determined before the first SYN > connection? If so, I think this is not the design of normal TCP. > > > On 12 October 2011 23:11, James Bergeron > <james.berge...@alcatel-lucent.com> wrote: >> Yes on the tcp windowing. >> >> Canned traffic, "pre-determined already captured in a pcap" >> >> >> On 10/12/2011 10:56 AM, narke wrote: >>> What mean 'canned traffic'? And,what mean 'doesn't reply to >>> windowing' --- you mean tcp window advertising? >>> >>> Thanks. >>> >>> On 12 October 2011 22:07, James Bergeron >>> <james.berge...@alcatel-lucent.com> wrote: >>>> Well it can play to the server canned traffic, but it doesn't reply to >>>> windowing, it won't change behaviour based on the server replies etc. >>>> >>>> >>>> On 10/12/2011 10:05 AM, narke wrote: >>>>> Hi, >>>>> >>>>> It is mentioned in FAQ. But it's hard to believe because the tool >>>>> named 'TCPreplay'. So I want to confirm that my understanding is >>>>> right. >>>>> >>>>> I have a own developed TCP server that will always listen on a port. >>>>> A client can connect to it and then request data from it. >>>>> >>>>> Can I log some traffics from client to server and replay them to the >>>>> server (with some intended modifications) to test whether my server is >>>>> stable enough? >>>>> >>>>> If tcpreplay cannot do the job. Could anyone please suggest another tool >>>>> to me? >>>>> >>>>> Best Regards, >>>>> >>>>> >>>> ------------------------------------------------------------------------------ >>>> All the data continuously generated in your IT infrastructure contains a >>>> definitive record of customers, application performance, security >>>> threats, fraudulent activity and more. Splunk takes this data and makes >>>> sense of it. Business sense. IT sense. Common sense. >>>> http://p.sf.net/sfu/splunk-d2d-oct >>>> _______________________________________________ >>>> Tcpreplay-users mailing list >>>> Tcpreplay-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users >>>> Support Information: http://tcpreplay.synfin.net/trac/wiki/Support >>>> >>> >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure contains a >> definitive record of customers, application performance, security >> threats, fraudulent activity and more. Splunk takes this data and makes >> sense of it. Business sense. IT sense. Common sense. >> http://p.sf.net/sfu/splunk-d2d-oct >> _______________________________________________ >> Tcpreplay-users mailing list >> Tcpreplay-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users >> Support Information: http://tcpreplay.synfin.net/trac/wiki/Support >> > > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Tcpreplay-users mailing list Tcpreplay-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support