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

Decode runmode/v9 #11233

Closed
wants to merge 6 commits into from
Closed

Conversation

victorjulien
Copy link
Member

@victorjulien victorjulien commented Jun 4, 2024

WIP branch for merging decoders into capture methods.

https://redmine.openinfosecfoundation.org/issues/6968

Implements it for:

  • pcap-file
  • pcap
  • af-packet
    That should show if the approach makes sense and if CI/QA pass.

Copy link

codecov bot commented Jun 4, 2024

Codecov Report

Attention: Patch coverage is 54.86111% with 65 lines in your changes missing coverage. Please review.

Project coverage is 77.61%. Comparing base (090079c) to head (a29114e).
Report is 396 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11233      +/-   ##
==========================================
- Coverage   82.52%   77.61%   -4.92%     
==========================================
  Files         938      938              
  Lines      248297   248152     -145     
==========================================
- Hits       204917   192596   -12321     
- Misses      43380    55556   +12176     
Flag Coverage Δ
fuzzcorpus ?
livemode 18.65% <29.92%> (-0.05%) ⬇️
pcap 43.75% <22.42%> (-0.03%) ⬇️
suricata-verify 61.54% <22.42%> (+<0.01%) ⬆️
unittests 59.43% <16.93%> (+<0.01%) ⬆️

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

@suricata-qa
Copy link

ERROR:

ERROR: QA failed on SURI_TLPR1_alerts_cmp.

Pipeline 20957

@suricata-qa
Copy link

Information:

ERROR: QA failed on SURI_TLPR1_suri_time.

field baseline test %
SURI_TLPR1_stats_chk
.uptime 642 665 103.58%

Pipeline 21015

@catenacyber
Copy link
Contributor

Are you checking the red CI ?

@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 21520

@suricata-qa
Copy link

ERROR:

ERROR: QA failed on SURI_TLPW2_autofp_suri_time.

Pipeline 21531

 source-dpdk.c:201:21: warning: Access to field 'dev' results in a dereference of a null pointer (loaded from field 'livedev') [core.NullDereference]
  201 |                     ptv->livedev->dev, rte_strerror(-retval), flush_error.message);
      |                     ^~~~~~~~~~~~~~~~~
./util-debug.h:262:74: note: expanded from macro 'SCLogError'
  262 |     SCLogErr(SC_LOG_ERROR, __FILE__, __FUNCTION__, __LINE__, _sc_module, __VA_ARGS__)
      |                                                                          ^~~~~~~~~~~
source-dpdk.c:641:17: warning: Potential leak of memory pointed to by 'ptv' [unix.Malloc]
  641 |     SCReturnInt(TM_ECODE_FAILED);
      |                 ^~~~~~~~~~~~~~~
./util-debug.h:275:48: note: expanded from macro 'SCReturnInt'
  275 | #define SCReturnInt(x)                  return x
      |                                                ^
source-dpdk.c:732:67: warning: Access to field 'dev' results in a dereference of a null pointer (loaded from field 'livedev') [core.NullDereference]
  732 |             SCLogError("%s: error (%s) when getting device info", ptv->livedev->dev,
      |                                                                   ^~~~~~~~~~~~~~~~~
./util-debug.h:262:74: note: expanded from macro 'SCLogError'
  262 |     SCLogErr(SC_LOG_ERROR, __FILE__, __FUNCTION__, __LINE__, _sc_module, __VA_ARGS__)
      |                                                                          ^~~~~~~~~~~
3 warnings generated.
@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 21536

@catenacyber catenacyber added the needs rebase Needs rebase to master label Aug 2, 2024
@victorjulien
Copy link
Member Author

replaced by #12277

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs rebase Needs rebase to master
Development

Successfully merging this pull request may close these issues.

3 participants