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

af-packet: Remove support for rollover settings #9148

Merged
merged 4 commits into from
Jul 6, 2023

Conversation

jlucovsky
Copy link
Contributor

Continuation of #9123
This MR removes support for AF-Packet rollover.

Rollover support is defined here.

If cluster-type: cluster_rollover is configured, a warning message will be displayed and the clustering used will be cluster_flow.

The warning message:

Warning: af-packet: enp6s0f0: cluster_rollover deprecated; using "cluster_flow" instead. See ticket #6128

Link to redmine ticket: 6128

Describe changes:

  • Document deprecation in upgrade notes
  • Detect when rollover is used (cluster-type: cluster_rollover) and use cluster_flow instead

Updates

  • Ignore rollerover setting and issue warning instead.
  • Improve wording in documentation that mentions rollover removal.

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

To use a pull request use a branch name like pr/N where N is the pull request number.

SV_REPO=
SV_BRANCH=
SU_REPO=
SU_BRANCH=
LIBHTP_REPO=
LIBHTP_BRANCH=

This commit updates the summary message when Suricata terminates.
Without this commit, "nan" was displayed if there were no drops/packets
Issue: 6128

cluster_rollover is no longer permitted; using it will generate a
warning message and it'll be replaced with cluster_flow
Issue: 6128

No longer permit rollover/cluster_rollover to be used. Usage will
generate a warning message and cluster_flow will be used instead.
@victorjulien victorjulien mentioned this pull request Jul 5, 2023
@suricata-qa
Copy link

WARNING:

field baseline test %
SURI_TLPR1_stats_chk
.flow.memuse 592373632 512171248 86.46%

Pipeline 14998

@victorjulien victorjulien merged commit b05375f into OISF:master Jul 6, 2023
45 of 47 checks passed
@catenacyber catenacyber mentioned this pull request Jul 6, 2023
@jlucovsky jlucovsky deleted the 6128/3 branch July 6, 2023 13:05
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