On Tue, Aug 08, 2006 at 04:02:50PM -0700, Aaron Turner wrote: > My guess is that tcpreplay is getting confused with the changing > offsets for the start of layer 3. The solution I would pose is > running tcprewrite twice: > > tcprewrite --dlink=00,e0,80,50,f7,00,00,07,e9,d4,38,bf,08,00 --dlt=1 > --infile=infile.pcap --outfile=out1.pcap
Unfortunately when I try this, I get: --- Unable to edit packets given options/DLT types: Sorry, but tcpedit currently only supports writing to DLT_EN10MB output --- I'm amused, by the way, by the mention of 'tcpedit' :) > You may also want to use the --smac/--dmac options in the 2nd > execution to rewrite the mac addresses of the packets so that the > source/destination mac addresses match up with the new IP's, otherwise > every packet will have the same src & dst mac as specified by --dlink. Fine in my case :) -roy ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Tcpreplay-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
