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

Http2 upgrade v8 #5390

Closed
wants to merge 8 commits into from
Closed

Conversation

catenacyber
Copy link
Contributor

Link to redmine ticket:
https://redmine.openinfosecfoundation.org/issues/3866

Describe changes:

  • Adds mechanism to change protocol from HTTP1 to HTTP2
  • Retry protocol detection on protocol change if we did not have enough data
  • Fix DNP3 unit tests when compiling with -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION

PRScript output (if applicable):

suricata-verify-pr: 326

Makes OISF/suricata-verify#326 pass

Modifies #5380 by putting unit tests removal in its own commit

The downside compared to #5354 is to have one more test FlowChangeProto(f) to run at (almost) each call of AppLayerParserParse

This parameter is NULL or the pointer to the previous state
for the previous protocol in the case of a protocol change,
for instance from HTTP1 to HTTP2

This way, the new protocol can use the old protocol context.
For instance, HTTP2 mimicks the HTTP1 request, to have a HTTP2
transaction with both request and response
moved to suricata-verify
ie do not stop on first try if we do not have enough data
@catenacyber catenacyber mentioned this pull request Sep 9, 2020
@victorjulien victorjulien mentioned this pull request Sep 9, 2020
@victorjulien
Copy link
Member

Merged in #5396, thanks!

catenacyber added a commit to catenacyber/suricata that referenced this pull request Jun 8, 2022
victorjulien pushed a commit to victorjulien/suricata that referenced this pull request Jun 13, 2022
kgliveaction pushed a commit to liveaction/suricata that referenced this pull request Jul 19, 2022
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