Main Menu
  • COMPANY
    • Boundless Cybersecurity
    • Press Releases
    • News
    • Awards
    • Leadership
    • Press Kit
    • Careers
  • PROMOTIONS
    • SonicWall Promotions
    • Customer Loyalty Program
  • MANAGED SERVICES
    • Managed Security Services
    • Security as a Service
    • Professional Services
SonicWall
  • Products
    • Network Security
      • Next Generation FirewallNext-generation firewall for SMB, Enterprise, and Government
      • Security ServicesComprehensive security for your network security solution
      • Network Security ManagerModern Security Management for today’s security landscape
    • Advanced Threat Protection
      • Capture ATPMulti-engine advanced threat detection
      • Capture Security applianceAdvanced Threat Protection for modern threat landscape
    • Access Security
      • Cloud Edge Secure AccessDeploy Zero-Trust Security in minutes
      • Secure Mobile AccessRemote, best-in-class, secure access
      • Wireless Access PointsEasy to manage, fast and secure Wi-FI
      • SwitchesHigh-speed network switching for business connectivity
    • Email Security
      • Email SecurityProtect against today’s advanced email threats
    • Cloud Security
      • Cloud App SecurityVisibility and security for Cloud Apps
      • Cloud Firewall (NSv)Next-generation firewall capabilities in the cloud
    • Endpoint Security
      • Capture ClientStop advanced threats and rollback the damage caused by malware
      • Content Filtering ClientControl access to unwanted and unsecure web content
    • Product Widgets
      • Product Menu Right Image
      • Capture Cloud Platform
        Capture Cloud Platform

        A security ecosystem to harness the power of the cloud

    • Button Widgets
      • Products A-Z
        all products A–Z FREE TRIALS
  • Solutions
    • Industries
      • Distributed Enterprises
      • Retail & Hospitality
      • K-12 Education
      • Higher Education
      • State & Local
      • Federal
      • Healthcare
      • Financial Services
      • Carriers
    • Use Cases
      • Secure SD-Branch
      • Zero Trust Security
      • Secure SD-WAN
      • Office 365 Security
      • SaaS Security
      • Secure WiFi
    • Solutions Widgets
      • Solutions Content Widgets
        Federal

        Protect Federal Agencies and Networks with scalable, purpose-built cybersecurity solutions

      • Solutions Image Widgets
  • Partners
    • SonicWall Partners
      • Partners Overview
      • Find a Partner
      • Authorized Distributors
      • Technology Partners
    • Partner Resources
      • Become a Partner
      • SonicWall University
      • Training & Certification
    • Partner Widgets
      • Custom HTML : Partners Content WIdgets
        Partner Portal

        Access to deal registration, MDF, sales and marketing tools, training and more

      • Partners Image Widgets
  • Support
    • Support
      • Support Portal
      • Knowledge Base
      • Technical Documentation
      • Community
      • Video Tutorials
      • Product Life Cycle Tables
      • Partner Enabled Services
      • Contact Support
    • Resources
      • Resource Center
      • Free Trials
      • Blog
      • SonicWall University
      • MySonicWall
    • Capture Labs
      • Capture Labs
      • Security Center
      • Security News
      • PSIRT
      • Application Catalog
    • Support Widget
      • Custom HTML : Support Content WIdgets
        Support Portal

        Find answers to your questions by searching across our knowledge base, community, technical documentation and video tutorials

      • Support Image Widgets
  • COMPANY
    • Boundless Cybersecurity
    • Press Releases
    • News
    • Awards
    • Leadership
    • Press Kit
    • Careers
  • PROMOTIONS
    • SonicWall Promotions
    • Customer Loyalty Program
  • MANAGED SERVICES
    • Managed Security Services
    • Security as a Service
    • Professional Services
  • Contact Sales
  • English English English en
  • BLOG
  • CONTACT SALES
  • FREE TRIALS
  • English English English en
SonicWall
  • Products
    • Network Security
      • Next Generation FirewallNext-generation firewall for SMB, Enterprise, and Government
      • Security ServicesComprehensive security for your network security solution
      • Network Security ManagerModern Security Management for today’s security landscape
    • Advanced Threat Protection
      • Capture ATPMulti-engine advanced threat detection
      • Capture Security applianceAdvanced Threat Protection for modern threat landscape
    • Access Security
      • Cloud Edge Secure AccessDeploy Zero-Trust Security in minutes
      • Secure Mobile AccessRemote, best-in-class, secure access
      • Wireless Access PointsEasy to manage, fast and secure Wi-FI
      • SwitchesHigh-speed network switching for business connectivity
    • Email Security
      • Email SecurityProtect against today’s advanced email threats
    • Cloud Security
      • Cloud App SecurityVisibility and security for Cloud Apps
      • Cloud Firewall (NSv)Next-generation firewall capabilities in the cloud
    • Endpoint Security
      • Capture ClientStop advanced threats and rollback the damage caused by malware
      • Content Filtering ClientControl access to unwanted and unsecure web content
    • Product Widgets
      • Product Menu Right Image
      • Capture Cloud Platform
        Capture Cloud Platform

        A security ecosystem to harness the power of the cloud

    • Button Widgets
      • Products A-Z
        all products A–Z FREE TRIALS
  • Solutions
    • Industries
      • Distributed Enterprises
      • Retail & Hospitality
      • K-12 Education
      • Higher Education
      • State & Local
      • Federal
      • Healthcare
      • Financial Services
      • Carriers
    • Use Cases
      • Secure SD-Branch
      • Zero Trust Security
      • Secure SD-WAN
      • Office 365 Security
      • SaaS Security
      • Secure WiFi
    • Solutions Widgets
      • Solutions Content Widgets
        Federal

        Protect Federal Agencies and Networks with scalable, purpose-built cybersecurity solutions

      • Solutions Image Widgets
  • Partners
    • SonicWall Partners
      • Partners Overview
      • Find a Partner
      • Authorized Distributors
      • Technology Partners
    • Partner Resources
      • Become a Partner
      • SonicWall University
      • Training & Certification
    • Partner Widgets
      • Custom HTML : Partners Content WIdgets
        Partner Portal

        Access to deal registration, MDF, sales and marketing tools, training and more

      • Partners Image Widgets
  • Support
    • Support
      • Support Portal
      • Knowledge Base
      • Technical Documentation
      • Community
      • Video Tutorials
      • Product Life Cycle Tables
      • Partner Enabled Services
      • Contact Support
    • Resources
      • Resource Center
      • Free Trials
      • Blog
      • SonicWall University
      • MySonicWall
    • Capture Labs
      • Capture Labs
      • Security Center
      • Security News
      • PSIRT
      • Application Catalog
    • Support Widget
      • Custom HTML : Support Content WIdgets
        Support Portal

        Find answers to your questions by searching across our knowledge base, community, technical documentation and video tutorials

      • Support Image Widgets
  • COMPANY
    • Boundless Cybersecurity
    • Press Releases
    • News
    • Awards
    • Leadership
    • Press Kit
    • Careers
  • PROMOTIONS
    • SonicWall Promotions
    • Customer Loyalty Program
  • MANAGED SERVICES
    • Managed Security Services
    • Security as a Service
    • Professional Services
  • Contact Sales
  • Menu

How to use Packet Replay?

05/06/2020 5 People found this article helpful 86,706 Views

    Download
    Print
    Share
    • LinkedIn
    • Twitter
    • Facebook
    • Email
    • Copy URL The link has been copied to clipboard

    Description




    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.


    Resolution

    You can navigate to Investigate | Packet Replay to use this feature.

    There are three different sections under this. 

    1. Single Packet: Craft or replay a single packet with specific headers and payload.
    2. PCAP file: Uupload a PCAP file and replay the PCAP file on selected interfaces. 
    3. Captured Packets: Replayed packets are captured in an individual buffer and presented here similar to the regular captured packets.

     

    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.

    Image

    The following warning message shows up and let's you know that it can interfere with the existing connections.

    Image

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

    Image

    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:

    • Provide the packet to replay by inputting the hex dump of the packet.
    • Hex dump of any packet can be copied from Wireshark and pasted in the Packet Buffer input box.
    • Hex dump is a complete packet with an Ethernet header without CRC.

     Image

     

     Pcap File:

    • Replayed packets are provided from a Pcap format file such that packets after IP or MAC filtering are replayed on specified receiving interfaces.
    • Any subset of packets within the pcap file can be selected by specifying the IP/MAC address and only these packets would be replayed.

     

    1.  To define by IP:
    • Navigate to Tools | Packet Replay on the INVESTIGATE view
    • Click Pcap File.
    • Select IP in the Type field. Two IP filters are provided.

      Image
    • For each IP filter complete the following fields:

      FieldDefinition
      IP AddressType in the destination address to be looked up.
      Receiving InterfaceSelect 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 AddressIf enabled (the box is checked), the new IP address listed in this field
      replaces the filtered destination IP address when replaying the packets.
    • Click Browse to search for and select a Pcap file to be replayed.
    • Click UPLOAD to upload the selected file.
    • Click REPLAY to replay the packets in the uploaded Pcap file.
    • When done, click DELETE to delete the uploaded file.

      2. To define by MAC:

    • Navigate to Tools | Packet Replay on the INVESTIGATE view.
    • Click Pcap File.
    • Select MAC in the Type field. Two MAC filters are provided.
      Image
    • For each IP filter complete the following fields:

      FieldDefinition
      MAC AddressType in the destination address to be looked up.
      Receiving InterfaceSelect 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 AddressIf enabled (the box is checked), the new IP address listed in this field
      replaces the filtered destination IP address when replaying the packets.
    • Click Browse to search for and select a Pcap file to be replayed.
    • Click UPLOAD to upload the selected file.
    • Click REPLAY to replay the packets in the uploaded Pcap file.
    • When done, click DELETE to delete the uploaded file.

    Captured, replayed packets are displayed on the Captured Packets option. Navigate to Tools | Packet Replay on the INVESTIGATE view and click Captured Packets.

    Image

    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.

    Related Articles

    • 2FA authentication error using TOTP "Please try again later"
    • Methods to add Address Objects
    • Configure probe monitoring for WAN Failover and load balancing

    Categories

    • Firewalls > SonicWall NSA Series
    • Firewalls > SonicWall SuperMassive 9000 Series
    • Firewalls > SonicWall SuperMassive E10000 Series
    • Firewalls > TZ Series

    Not Finding Your Answers?

    ASK THE COMMUNITY

    Was This Article Helpful?

    YESNO

    Article Helpful Form

    Article Not Helpful Form

    Company
    • Careers
    • News
    • Leadership
    • Awards
    • Press Kit
    • Contact Us
    Popular resources
    • Communities
    • Blog
    • SonicWall Capture Labs

    Stay In Touch

    • By submitting this form, you agree to our Terms of Use and acknowledge our Privacy Statement. You can unsubscribe at any time from the Preference Center.
    • This field is for validation purposes and should be left unchanged.
    • Facebook
    • Twitter
    • Linkedin
    • Youtube
    • Instagram

    © 2022 SonicWall. All Rights Reserved.

    • Legal
    • Privacy
    • English
      Scroll to top
      Trace:a39913c6a0ef126b3331d1fb2ef6d8e7-77