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

Make Zeek 5.1 compatible #21

Merged
merged 1 commit into from
Dec 19, 2022

Conversation

awelzel
Copy link
Contributor

@awelzel awelzel commented Sep 30, 2022

Currently this plugin fails to compile with Zeek 5.1 due to the following error:

src/HTTP2.cc:146:13: error: ‘ProtocolConfirmation’ was not declared in this scope; did you mean ‘LN_protocolInformation’?
  146 |             ProtocolConfirmation(); // Notify system that this is HTTP2.
      |             ^~~~~~~~~~~~~~~~~~~~
      |             LN_protocolInformation
src/HTTP2.cc:158:17: error: ‘ProtocolViolation’ was not declared in this scope
  158 |                 ProtocolViolation("Unable to parse http 2 frame from data stream, fatal error");

With Zeek 5.1 ProtocolConfirmation() and ProtocolViolation() have been removed. Since Zeek 4.2 there's AnalyzerConfirmation() and AnalyzerViolation() available.

Currently this plugin fails with Zeek 5.1 due to the following error:

    src/HTTP2.cc:146:13: error: ‘ProtocolConfirmation’ was not declared in this scope; did you mean ‘LN_protocolInformation’?
      146 |             ProtocolConfirmation(); // Notify system that this is HTTP2.
          |             ^~~~~~~~~~~~~~~~~~~~
          |             LN_protocolInformation
    src/HTTP2.cc:158:17: error: ‘ProtocolViolation’ was not declared in this scope
      158 |                 ProtocolViolation("Unable to parse http 2 frame from data stream, fatal error");

With Zeek 5.1 ProtocolConfirmation() and ProtocolViolation() have been
removed. Since Zeek 4.2 there's AnalyzerConfirmation() and
AnalyzerViolation() available.
@awelzel awelzel force-pushed the analyzer-protocol-rename branch from 3402520 to 272a64f Compare September 30, 2022 15:07
@malwarefrank
Copy link
Contributor

Thank you!

@malwarefrank malwarefrank merged commit 3b27012 into MITRECND:master Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants