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.

Best regards


Peter Sorensen/University of Southern Denmark/Email: [EMAIL PROTECTED]



-------------------------------------------------------------------------
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

Reply via email to