Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Windows tool for capture and playback of modified UDP packets?

I'm looking for a tool (or a set of tools) for Windows that will perform the following:

  1. Capture UDP packets from a specific network interface to a file.
  2. Play a stream of packets from a file through a network interface.
  3. In addition to 2: replay the original packets to a different host than the original one.

I've already got 1 and 2, but I can't find a tool to do 3.

For capturing I can use Wireshark, for playback Colasoft Packet Player, but I couldn't find a way to change the host the packets are sent to.

The tool should work on Windows XP SP2/3.

like image 216
kshahar Avatar asked Dec 11 '08 21:12

kshahar


People also ask

Does Tcpreplay work with UDP?

For ICMP and UDP based protocols tcpliveplay will not work, however other replay products should work fine as long as the MAC and IP addresses are set correctly. You can edit them using tcprewrite or tcpreplay-edit.

What is UDP Wireshark?

User Datagram Protocol (UDP) The UDP layer provides datagram based connectionless transport layer (layer 4) functionality in the InternetProtocolFamily. UDP is only a thin layer, and provides not much more than the described UDP port multiplexing.


1 Answers

The BitTwist (http://bittwist.sourceforge.net) editor commandline program (bittwiste) allows you to change the destination IP address (and port number) amongst other things.

See a similar question (and worked answer) at the Super User site: Replay UDP Packet Capture

like image 138
spxl Avatar answered Sep 22 '22 15:09

spxl