Thanks for the reply. I overlooked this issue when seeking. Really a pity that this is a dead end.
flowreplay would have been a nice tool when testing new server setups. I will take another look around but this is probably to complicated to find a consistent solution. Anyway thanks. best regards Peter -----Oprindelig meddelelse----- Fra: Aaron Turner [mailto:[EMAIL PROTECTED] Sendt: 28. oktober 2008 16:11 Til: Main forum for tcpreplay Emne: Re: [Tcpreplay-users] test server with real life traffic On Tue, Oct 28, 2008 at 3:12 AM, Peter Sørensen <[EMAIL PROTECTED]> wrote: > > Hello, > > I am quite new to this list and not very familiar with tcpreplay and the > possible ways to use it. > I have tried to google around to se if anybody had an answer to my problem > but none so far. > > What I want to do is test a mailsetup (postfix,amavis....whatever) with real > life traffic. > > What I have tried to do is : > > 2 servers - 1 in production (ip 10.8.69.20 ) and 1 in test (ip 10.9.224.11). > > I use tcpdump to capture the traffic to the server in production. I do > this from a different server sitting nearby on the same network. > > tcpdump host production.xxx.xxx -w prod.pcap > > >From what I understand it would then be possible to do a replay. > > I rewrite the src/dst addresses with tcprewrite like ( first calling tcpprep) > : > > tcpprep --port --cachefile=prod.cache --pcap=prod.pcap tcprewrite > --srcipmap=10.8.69.20:10.9.224.11 --dstipmap 10.8.69.20:10.9.224.11 > --cachefile=prod.cache --infile=prod.pcap --outfile=test.pcap > > and finally call tcpreplay like: > > tcpreplay -i eth0 test.pcap > > It sends the packets OK but nothings happens. What am I missing? > > I probably totally misunderstood this or are trying to do something not > possible to do with theese tools. > Could someone please shed some light on this. This is covered in the FAQ here: http://tcpreplay.synfin.net/trac/wiki/FAQ#Doestcpreplaysupportsendingtraffictoaserver -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ------------------------------------------------------------------------- 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 ------------------------------------------------------------------------- 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