On Mon, Aug 22, 2011 at 4:15 PM, Sriharsha <harsha.gan...@gmail.com> wrote: > Hi, > > I have a large tcp dump file (~30 GB). For every packet with source IP > 'X', I need to replay it to server IP 'Y' at port 'Z'. I have the > fields X Y Z in a file. Can this be done with tcpreplay? I have looked > at some basic examples but could not find an if-else-then example. > Any advice is greatly appreciated.
Not really. Tcprewrite can't use the value of one field (the source IP) to modify another field (the destination IP and port). -- Aaron Turner http://synfin.net/ Twitter: @synfinatic http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin "carpe diem quam minimum credula postero" ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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