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

decode/ethertype: Event on unknown ethertype #12495

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jlucovsky
Copy link
Contributor

Continuation of #11850

Issue: 7129

Create a decode/engine event if unknown ethertypes are observed.

Note: this PR results in 2 counters tracking unknown ethertypes; https://redmine.openinfosecfoundation.org/issues/7528 tracks the removal of the non-event value.

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

Describe changes:

  • Add an event created when unknown ethertypes are observed
  • Update schema with event counter
  • Add rule for event.

Updates

  • Removed PKT flag, simplified event handling

Provide values to any of the below to override the defaults.

  • To use an LibHTP, Suricata-Verify or Suricata-Update pull request,
    link to the pull request in the respective _BRANCH variable.
  • Leave unused overrides blank or remove.

SV_REPO=
SV_BRANCH=OISF/suricata-verify#1954
SU_REPO=
SU_BRANCH=
LIBHTP_REPO=
LIBHTP_BRANCH=

Issue: 7129

Create a decode/engine event if unknown ethertypes are observed.
Issue: 7129

Document the unknown ethertype event.
Issue 7129

When configured with the existing "ethernet" switch, include the ether
type in the output.

This is most useful with anomaly records indicating unknown ethertypes.
@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 24414

@catenacyber
Copy link
Contributor

@jlucovsky why is CI so red ? Do you need to rebase the SV PR ?

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.

3 participants