Project

General

Profile

Actions

Task #5053

closed
VJ PA

app-layer: dynamic alproto IDs

Task #5053: app-layer: dynamic alproto IDs

Added by Victor Julien about 4 years ago. Updated about 1 year ago.

Status:
Closed
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 8 (1 open7 closed)

Related to Suricata - Optimization #3524: Remove unsafe Rust code for ALPROTO_X constantsRejectedActions
Related to Suricata - Optimization #3827: output: 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: detect: improve support for multi-protocol keywordsClosedPhilippe AntoineActions
Related to Suricata - Feature #4102: plugins: support creating app-layer parser, logger and detectClosedPhilippe AntoineActions
Related to Suricata - Bug #7437: protocol detection : probing parsers are limited to 32 by use of bitflagClosedPhilippe AntoineActions
Related to Suricata - Task #4103: plugins: convert an app-layer to use the plugin API (snmp)ClosedPhilippe AntoineActions

VJ Updated by Victor Julien about 4 years ago Actions #1

  • Description updated (diff)

PA Updated by Philippe Antoine about 3 years ago Actions #2

PA Updated by Philippe Antoine over 2 years ago Actions #3

PA Updated by Philippe Antoine over 2 years ago Actions #4

PA Updated by Philippe Antoine almost 2 years ago Actions #6

  • Status changed from New to In Progress
  • Assignee changed from OISF Dev to Philippe Antoine

PA Updated by Philippe Antoine over 1 year ago Actions #7

  • Related to Bug #7334: asan/profiling: global-buffer-overflow error added

PA Updated by Philippe Antoine over 1 year ago Actions #8

  • Status changed from In Progress to In Review

PA Updated by Philippe Antoine over 1 year ago Actions #9

  • Related to Optimization #7304: detect: improve support for multi-protocol keywords added

JI Updated by Jason Ish over 1 year ago Actions #10

  • Related to Feature #4102: plugins: support creating app-layer parser, logger and detect added

JI Updated by Jason Ish over 1 year ago Actions #11

Looks like this complete #5053.

PA Updated by Philippe Antoine about 1 year ago Actions #12

  • Status changed from In Review to Resolved

PA Updated by Philippe Antoine about 1 year ago Actions #13

  • Related to Bug #7437: protocol detection : probing parsers are limited to 32 by use of bitflag added

VJ Updated by Victor Julien about 1 year ago Actions #14

  • Status changed from Resolved to Closed

PA Updated by Philippe Antoine about 1 year ago Actions #15

https://github.com/OISF/suricata/pull/12420 is demonstrating it is solved ;-)

PA Updated by Philippe Antoine about 1 year ago Actions #16

  • Related to Task #4103: plugins: convert an app-layer to use the plugin API (snmp) added
Actions

Also available in: PDF Atom