# HowTo Use ntopng for Pcap Analysis | ntop

[Blog](https://www.ntop.org/blog/)[ntopng](https://www.ntop.org/category/ntopng/)

# HowTo Use ntopng for Pcap Analysis

September 15, 20221 min read

Many times traffic analysts receive pcap files containing some traffic to analyse. The usual steps for analysing the pcap file with ntopng have been for a long time:

-   Save the pcap file to disk and upload it to the host where ntopng is running.
-   Stop the ntopng service and restart it from shell as ‘ntopng -i uploaded\_file.pcap’
-   Once the analysis is over, stop ntopng, delete the uploaded pcap, and restart ntopng as a service.

These steps are too complex for many people, and do not ease the adoption of ntopng for pcap analysis. For this reason we have developed a new feature (available in all versions of the dev branch) that makes pcap analysis simple and convenient. Under the Developer menu there is a new entry named ‘Analyse Pcap File’ that does the magic.

[![](/images/2022/09/pcap_analysis.webp)](https://www.ntop.org/images/2022/09/pcap_analysis.webp)

Using the above form, you can select a pcap file to upload to ntopng for analysis. The pcap will be uploaded to ntopng, and immediately analysed in a new network interface freshly created.

[![](/images/2022/09/Screen-Shot-2022-09-15-at-09.37.34.webp)](https://www.ntop.org/images/2022/09/Screen-Shot-2022-09-15-at-09.37.34.webp)

The new network interface will be labelled with the pcap file name just uploaded. The uploaded pcap will be temporarily/safely saved under /var/lib/ntopng/tmp/upload/ and deleted once ntopng has read it completely.

[![](/images/2022/09/Screen-Shot-2022-09-15-at-09.37.49.webp)](https://www.ntop.org/images/2022/09/Screen-Shot-2022-09-15-at-09.37.49.webp)

If you have many pcaps to analyse and you want to prevent ntopng from creating too many network interfaces, you can use the toggle in the upload form to instruct ntopng to replace the current pcap interface with the new pcap you are uploading. In order to avoid uploading huge files, ntopng limits the upload size as described in the [documentation](https://www.ntop.org/guides/ntopng/).

Enjoy !

## Keep reading

nDPINov 7, 2026

### [Detecting CVE-2026-98432 using nDPI/ntopng](https://www.ntop.org/detecting-cve-2026-98432-using-ndpi-ntopng/)

CVE-2026-98432 is a critical, 9.8-severity use-after-free (UAF) vulnerability in the Linux kernel’s IPv4 TCP networking stack. It allows an unauthenticated remote attacker to potentially cause system crashes, memory corruption, or execute arbitrary commands with root privileges. From a network stand

[![](/images/2026/09/Screenshot-2026-09-09-151028-1.webp)](https://www.ntop.org/october-20th-join-us-for-the-ntopng-7-0-webinar/)

AnnounceOct 5, 2026

### [October 20th: Join us for the ntopng 7.0 Webinar](https://www.ntop.org/october-20th-join-us-for-the-ntopng-7-0-webinar/)

Is your network monitoring keeping pace with AI, larger infrastructures, and the growing need for real observability? We’re excited to introduce ntopng 7.0, alongside new releases of the rest of the ntop…

[![](/images/2026/09/Screenshot-2026-09-09-163410-1.webp)](https://www.ntop.org/ntopng-user-interface-introducing-the-new-navigation-bar/)

ntopngSep 21, 2026

### [ntopng User Interface: Introducing the New Navigation Bar](https://www.ntop.org/ntopng-user-interface-introducing-the-new-navigation-bar/)

In our continuous effort to improve user experience and make network monitoring more intuitive, we have completely redesigned the ntopng Navigation Bar. As our feature set expands—with crucial additions like the nAnalyst…

## Try it on your own network

Download the free Community edition and see your first flows in five minutes.

[Download ntopng free](https://www.ntop.org/support/documentation/software-installation/)[Talk to an engineer](https://www.ntop.org/support/need-help/contacts/)
Source: https://www.ntop.org/howto-use-ntopng-for-pcap-analysis/