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

Dns over http2 5773 v15 #11428

Closed
wants to merge 9 commits into from

Conversation

catenacyber
Copy link
Contributor

Link to redmine ticket:
https://redmine.openinfosecfoundation.org/issues/5773

Describe changes:

  • analyze DNS over HTTP2

SV_BRANCH=OISF/suricata-verify#1734

#11376 with review taken into account

Draft because of TODO :

THashInitConfig may not allocate array and increase memuse.
Such a failure leads to THashShutdown which should not decrease
the memuse.

Ticket: 7135
by making tx parsing and creation more easily available,
without needing a dns state.

Dns event NotResponse is now set on the right tx, and not the one
before.

Also debug log for Z-flag on request says "request" instead of
"response"

Also rustfmt dns.rs
Now a flow alproto can be changed by a call to AppLayerParserParse
when HTTP2 forces the flow to turn into DOH2.
Ticket: 5773

Handles both directions the same way for data if content type is
application/dns-message
So as to consume less memory for HTTP2Transaction
Copy link

codecov bot commented Jul 4, 2024

Codecov Report

Attention: Patch coverage is 93.12321% with 24 lines in your changes missing coverage. Please review.

Project coverage is 82.45%. Comparing base (a7af371) to head (fdd372d).

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #11428    +/-   ##
========================================
  Coverage   82.44%   82.45%            
========================================
  Files         938      938            
  Lines      248086   248295   +209     
========================================
+ Hits       204534   204724   +190     
- Misses      43552    43571    +19     
Flag Coverage Δ
fuzzcorpus 60.09% <69.34%> (-0.01%) ⬇️
livemode 18.71% <6.59%> (-0.02%) ⬇️
pcap 43.80% <79.36%> (+0.02%) ⬆️
suricata-verify 61.46% <84.81%> (+0.05%) ⬆️
unittests 59.41% <35.81%> (-0.03%) ⬇️

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

@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 21379

@catenacyber
Copy link
Contributor Author

Continued in #11461

@catenacyber catenacyber closed this Jul 9, 2024
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.

2 participants