Version 5.2.18 Release Notes
Netify Agent 5.2.18 is a stability and hardening release for the 5.2 long-term support branch. It makes the agent much harder to overwhelm with port scans and traffic floods, keeps memory in check after traffic surges, and makes NFQUEUE deployments recover on their own when something goes wrong.
This release also adds per-indicator intelligence signatures delivered at bootstrap, more capable flow expressions, FreeBSD/OPNsense packages, and a long list of reliability fixes across the agent and its plugins.
Upgrade Notes
- The agent plugin ABI has changed. Upgrade all Netify plugins to the versions listed in the ABI compatibility table together with the agent.
- The
--replay-delayoption is now called--realtime. The old name still works. - The
--enable-ndpi-debugbuild option and the-n/--debug-ndpicommand line options have been removed. - The
netlink_conntrack_idle_timeoutsetting referenced in some documentation is correctly namednetlink_conntrack_idle_ttl. - In the Intelligence plugin, the
ndpi_riskindicator data type has been renamed torisk. Existing configurations usingndpi_riskcontinue to work.
Changes
| Component | Type | Description |
|---|---|---|
| Agent | Enhancement | Scan and Flood Resilience: New flows are now held on a short "probation" timer until the other side answers, so port scans, SYN/UDP floods and misbehaving devices no longer tie up flow table space. Normal one-way traffic such as multicast and broadcast is unaffected. |
| Agent | Enhancement | Smarter Flow Table Limits: When the flow table is full, the oldest and least useful flows are now retired to make room, rather than new traffic going untracked. |
| Agent | Enhancement | Lower Memory After Traffic Spikes: Flow and conntrack tables, as well as internal detection queues, now give memory back once a surge of traffic has passed. |
| Agent | Enhancement | Flow Table Performance: Reworked flow table locking and layout for better throughput on multi-core systems. |
| Agent | Enhancement | Self-Healing NFQUEUE: NFQUEUE capture threads are now restarted automatically if they stop, and the status output reports the state of every capture thread along with combined drop counts across all queues. |
| Agent | Bug | NFQUEUE Packet Marks: Fixed packet marks being written with the wrong byte order and stale marks being left on packets that should carry none. Late verdicts for packets the kernel has already released are now handled gracefully. |
| Agent | Enhancement | Clean Startup and Shutdown: The agent now shuts down its components in a safe order and exits with a failure status if no capture source can be started, making it easier for service managers to detect and restart a failed agent. |
| Agent | Enhancement | Per-Indicator Intelligence Signatures: Intelligence signatures are now delivered individually at bootstrap and verified on download. The last good set stays in use if the Netify API is unreachable or disabled, and withdrawn signatures are cleaned up automatically. |
| Agent | Enhancement |
Ignore Intelligence Signatures: A new intel-signatures-ignore option in the [netify-api] section lets you opt out of specific intelligence signatures.
|
| Agent | Enhancement |
Flow Expressions: Expressions can now match on intelligence attributes and test whether a value is in a list, ip == matches either side of a flow, and expressions are parsed once and reused for better performance.
|
| Agent | Enhancement | Safer File Writes: Configuration, cache and signature files are now written atomically, so a full disk or interrupted write never leaves a truncated file behind. |
| Agent | Enhancement | Netlink Improvements: Netlink buffers now grow correctly under load, and noisy wireless link events are ignored. |
| Agent | Enhancement | OpenWrt ubus Reliability: The agent now automatically reconnects to ubus if the connection is lost, and ubus access has been made thread-safe. |
| Agent | Bug | Fixed the PCAP buffer size configuration setting not being applied. |
| Agent | Bug |
Fixed flow byte and packet counters when conntrack_counters is enabled, and fixed conntrack entries being mismatched when connections are updated.
|
| Agent | Bug | Fixed a rare packet capture issue on weakly-ordered CPUs (such as ARM) when using TPACKETv3. |
| Agent | Enhancement | Error messages now consistently include the underlying system error, and address group load/save failures are reported clearly. |
| Processor Intel | Enhancement | Lower memory use from the DoH scanner, plus safer caching under heavy TLS traffic. |
| Processor Intel | Enhancement | Signatures now load on a warm start without needing network access, and every emitted intelligence entry has a unique ID. |
| Processor Intel | Bug | The plugin now survives an indicator with an invalid flow expression and file I/O errors instead of stopping. |
| Processor Dev Discovery | Enhancement | Back-ported the reworked Cloud API device discovery. |
| Processor Dev Discovery | Bug | Device cache save failures can no longer stop the agent, and the plugin now shuts down cleanly. |
| Processor Flow Actions | Bug | Fixed the nftables build option and a conntrack handle leak, and the auto-mark map is now written safely. |
| Processor Lua | Enhancement | Added support for Lua 5.4. |
| Plugin License Manager | Bug | Licenses and encrypted files are now written safely, so a failed write leaves the previous file intact. |
| Plugin License Manager | Bug | netify-plm-crypt can now decrypt from a pipe, writes to standard output by default, and reports read and write errors. Also fixed a stale MAC address reference. |
| Plugin License Manager | Enhancement | Debian packages now split the development tools from the runtime package. |
| Plugins | Enhancement | A configuration error in the Aggregator, Core, Device Discovery or HTTP Sink plugins is now logged instead of stopping the agent. |
| Build System | Enhancement | FreeBSD: Packages are now built with poudriere, with new OPNsense 26.1 and 26.7 targets. |
| Build System | Enhancement | OpenWrt: Added an OpenWrt 19.07.10 build target. |
| Build System | Enhancement | Debian 11 is no longer a build target. |
ABI Version Compatibility
The following plugin versions are ABI compatible with Netify Agent version 5.2.18.
| Plugin | Package | Version |
|---|---|---|
| Plugin License Manager | netify-plm | 1.2.4-4 |
| Sink HTTP | netify-sink-http | 1.2.5-2 |
| Sink Log | netify-sink-log | 1.2.3-2 |
| Sink MQTT | netify-sink-mqtt | 1.2.1-15 |
| Sink Socket | netify-sink-socket | 1.2.1-14 |
| Sink SQLite | netify-sink-sqlite | 1.2.5-2 |
| Sink UBUS | netify-sink-ubus | 1.2.6-9 |
| Proc Aggregator | netify-proc-aggregator | 1.2.10-2 |
| Proc Core | netify-proc-core | 1.2.5-2 |
| Proc Device Discovery | netify-proc-dev-discovery | 1.2.17-2 |
| Proc Flow Actions | netify-proc-flow-actions | 1.2.18-4 |
| Proc Intelligence | netify-proc-intel | 1.2.36-2 |
| Proc Lua | netify-proc-lua | 1.2.5-14 |
| Proc Python | netify-proc-python | 1.2.3-16 |