tcp - tcpreplay: -T option -
in tcpreplay there useful feature which, according official faq's, called parameter -t :
the packet length (in case 8892 bytes) greater maximum transmition unit (mtu) on outgoing interface. tcpreplay must skip packet. alternatively, can specify -t option , tcpreplay truncate packet mtu size, fix checksums , send it.
unfortunately, -t appears different in man page:
-t string, --timer=string select packet timing mode: select, ioport, rdtsc, gtod, nano, abstime. option may appear 1 times. default string option is: gtod allows select packet timing method use: nano - use nanosleep() api select - use select() api ioport - write i386 io port 0x80 rdtsc - use x86/x86_64/ppc rdtsc gtod [default] - use gettimeofday() loop abstime - use os x's absolutetime api has option been removed in more recent versions of tcpreplay?
yes, separated tcprewrite (which transforms capture files) , options merged in command tcpreplay-edit.
it looks options may need equivalent -t option -c, , --mtu-trunc (+ --mtu=n if aren't dealing standard 1500.) may instead need -f if problem @ collection time.
here fuller description faq
it written tcprewrite, should work same way tcpreplay-edit
Comments
Post a Comment