Project

General

Profile

Actions

Task #5053

open

app-layer: dynamic alproto IDs

Added by Victor Julien over 2 years ago. Updated 4 months ago.

Status:
In Progress
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 3 (1 open2 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
Actions

Also available in: Atom PDF