Skip to content
@Packet-Batch

Packet Batch

A collection of high-performance applications that send network packets. Used for penetration testing including Denial of Service (DoS), and network monitoring.

A collection of high-performance applications and tools designed for sending network packets. It serves two main purposes: penetration testing, which involves assessing network security by simulating various attacks like Denial of Service (DoS); and network monitoring, which involves analyzing and inspecting network traffic.

Among these applications, two stand out as they utilize AF_XDP (eXpress Data Path) and the DPDK (Data Plane Development Kit) technologies. AF_XDP is a fast and efficient network socket technology, while the DPDK is a kernel-bypass framework that allows for optimized packet processing in the user space.

By leveraging AF_XDP and the DPDK, these special applications can generate a significant amount of network traffic, making the most out of the available hardware resources.

With that said, if these applications are launched from multiple sources to the same network/IP address, it is considered a Distributed Denial of Service (DDoS) attack.

These applications allow you to customize many of the packet's contents including layer 2/3/4 headers and payload data along with launch different types of attacks at once or in a chain via sequences.

NOTE - This project was inspired by my previous Packet Sequence project. Packet Sequence only supports AF_PACKETv3 Linux sockets, though.

2025 Revamp

A revamp is in-progress that'll combine all packet processing technologies listed below into one main program. At this time, the revamp is not completed, but you may notice some repositories are marked as old (these are mostly unsupported).

Applications

As mentioned above, there are three applications for this project; Standard, AF_XDP, and DPDK.

  • Standard - Utilizes AF_PACKET Linux sockets and supports TCP cooked sockets for establishing TCP connections automatically.
  • AF_XDP - Uses AF_XDP Linux sockets which is faster than AF_PACKETv3, but doesn't support TCP cooked sockets.
  • DPDK - Uses the DPDK which is faster than other applications, but since the DPDK is a kernel-bypass library, it is harder to setup and only supports certain hardware. The tool also doesn't support TCP cooked sockets.

Alternatives

If Packet Batch does not meet your expectations/needs, there are other tools that may accomplish what you're looking for, so I wanted to list them here. I will build this list as time goes on and if you have any suggestions, please feel free to reach out to me!

Credits

Pinned Loading

  1. Program Program Public

    An application that utilizes fast AF_XDP Linux sockets to generate and send network packets. Used for penetration testing including Denial of Service (DoS) and network monitoring. Made by @gamemann!

    C 92 11

  2. old-dpdk old-dpdk Public archive

    Packet Batch's old DPDK program. An application that utilizes the DPDK to send network packets. Used for penetration testing including Denial of Service (DoS), and network monitoring.

    C 15 3

  3. old-standard old-standard Public archive

    Packet Batch's old standard program. An application that utilizes AF_PACKET Linux sockets to send network packets with TCP cooked socket support. Used for penetration testing including Denial of Se…

    C 9 2

  4. old-common old-common Public archive

    Packet Batch's old common files.

    C 4 1

Repositories

Showing 8 of 8 repositories
  • tech-afxdp Public

    A small C API that interacts with AF_XDP sockets. Will be used with upcoming Packet Batch revamp and a work-in-progress!

    Packet-Batch/tech-afxdp’s past year of commit activity
    C 1 1 0 0 Updated Feb 20, 2025
  • Program Public

    An application that utilizes fast AF_XDP Linux sockets to generate and send network packets. Used for penetration testing including Denial of Service (DoS) and network monitoring. Made by @gamemann!

    Packet-Batch/Program’s past year of commit activity
    C 92 MIT 11 0 0 Updated Feb 20, 2025
  • tech-common Public

    Common headers for APIs created by Packet Batch.

    Packet-Batch/tech-common’s past year of commit activity
    C 1 1 0 0 Updated Feb 20, 2025
  • .github Public

    A collection of high-performance applications that send network packets. Used for penetration testing including Denial of Service (DoS), and network monitoring.

    Packet-Batch/.github’s past year of commit activity
    2 0 0 0 Updated Feb 20, 2025
  • old-common Public archive

    Packet Batch's old common files.

    Packet-Batch/old-common’s past year of commit activity
    C 4 MIT 1 1 0 Updated Aug 3, 2024
  • old-dpdk Public archive

    Packet Batch's old DPDK program. An application that utilizes the DPDK to send network packets. Used for penetration testing including Denial of Service (DoS), and network monitoring.

    Packet-Batch/old-dpdk’s past year of commit activity
    C 15 MIT 3 0 0 Updated Apr 20, 2024
  • old-standard Public archive

    Packet Batch's old standard program. An application that utilizes AF_PACKET Linux sockets to send network packets with TCP cooked socket support. Used for penetration testing including Denial of Service (DoS), and network monitoring.

    Packet-Batch/old-standard’s past year of commit activity
    C 9 MIT 2 0 0 Updated Apr 20, 2024
  • old-tests Public archive

    Packet Batch's old tests and examples. Test/examples of config files for Packet Batch.

    Packet-Batch/old-tests’s past year of commit activity
    4 1 0 0 Updated Dec 1, 2021