Project

General

Profile

Actions

Task #5053

open

app-layer: dynamic alproto IDs

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

Status:
New
Priority:
Normal
Assignee:
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 (2 open1 closed)

Related to Suricata - Optimization #3524: Remove unsafe Rust code for ALPROTO_X constantsRejectedActions
Related to Suricata - Optimization #3827: clean up logging initialization codeIn ReviewPhilippe AntoineActions
Related to Suricata - Task #4101: tracking: pluginsIn ProgressJason IshActions
Actions #1

Updated by Victor Julien about 2 years ago

  • Description updated (diff)
Actions #2

Updated by Philippe Antoine 12 months ago

Actions #3

Updated by Philippe Antoine 5 months ago

Actions #4

Updated by Philippe Antoine 5 months ago

Actions

Also available in: Atom PDF