# Secure ZMQ Flow Collection Now Enabled by Default | ntop

> Starting September 1st, 2026 (ntopng 6.7.280831 and later), cleartext flow data over ZMQ is no longer accepted by default. CURVE encryption is now enabled by

[Blog](https://www.ntop.org/blog/)[Technologies and Trends](https://www.ntop.org/category/technologies-and-trends/)

# Secure ZMQ Flow Collection Now Enabled by Default

August 31, 20262 min read

Starting **September 1st, 2026** (ntopng **6.7.280831** and later), cleartext flow data over ZMQ is no longer accepted by default. CURVE **encryption is now enabled by default on ZMQ collection interfaces** in ntopng.

The same change applies to **nProbe** and **Cento**, which now also send ZMQ data encrypted by default.

If no dedicated encryption key has been configured, ntopng falls back to a **public built-in key pair**. This provides protection against accidental cleartext exposure and ensures that encryption is enabled out of the box. However, **users are strongly encouraged to configure dedicated keys as soon as possible**, especially in production environments.

## Configuring encryption in ntopng

A dedicated key pair can be configured on the ntopng side in either of the following ways:

-   Add `--zmq-encryption` to let ntopng automatically generate a key pair. The generated public key is displayed on the interface status page.
-   Add `--zmq-encryption-key-priv <key>` to specify a private key of your choice.

Please refer to the [ntopng](https://www.ntop.org/guides/ntopng/using_with_other_tools/nprobe.html#data-encryption) **[User’s Guide](https://www.ntop.org/guides/ntopng/using_with_other_tools/nprobe.html#data-encryption)**for complete configuration details.

### Compatibility with older nProbe versions

**This change may affect existing deployments.**

Recent nProbe releases also enable ZMQ encryption by default and use the same public built-in key when no dedicated key has been configured.

However, **older nProbe versions continue to send ZMQ data in cleartext**. Such cleartext flows are now discarded by ntopng and therefore **will no longer appear in the ntopng UI**.

For this reason, we **highly recommend upgrading nProbe and Cento to the latest available releases** and configuring dedicated encryption keys on both sides of the ZMQ connection.

If you need to temporarily maintain compatibility with an older, unencrypted ZMQ sender, encryption can be disabled in ntopng using:

`--zmq-disable-encryption`

This should be considered a **temporary compatibility measure**, as this is exposing flow data in cleartext.

### Action required

Users with existing ZMQ-based deployments should:

1.  **Upgrade ntopng, nProbe, and Cento** to recent versions.
2.  **Configure dedicated CURVE encryption keys** on the communicating endpoints.
3.  Verify the ZMQ interface status in ntopng and ensure that encrypted flows are being received correctly.
4.  Avoid using `--zmq-disable-encryption` except when required for compatibility with legacy deployments.

Thank you.

**Related:**[NetFlow, sFlow and IPFIX collector guide](https://www.ntop.org/netflow-sflow-ipfix-collector-analyzer/), [nProbe](https://www.ntop.org/products/netflow-probes/nprobe/)

## 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

Technologies and TrendsOct 8, 2026

### [How we Redesigned Search in ntopng](https://www.ntop.org/how-we-redesigned-search-in-ntopng/)

ntopng has had a search box for a while, but it we made it better to allow search for menu entries too! This to speed up and improve the user experience and…

[![](/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…

## 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/secure-zmq-flow-collection-now-enabled-by-default/