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/20220103/v3 #6744

Merged
merged 13 commits into from Jan 4, 2022
Merged

Next/20220103/v3 #6744

merged 13 commits into from Jan 4, 2022

Conversation

victorjulien
Copy link
Member

jasonish and others added 13 commits December 21, 2021 16:50
It appears that DNS servers will still process a DNS request even if the
z-bit is set, our parser will fail the transaction. So create the
transaction, but still set the event.

Ticket OISF#4924
[Edit by Jason Ish: fix flag bit value]

Ticket OISF#4515
Ticket: 4920

Completes commit c8dbe24
which introduced AppProtoEquals to have a generic
check for http in signature can mean http1 or http2 in
traffic.

This commit missed this case, as I only looked for
git grep "alproto ==" and here we deal with
alproto_tc and alproto_ts, but not alproto by itself.
Many places were still referencing the old Suricata page.
Used git grep with replace to update them. Checked that new links work.
Left old references when they were only documentation examples (for
output or unittests).

Task#4915
This commit adds support for enabling libunwind -- a library that can be
used to display stack information.

Libunwind is enabled and used by Suricata if present during
configuration.  A diagnostic message is displayed if libunwind
cannot be found.
This commit adds an error code for the diagnostic code used for
diagnostic messages following unexpected termination due to signals..
This commit adds a configuration setting to enable a stack trace message
if Suricata receives a signal that terminates execution, such as
SIGSEGV, SIGABRT.
This commit adds a signal handler for SIGSEGV when configured. The
signal handler emits a one line stack trace using SCLogError. The intent
is to provide diagnostic information in deployments where core files are
not possible.

The diagnostic message is from the offending thread and includes the
stack trace; each frame includes the symbol + offset.
@codecov
Copy link

codecov bot commented Jan 4, 2022

Codecov Report

Merging #6744 (93842aa) into master (4972021) will decrease coverage by 0.03%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##           master    #6744      +/-   ##
==========================================
- Coverage   77.17%   77.13%   -0.04%     
==========================================
  Files         616      616              
  Lines      185662   185664       +2     
==========================================
- Hits       143276   143205      -71     
- Misses      42386    42459      +73     
Flag Coverage Δ
fuzzcorpus 52.93% <0.00%> (-0.13%) ⬇️
suricata-verify 52.67% <62.50%> (+0.05%) ⬆️
unittests 63.04% <10.00%> (-0.01%) ⬇️

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants