Project

General

Profile

Actions

Task #5053

closed

app-layer: dynamic alproto IDs

Added by Victor Julien about 3 years ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Target version:
Effort:
Difficulty:
Label:

Description

Currently ALPROTO_.. values are hardcoded in an enum. Ideally these would become dynamic, or at least it should be possible for plugins to dynamically register values.

The hardcoded values are currently used in many places, so this would probably be a multi step project. E.g. currently there are almost 4k lines in our code that use one of those hardcoded values.


Related issues 8 (3 open5 closed)

Related to Suricata - Optimization #3524: Remove unsafe Rust code for ALPROTO_X constantsRejectedActions
Related to Suricata - Optimization #3827: clean up logging initialization codeClosedPhilippe AntoineActions
Related to Suricata - Task #4101: tracking: pluginsIn ProgressJason IshActions
Related to Suricata - Bug #7334: asan/profiling: global-buffer-overflow errorClosedJeff LucovskyActions
Related to Suricata - Optimization #7304: Better support multi-protocol keywordsClosedPhilippe AntoineActions
Related to Suricata - Feature #4102: plugins: support creating app-layer parser, logger and detectIn ReviewPhilippe AntoineActions
Related to Suricata - Bug #7437: protocol detection : probing parsers are limited to 32 by use of bitflagClosedPhilippe AntoineActions
Related to Suricata - Task #4103: plugins: convert an app-layer to use the plugin API (snmp)In ReviewPhilippe AntoineActions
Actions

Also available in: Atom PDF