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/20210305/v2 #5957

Closed
wants to merge 6 commits into from
Closed

Conversation

victorjulien
Copy link
Member

Collection of smaller fixes and cleanups.

@victorjulien victorjulien requested a review from a team as a code owner March 5, 2021 11:32
@codecov
Copy link

codecov bot commented Mar 5, 2021

Codecov Report

Merging #5957 (81fba44) into master (68f8b2f) will increase coverage by 0.01%.
The diff coverage is 80.95%.

@@            Coverage Diff             @@
##           master    #5957      +/-   ##
==========================================
+ Coverage   76.74%   76.76%   +0.01%     
==========================================
  Files         604      604              
  Lines      187904   187853      -51     
==========================================
- Hits       144213   144203      -10     
+ Misses      43691    43650      -41     
Flag Coverage Δ
fuzzcorpus 52.75% <69.23%> (+0.01%) ⬆️
suricata-verify 49.92% <61.53%> (+0.04%) ⬆️
unittests 63.08% <76.19%> (+<0.01%) ⬆️

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

@victorjulien victorjulien mentioned this pull request Mar 5, 2021
@victorjulien
Copy link
Member Author

Replaced by #5958

@victorjulien victorjulien deleted the next/20210305/v2 branch March 7, 2021 08:24
lukashino pushed a commit to lukashino/suricata that referenced this pull request Mar 31, 2023
lukashino pushed a commit to lukashino/suricata that referenced this pull request Apr 4, 2023
lukashino pushed a commit to lukashino/suricata that referenced this pull request Apr 5, 2023
BPF codebase queried engine mode earlier than it was determined from
the configuration file/command line. As a result it used the default (IDS)
mode where it could've been configured later on to the IPS mode.
This could lead into an undefined behavior as some Suricata modules behave
according to the engine mode.

PF-Ring, Netmap and AF-Packet all shared almost identical code for
determining the engine mode. It was put into one common function.
Omitted the usage of SCStrdup function in PF-Ring module as it is
uppercased during thread initialization phase.

Ticket: OISF#5957
lukashino pushed a commit to lukashino/suricata that referenced this pull request Apr 5, 2023
BPF codebase queried engine mode earlier than it was determined from
the configuration file/command line. As a result it used the default (IDS)
mode where it could've been configured later on to the IPS mode.
This could lead into an undefined behavior as some Suricata modules behave
according to the engine mode.

PF-Ring, Netmap and AF-Packet all shared almost identical code for
determining the engine mode. It was put into one common function.
Omitted the usage of SCStrdup function in PF-Ring module as it is
uppercased during thread initialization phase.

Ticket: OISF#5957
lukashino pushed a commit to lukashino/suricata that referenced this pull request Apr 12, 2023
BPF codebase queried engine mode earlier than it was determined from
the configuration file/command line. As a result it used the default (IDS)
mode where it could've been configured later on to the IPS mode.
This could lead into an undefined behavior as some Suricata modules behave
according to the engine mode.

PF-Ring, Netmap and AF-Packet all shared almost identical code for
determining the engine mode. It was put into one common function.
Omitted the usage of SCStrdup function in PF-Ring module as it is
uppercased during thread initialization phase.

Ticket: OISF#5957
lukashino pushed a commit to lukashino/suricata that referenced this pull request Apr 21, 2023
BPF codebase queried engine mode earlier than it was determined from
the configuration file/command line. As a result it used the default (IDS)
mode where it could've been configured later on to the IPS mode.
This could lead into an undefined behavior as some Suricata modules behave
according to the engine mode.

PF-Ring, Netmap and AF-Packet all shared almost identical code for
determining the engine mode. It was put into one common function.
Omitted the usage of SCStrdup function in PF-Ring module as it is
uppercased during thread initialization phase.

Ticket: OISF#5957
victorjulien pushed a commit to victorjulien/suricata that referenced this pull request May 1, 2023
BPF codebase queried engine mode earlier than it was determined from
the configuration file/command line. As a result it used the default (IDS)
mode where it could've been configured later on to the IPS mode.
This could lead into an undefined behavior as some Suricata modules behave
according to the engine mode.

PF-Ring, Netmap and AF-Packet all shared almost identical code for
determining the engine mode. It was put into one common function.
Omitted the usage of SCStrdup function in PF-Ring module as it is
uppercased during thread initialization phase.

Ticket: OISF#5957
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.

1 participant