# PF_RING: High-Speed Packet Capture Framework | ntop

> PF_RING speeds up packet capture on any adapter, with filtering and load balancing, and zero-copy drivers beyond 100 Gbit. Works with Suricata and Zeek.

[Home](https://www.ntop.org/)[Products](https://www.ntop.org/products/)[Packet Capture](https://www.ntop.org/products/packet-capture/)

![PF\_RING logo](/images/2025/06/pf_ring-icon.webp)

# PF\_RING™

Open Source packet capture framework

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

![PF\_RING modules architecture](/images/2025/06/pfring-modules.webp)

100 Gbit

with zero-copy drivers

Open

source

Suricata

and Zeek ready

OverviewUse casesAlternativesTrade-offsFeaturesEditionsSpecificationsFAQKeep exploring

## Who should choose PF\_RING

**PF\_RING** is an open source packet capture framework for Linux that speeds up capture and transmission on any adapter. Choose it when libpcap loses packets, or when tools such as Suricata, Zeek, ntopng or n2disk must keep up with multi-gigabit traffic.

-   You lose packets on busy links with standard capture.
-   You run Suricata or Zeek and need fast, load-balanced capture.
-   You need PCAP replay and traffic generation for lab testing.

![Vanilla pf ring](/images/2025/06/vanilla_pf_ring.webp)

## Ideal use case for PF\_RING

Environment

Linux servers capturing network traffic, in monitoring, IDS/IPS and test labs.

Team

network engineers and developers using the C API or libpcap-based tools.

Technical requirements

no kernel patching; a module is loaded through DKMS. Works on any adapter.

Problem solved

minimal packet loss at multi-gigabit speed, with filtering (nBPF) and load balancing.

## Deployment scenarios

-   ### Packet Capture Acceleration
    
    PF\_RING dramatically enhances packet capture performance, making it ideal for building scalable network monitoring solutions. Whether for flow analysis, traffic accounting, or deep packet inspection, PF\_RING ensures minimal packet loss even at multi-gigabit speeds, and above 100 Gbit with zero-copy drivers.
    
-   ### Inline Applications
    
    Security tools like Suricata and Zeek integrate seamlessly with PF\_RING to process high-speed traffic efficiently. This enables real-time threat detection and mitigation without sacrificing packet capture accuracy or system performance.
    
-   ### Traffic Replay and Generation
    
    PF\_RING enables accurate PCAP traffic replay and high-performance synthetic traffic generation for lab testing, benchmarking, and QA environments. It allows teams to emulate real-world conditions and validate the behavior of network appliances, security systems, and applications under controlled scenarios.
    

## PF\_RING alternatives, compared

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

-   ### PF\_RING ZC
    
    -   **Role:** Zero-copy drivers for 100+ Gbit line rate and the lowest CPU usage.
    -   **Choose it when:** You need line rate at any packet size or zero-copy between processes and VMs.
    -   **Limits:** Licensed per adapter family, x86 64-bit.
    -   **Cost:** See the [ntop shop](https://shop.ntop.org) for pricing.
    
-   ### PF\_RING FT
    
    -   **Role:** Flow table and Layer-7 classification on top of capture.
    -   **Choose it when:** You build a flow probe or an IDS accelerator.
    -   **Limits:** Licensed.
    -   **Cost:** See the [ntop shop](https://shop.ntop.org) for pricing.
    

## When PF\_RING is not the right choice

-   Vanilla PF\_RING does not reach line rate at 100 Gbit: that needs PF\_RING ZC.
-   It is Linux only.
-   It is a capture layer. You still need an application on top, such as ntopng, nProbe or n2disk.

## Key Features

-   Linux network socket available for all kernels (latest kernels for the most common Linux distributions are officially supported)
-   DKMS support and no need to patch the Linux kernel (a kernel module is automatically loaded)
-   Agnostic API for device driver independent application code
-   Kernel-based packet capture for all adapter models
-   Libpcap support for seamless integration with existing pcap-based applications
-   Optimized nBPF filters in addition to the legacy BPF

### [Enable PF\_RING Zero-Copy for line-rate performance!](https://www.ntop.org/products/packet-capture/pf_ring-zc/)

PF\_RING ZC drivers implement Zero-Copy packet capture and transmission for performance at 100+ Gbit/s and the lowest CPU overhead, in addition to enhanced offloads (filtering, timestamping, load-balancing, ...).

Try PF\_RING™ on your own traffic.

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

## Choose Your Model

Already included in all ntop applications.

### Open Source

Free

-   Kernel-based acceleration
-   Support for all Network adapters
-   Packet headers parsing
-   Kernel-based clustering and load-balancing
-   In-kernel software filters and BPF

-   Source code available on GitHub

[GitHub](http://github.com/ntop/pf_ring)

## Tech Specs

### Platforms

-   Linux

### API

-   C API

### Protocols

-   Ethernet
-   IPv4/IPv6
-   TCP/UDP/ICMP/Any
-   GTP/GRE/MPLS/VXLAN/PPP

### DOCS

-   [User's Guide](https://www.ntop.org/guides/pf_ring/)
-   [Programming API](https://www.ntop.org/guides/pf_ring/api/)

## Frequently asked questions

Packet Capture Acceleration

PF\_RING dramatically enhances packet capture performance, making it ideal for building scalable network monitoring solutions. Whether for flow analysis, traffic accounting, or deep packet inspection, PF\_RING ensures minimal packet loss even at multi-gigabit speeds, and above 100 Gbit with zero-copy drivers.

Inline Applications

Security tools like Suricata and Zeek integrate seamlessly with PF\_RING to process high-speed traffic efficiently. This enables real-time threat detection and mitigation without sacrificing packet capture accuracy or system performance.

Traffic Replay and Generation

PF\_RING enables accurate PCAP traffic replay and high-performance synthetic traffic generation for lab testing, benchmarking, and QA environments. It allows teams to emulate real-world conditions and validate the behavior of network appliances, security systems, and applications under controlled scenarios.

PF\_RING ZC

-   **Role:** Zero-copy drivers for 100+ Gbit line rate and the lowest CPU usage.
-   **Choose it when:** You need line rate at any packet size or zero-copy between processes and VMs.
-   **Limits:** Licensed per adapter family, x86 64-bit.
-   **Cost:** See the [ntop shop](https://shop.ntop.org) for pricing.

PF\_RING FT

-   **Role:** Flow table and Layer-7 classification on top of capture.
-   **Choose it when:** You build a flow probe or an IDS accelerator.
-   **Limits:** Licensed.
-   **Cost:** See the [ntop shop](https://shop.ntop.org) for pricing.

What is PF\_RING?

A packet capture framework that accelerates capture and transmission on any adapter, with packet parsing, filtering and load balancing.

Do I need PF\_RING ZC?

Use ZC (zero copy) for 100 Gbit line rate processing and for delivering packets between processes and virtual machines.

Does PF\_RING work with Suricata and Zeek?

Yes. Both integrate with PF\_RING to process high-speed traffic with minimal packet loss.

Which ntop tools use PF\_RING?

ntopng, nProbe, n2disk and nScrub rely on PF\_RING for fast capture.

## 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 PF\_RING™ 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/packet-capture/pf_ring/