Skip to main content

Posts

How to play back captured tcp packets. - Part 2. Reuse received packets

Introduction Through various packet capture tools, we can capture various network packets such as tcp, udp, and usb for testing or monitoring purposes. Sometimes, however, we feel the need to reuse these captured packet data for testing. This article is about this need. What is the goal? If the goal of Part 1 is to reuse the captured sent packets, the goal of Part 2 is to reuse the captured received packets to verify that the response to the test packets has the expected value. How to reuse received packets. If the engineer's prediction is not wrong, the test message will be sent and then the corresponding message packet will be received. The problem is that it is not easy to see all of these response message data. To solve this problem, we create the expected message packets from the captured packets and compare them with the received message packets during the test. What do we need? - It should be easy to check and edit on the GUI to utilize the captured dat...

How to replay captured tcp packets. - Part 1. Reusing Sent Packets

Introduction Through various packet capture tools, we can capture various network packets such as tcp, udp, and usb for testing or monitoring purposes. Sometimes, however, we feel the need to reuse these captured packet data for testing. This article is about this need. How to reuse captured packets at the testing level. What is the goal? The goal is to reuse(playback) the captured message packets and send the test packets to the target system. What is the problem? As we can easily guess, there are two problems with reusing captured packets. First, most captured packet data is hard to use right away.  That means, you have to modify the data value a bit to make it actually available. Second, it is not easy to modify these data. Example of modification Find the specific packet you want to reuse in a large number of captured data packets Again, find and edit the data at the specific location in the packet. There are very few tools that support user-friend...