Project

General

Profile

Actions

Task #5053

open

app-layer: dynamic alproto IDs

Added by Victor Julien almost 3 years ago. Updated about 1 month ago.

Status:
In Review
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 5 (2 open3 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 keywordsIn ReviewPhilippe AntoineActions
Actions

Also available in: Atom PDF