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 #9123

Closed
wants to merge 4 commits into from
Closed

Conversation

jlucovsky
Copy link
Contributor

Continuation of #9069
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 https://redmine.openinfosecfoundation.org/issues/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

  • Removed rollover handling per review feedback.

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.
@codecov
Copy link

codecov bot commented Jul 1, 2023

Codecov Report

Merging #9123 (9bc4185) into master (a3168fd) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9123      +/-   ##
==========================================
- Coverage   82.31%   82.30%   -0.01%     
==========================================
  Files         969      969              
  Lines      273741   273740       -1     
==========================================
- Hits       225329   225314      -15     
- Misses      48412    48426      +14     
Flag Coverage Δ
fuzzcorpus 64.60% <0.00%> (-0.01%) ⬇️
suricata-verify 60.63% <0.00%> (-0.03%) ⬇️
unittests 62.90% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@suricata-qa
Copy link

WARNING:

field baseline test %
SURI_TLPR1_stats_chk
.flow.memuse 592373632 520052840 87.79%

Pipeline 14954

Copy link
Member

@victorjulien victorjulien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This still leaves the regular rollover option. I think that should just turn into a no-op with a warning.

@jlucovsky
Copy link
Contributor Author

Continued in #9148

@jlucovsky jlucovsky closed this Jul 5, 2023
@jlucovsky jlucovsky deleted the 6128/2 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