app-layer: dynamic alproto IDs
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.
Updated by Victor Julien over 1 year ago
- Description updated (diff)
Updated by Philippe Antoine 2 months ago
- Related to Optimization #3524: Remove unsafe Rust code for ALPROTO_X constants added