The Packet Replay is a new feature available in Sonic OS 6.5 and later.
This feature helps in packet crafting and packet replay which can be used to generate packets with specific headers and payload on the firewall or regenerate a certain set of traffic already captured earlier either on the firewall or externally.
This can be utilized to re-create scenarios that are intermittent and are not reproducible in real-time and monitored on the firewall for troubleshooting purposes. Also, this is helpful in generating certain types of packets and checking the behavior of the firewall or an internal device.
You can navigate to Investigate | Packet Replay to use this feature.
There are three different sections under this.
SIngle packet crafting:
EXAMPLE: Sending a DNS packet to Google DNS: 8.8.8.8 from the X0 IP: 192.168.168.168 and checking how the firewall responds to the same.
You can use any receiving interface except for WAN Interfaces. All the fields can be filled as per the scenario we are testing.
The following warning message shows up and let's you know that it can interfere with the existing connections.

You can click OK and check the status of the packets under Investigate | Packet Replay | Captured Packets.

The packets show a status of terminated as this traffic is intended for the Internet and we cannot replay packets between LAN and WAN.
Single Packet Buffer:

Pcap File:

| Field | Definition |
| IP Address | Type in the destination address to be looked up. |
| Receiving Interface | Select the receiving interface from the drop‐down menu. The IP packets that have the above‐listed destination address are assume to arrive from the interface selected in this field. |
| New IP Address | If enabled (the box is checked), the new IP address listed in this field replaces the filtered destination IP address when replaying the packets. |

| Field | Definition |
| MAC Address | Type in the destination address to be looked up. |
| Receiving Interface | Select the receiving interface from the drop‐down menu. The packets that have the above‐listed destination MAC address are assumed to arrive from the interface selected in this field. |
| New IP Address | If enabled (the box is checked), the new IP address listed in this field replaces the filtered destination IP address when replaying the packets. |
Captured, replayed packets are displayed on the Captured Packets option. Navigate to Tools | Packet Replay on the INVESTIGATE view and click Captured Packets.

You have options to clear, refresh, and export the captured replayed packets. The fields here are the same as the packet monitor fields. You can also view the Packet detail and Hex dump like the packet monitor section.