Skip to content

Conversation

@jasonish
Copy link
Member

@jasonish jasonish commented Nov 13, 2025

Ticket: https://redmine.openinfosecfoundation.org/issues/8096

Simple libpcap example for live capture. Allows listening on multiple
interfaces to show how multiple threads (workers) can be used.

Previous PR: #14293

Changes:

  • Fix exit on failure to open device
  • Cleanup log message on opening device
  • Comment fixed

This doesn't actually stop the engine, but instead signals the main
loop to move to shutdown mode.
Simple libpcap example for live capture. Allows listening on multiple
interfaces to show how multiple threads (workers) can be used.

Ticket: OISF#8096
@codecov
Copy link

codecov bot commented Nov 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.17%. Comparing base (b21c93d) to head (483dfd6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #14329   +/-   ##
=======================================
  Coverage   84.16%   84.17%           
=======================================
  Files        1012     1012           
  Lines      261869   261869           
=======================================
+ Hits       220405   220425   +20     
+ Misses      41464    41444   -20     
Flag Coverage Δ
fuzzcorpus 63.31% <ø> (-0.01%) ⬇️
livemode 18.78% <ø> (+0.01%) ⬆️
pcap 44.65% <ø> (-0.04%) ⬇️
suricata-verify 64.95% <ø> (+0.02%) ⬆️
unittests 59.22% <ø> (ø)

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline = 28464

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