Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applayer plugin 5053 v2.2 #11363

Closed

Conversation

catenacyber
Copy link
Contributor

Link to ticket: https://redmine.openinfosecfoundation.org/issues/
Preliminary work for https://redmine.openinfosecfoundation.org/issues/5053

Describe changes:

  • detect: helper function for multibuffer
  • get ready to use dynamic number of app-layer protos (also work with static constant) in some places

Small PR good in itself.

#11355 fixing compile warning and taking in 2 nits/cleanups commits

Still more work to do : I guess stack allocated arrays are fine, but the global variables cf git grep '\[ALPROTO_MAX' like src/runmodes.c:static LoggerId logger_bits[ALPROTO_MAX]; need to be allocated and freed, and the app-layer init needs to be taken care of, so that we know ALPROTO_MAX final value...

@suricata-qa
Copy link

ERROR:

ERROR: QA failed on build_asan.

Pipeline 21207

@catenacyber catenacyber force-pushed the applayer-plugin-5053-v2.2 branch from 0b4866f to 04117ad Compare June 25, 2024 08:21
@suricata-qa
Copy link

ERROR:
ERROR: ASAN TEST FAIL in ASAN_TLPR1_cfg QA test

ERROR: QA failed on ASAN_TLPR1_cfg.

Pipeline 21241

@catenacyber
Copy link
Contributor Author

Continued in #11373

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants