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

Next/60x/20230412/v4 #8721

Merged
merged 7 commits into from Apr 13, 2023
Merged

Conversation

victorjulien
Copy link
Member

#8720 with minor cleanup.

victorjulien and others added 7 commits April 13, 2023 07:34
During housekeeping multiple flows are processed. If a rule reload happens
at that time, we need to use the new detect thread as soon as possible.

Bug: OISF#5969.
(cherry picked from commit 5e4cf18)
Sleep after all threads have been checked.

Bug: OISF#5969.
(cherry picked from commit 8a968fa)
When pcap_breakloop has been issued on a handle, the current pcap_dispatch
call may return -2 (PCAP_ERROR_BREAK), but it can also return the number
of processed packets if lower than the desired number. So add this condition
as a check.

(cherry picked from commit 9fe08f2)
(cherry picked from commit 2ddd264)
Before:
If LF character was found, so far, we won't enforce the line limit on
the line. We only enforced limits in case of LF character missing in a
long line.

After this patch:
Line limit is enforced on the line if it is bigger than 4096 Bytes
irrespective of whether LF was found or not.

Redmine Bug: 5819

(cherry picked from commit 5f52b19)
@victorjulien victorjulien requested a review from a team as a code owner April 13, 2023 08:25
@suricata-qa
Copy link

Information:

field baseline test %
TREX_GENERIC_stats_chk
.capture.kernel_drops 0 77443 0.01

Pipeline 13148

@victorjulien victorjulien merged commit 92d7234 into OISF:master-6.0.x Apr 13, 2023
22 checks passed
@victorjulien victorjulien deleted the next/60x/20230412/v4 branch April 17, 2023 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants