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

Pr 8341 and payload len fix/v3 #8404

Closed
wants to merge 5 commits into from

Conversation

inashivb
Copy link
Member

Link to redmine tickets:
https://redmine.openinfosecfoundation.org/issues/5379
https://redmine.openinfosecfoundation.org/issues/5693

Previous PR: #8393

Changes since v2:

  • fix rule msg

suricata-verify-pr: 1055

Lukas Sismis and others added 5 commits January 18, 2023 06:30
If the packet is shorter than IP payload length we no longer flag it as an
invalid UDP packet. UDP packet can be therefore shorter than IP payload.

Redmine ticket: OISF#5693
Fix payload_len calculation post removal of the condition that returned
error code if the length to the decode fn did not match the length of
header from the UDP packet.

Bug 5379
@codecov
Copy link

codecov bot commented Jan 19, 2023

Codecov Report

Merging #8404 (73c0444) into master (a24d7dc) will increase coverage by 0.06%.
The diff coverage is 66.66%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8404      +/-   ##
==========================================
+ Coverage   81.94%   82.01%   +0.06%     
==========================================
  Files         963      963              
  Lines      277683   277686       +3     
==========================================
+ Hits       227561   227742     +181     
+ Misses      50122    49944     -178     
Flag Coverage Δ
fuzzcorpus 64.37% <66.66%> (+0.23%) ⬆️
suricata-verify 59.66% <50.00%> (-0.03%) ⬇️
unittests 63.59% <50.00%> (-0.01%) ⬇️

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

@inashivb inashivb marked this pull request as ready for review January 19, 2023 08:39
@suricata-qa
Copy link

WARNING:

field baseline test %
SURI_TLPW1_stats_chk
.tcp.rst 128237 103984 81.09%
.app_layer.error.tls.parser 931 1145 122.99%
SURI_TLPR1_stats_chk
.app_layer.flow.http 3118951 3340800 107.11%
.app_layer.flow.tls 510462 623353 122.12%
.app_layer.flow.ssh 8937 11032 123.44%
.app_layer.flow.telnet 1624 2334 143.72%
TREX_GENERIC_stats_chk
.capture.kernel_drops 0 119891 0.02

Pipeline 11738

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