Hey,
I just learned about tcpreplay. I had some files created with tcpdump that
captured udp traffic from a multicast. Using tcpreplay I was able to play
back the files on a different network and I am able to see the traffic with
tcpdump on the machine running tcpreplay. But for some reason I cannot capture
the udp packets using standard c code. I use both select and recvfrom() and I
know my code works correctly.
I also noticed that if a run tcpreplay on another machine, I don't see the
packets from tcpdump.
I've attempted to use tcprewrite but have had no success...
tcprewrite --pnat=<original source ip>:<the machine for tcpreplay>
--infile=myfile.tcpdump --outfile=myfile.pcap --fixcsum --skipl2broadcast
Does anyone know how to do this?
Eyon
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Tcpreplay-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users