# disk2n: Replay Recorded PCAP Traffic at Line Rate | ntop

> disk2n replays traffic recorded by n2disk or PCAP files at line rate over a network interface, for testing, analysis and security investigations.

[Home](https://www.ntop.org/)[Products](https://www.ntop.org/products/)[Traffic Recording](https://www.ntop.org/products/traffic-recording/)

![Disk2n logo](/images/2025/06/disk2n-icon.webp)

# disk2n

10 Gigabit network traffic re-player

[Get a license](https://shop.ntop.org)

![Disk2n short](/images/2025/07/disk2n-short.webp)

PCAP

any file size

Original

packet timing

n2disk

compatible

OverviewUse casesAlternativesTrade-offsFeaturesSpecificationsEditionsFAQKeep exploring

## Who should choose disk2n

**disk2n** replays PCAP traffic, such as captures made with n2disk, onto a live network at the original inter-packet timing. Choose it for testing security appliances and IDS/IPS, stress-testing deployments, or reconstructing incidents.

-   You need to replay recorded traffic at the original or at a custom rate.
-   You want to change MAC, IP and port on the fly, with checksums recalculated.
-   You test devices with terabytes of PCAP files, with limited memory usage.

## Ideal use case for disk2n

Environment

lab and pre-production networks, red team and blue team exercises.

Team

security and network engineers validating detection and performance.

Technical requirements

PCAP playlists, or an n2disk timeline with a time interval. PF\_RING ZC can accelerate transmission. Check the hardware sizing notes.

Problem solved

reproduce real traffic or attacks in a controlled environment.

## Deployment scenarios

-   ### Network Devices and IDS Testing
    
    Data captured to PCAP with n2disk, can be replayed to simulate real-world traffic in lab environments. This is essential for testing security appliances, validating IDS/IPS systems, or stress-testing new deployments before they go live. Replay real-world or synthetic attack traffic to evaluate how well security appliances detect or block threats or to analyze malware command-and-control patterns or observe how malware behaves in a controlled environment.
    
-   ### Incident Reconstruction and Simulation
    
    Reconstruct historical incidents to understand attacker behavior or data exfiltration patterns or replay real attacks in red team/blue team exercises to simulate realistic threat environments.
    

## disk2n alternatives, compared

Same criteria for each option: role, when to choose it, limits and cost.

-   ### n2disk
    
    -   **Role:** Records the traffic that disk2n replays.
    -   **Choose it when:** You first need to capture.
    -   **Limits:** Records only.
    -   **Cost:** See the [ntop shop](https://shop.ntop.org) for pricing.
    
-   ### PF\_RING
    
    -   **Role:** PCAP replay and traffic generation.
    -   **Choose it when:** You need a free tool for generating or replaying traffic.
    -   **Limits:** Not built for terabyte playlists with original timing.
    -   **Cost:** Free
    

## When disk2n is not the right choice

-   It is a 10 Gbps replayer: faster rates are out of scope.
-   It needs captured PCAP files, so it is usually used with n2disk.
-   It is a command line tool with no interface.

## Key Features

-   Replay traffic from standard PCAP playlists (regular and nanoseconds)
-   Line-rate at original rate packet replay
-   Customizable inter-packet time to replay traffic at capture rate or at a user-defined rate
-   Packet reforging to change source/destination MAC/IP/Port on the fly, recalculating checksum
-   Multi-core support to fully leverage on multicore architectures
-   Native support for PF\_RING Zero-Copy (ZC) to accelerate packet transmission
-   Direct-IO disk access to obtain maximum disk-read throughput

Try disk2n on your own traffic.

[Get a license](https://shop.ntop.org)

## Tech Specs

### Platforms

-   Linux

### API

-   CLI

### Requirements

[Follow this link to check the Hardware Sizing notes.](https://www.ntop.org/guides/n2disk)

### DOCS

-   [User's Guide](https://www.ntop.org/guides/n2disk/utilities/disk2n.html)

## Choose Your Model

Did you already install the software?

[Install](https://www.ntop.org/support/documentation/software-installation/)

Get a license to unlock it.

### 10 Gbit

Pricing in the [ntop shop](https://shop.ntop.org)

-   Replay of standard PCAP files
-   Packet transmission acceleration with PF\_RING ZC
-   Rate control
-   Packet headers reforging

-   Up to 10 Gbps

[Buy](https://shop.ntop.org)

## Frequently asked questions

Network Devices and IDS Testing

Data captured to PCAP with n2disk, can be replayed to simulate real-world traffic in lab environments. This is essential for testing security appliances, validating IDS/IPS systems, or stress-testing new deployments before they go live. Replay real-world or synthetic attack traffic to evaluate how well security appliances detect or block threats or to analyze malware command-and-control patterns or observe how malware behaves in a controlled environment.

Incident Reconstruction and Simulation

Reconstruct historical incidents to understand attacker behavior or data exfiltration patterns or replay real attacks in red team/blue team exercises to simulate realistic threat environments.

n2disk

-   **Role:** Records the traffic that disk2n replays.
-   **Choose it when:** You first need to capture.
-   **Limits:** Records only.
-   **Cost:** See the [ntop shop](https://shop.ntop.org) for pricing.

PF\_RING

-   **Role:** PCAP replay and traffic generation.
-   **Choose it when:** You need a free tool for generating or replaying traffic.
-   **Limits:** Not built for terabyte playlists with original timing.
-   **Cost:** Free

## Keep exploring

### [Pricing and editions](https://www.ntop.org/pricing/)

Compare editions and ways to buy.

### [Solutions](https://www.ntop.org/solutions/)

By use case and industry.

### [User guide](https://www.ntop.org/support/documentation/users-guides/)

Installation and configuration.

## Ready to see disk2n on your network?

Download the free Community edition, compare editions and buy in the shop, or talk to the ntop team about your requirements.

[Download free](https://www.ntop.org/support/documentation/software-installation/)[Compare editions](https://www.ntop.org/pricing/)[Talk to us](https://www.ntop.org/support/need-help/contacts/)
Source: https://www.ntop.org/products/traffic-recording/disk2n/