Sunday, June 5, 2011

PReplay – A pcap Network Traffic Replay Tool for Windows

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=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:

[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 the tool 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.

0 comments:

Post a Comment