Project

General

Profile

Actions

Task #5053

open

app-layer: dynamic alproto IDs

Added by Victor Julien over 2 years ago. Updated over 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 (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 #1

Updated by Victor Julien over 2 years ago

  • Description updated (diff)
Actions #2

Updated by Philippe Antoine about 1 year ago

Actions #3

Updated by Philippe Antoine 7 months ago

Actions #4

Updated by Philippe Antoine 7 months ago

Actions

Also available in: Atom PDF