Scapy could be used to do what you want.
arthur wrote:
From: "Aaron Turner" <[EMAIL PROTECTED]>
To: "Main forum for tcpreplay" <tcpreplay-users@lists.sourceforge.net>
Sent: Monday, May 26, 2008 4:28 PM
Subject: Re: [Tcpreplay-users] tcp host simulator
On Mon, May 26, 2008 at 9:15 AM, arthur <[EMAIL PROTECTED]> wrote:
Greeting...
I have known Tcpreplay for a while but just start to give a try today. I
read the online manual but now I am thinking maybe I need something else
;-)
What I want to do is to simulate a tcp host like this:
1. capture a tcp session (multiple send/response) and save to a cap file
2. split server responses and output to a cache file
3. use a tool (tcpreplay?) to open the cache file, and listen on the
server
tcp port
4. accept client tcp connection, response one server msg after each
client
msg (regardless what the client sends)
So it is a tcp/app level replay and I don't care the captured IP level
details. Can I do this with Tcpreplay, if not, any suggestion.
Thanks in advance.
I'm not aware of any tool which does what you ask.
--
Aaron Turner
http://synfin.net/
http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -- Benjamin Franklin
Thanks for your input. I think I am going to code a tcp proxy which could
record the tcp traffic in the middle and save them to file, then plays the
server messages.
Cheers,
Arthur
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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