On Thu, Aug 17, 2006 at 12:02:56PM -0700, Aaron Turner wrote: > > (A) I could probably live with, because once the transformation to > > ethernet was done, I could probably use tcprewrite to rewrite the MAC > > addresses. > > Yeah, nothing really i can suggest about that right now.
"Don't be an idiot" would work. I used $DMAC and $SMAC, but this was after I defined these env variables, logged out, and logged back in again. You can probably figure out why I had invalid ethernet addresses :) > > (B) is sort of bad :) > > That one is actually easy to fix. edit do_packets.c. And go to line > 218 and add the single line like so: > > > l2len = 4; /* add this line. Note that this is the length of > the HDLC header */ > > /* Rewrite any Layer 2 data */ > if ((newl2len = rewrite_l2(&pkthdr, pktdata, nextpkt, > linktype, l2enabled, l2data, l2len)) == 0) > > > That should fix it so that all the packets (not just the first one) > aren't truncated. Yup. It works beautifully now. Thanks, Aaron -- this saves my butt :) -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
