There are not many good tools for replaying traffic, most people use WireShark (formely known as Ethereal) for capturing the traffic, but what happens if you want to take that capture and reply it over the wire?
Someone has this problem so they decided to code their own solution, thankfully for us! There are quite a few tools to do this for *nix based systems but none for Windows, so here we go, a traffic replay tool for the Windows platform!
PReplay is a utility to replay captured data over the network, its main feature is that it will record the time difference between two packets (not very accurately but it works for micro/millisecond difference) it reads the capture file and then determines the time difference for the next packet.
You can give list of capture file which you want to send in the Preplay.ini in the [SendingFileName] section as below:
1 2 |
1=IPDump.cap 2=IPDump2.cap |
Semicolon (;) is used for commenting a line you don’t want the program to read, so you can
comment out the file name which you don’t want to send like this:
1 2 3 |
[SendingFileName] 1=IPDump.cap ;2=IPDump2.cap |
It will not send 2nd file.
SendingFilePath, here you can specify the directory which contains the captured files.
You can download PReplay here:
This is version 1.1 which has a few fixes such as the ability to change the MAC and IP address of the gateway and client machine.
Tim Abell says
I downloaded the preplay source from CVS, but it wouldn’t compile for me on Ubuntu (possibly a libnet versioning problem).
I found tcpreplay is available in the repos so will be trying that instead.
http://tcpreplay.synfin.net/trac/
secgeek says
hi tim,
preplay is for windows only.i thik u have downloaded the wrong source from cvs?as tht was a diffrent project i think.
you can get the latest one here:-
http://secgeeks.com/preplay_1_1.html
RaSchi says
I just tried the download link you give here and I also tried a search on secgeeks.com but all of the links to the ZIP file I found were broken links (404…). Is there still a version of PReplay available anywhere?
Darknet says
I can’t find a link, if anyone has it you can send it to me and I’ll upload it here. Perhaps try e-mailing secgeek too.
Let me know if you have any luck.
Radhakrishna says
it is still available….check out this link
http://www.secgeeks.com/preplay_1_1.html
http://secgeeks.com/PReplay.zip
thanks.
Darknet says
I’ve updated to the post to reflect the new download location, this software is available for download again.