Skip to content

Suricata + nDPI: segmentation fault with SNMP traffic #2762

@AgishevArtyom

Description

@AgishevArtyom

I am using Suricata + nDPI build (Suricata version 8.0.0-dev, nDPI -4.12)
Two Ubuntu 22.04.5 LTS virtual machines are used.
Ubuntu-1 - running Suricata + nDPI.
Ubuntu-2 - using snmpd utility to get a list of all available OIDs and their values ​​from Ubuntu-1.
Command: snmpwalk -v 2c -c mycommunity

When running the command, a Segmentation fault error appears.
When adding
return;
to line 60 of the ./nDPI-4.12/src/lib/protocols/snmp_protocol.c file and reconfiguring, the error does not appear.

Thanks in advance for your help.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions