Skip to content

Dcerpc flags/v4 - #16045

Draft
inashivb wants to merge 2 commits into
OISF:mainfrom
inashivb:dcerpc-flags/v4
Draft

Dcerpc flags/v4#16045
inashivb wants to merge 2 commits into
OISF:mainfrom
inashivb:dcerpc-flags/v4

Conversation

@inashivb

Copy link
Copy Markdown
Member

Previous PR: #15992

Changes since v3:

  • more call sites for smb/dcerpc updated to update flags
  • rebased on top of latest main

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

SV_BRANCH=OISF/suricata-verify#3267

This is a u16 keyword that matches on flags field derived from the
header of a DCERPC packet per transaction per direction.

Flags are stored in the tx to allow matches with dcerpc.flags keyword
later on. DCERPC/TCP exposes a u8 as PFC flags in its header however,
DCERPC/UDP stores two sets of flags flags1 and flags2 in its header.
Hence, the field is kept u16 to accommodate for both.

Feature 8734
@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.06780% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.02%. Comparing base (4481f27) to head (9bd3bd3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #16045      +/-   ##
==========================================
- Coverage   83.03%   83.02%   -0.02%     
==========================================
  Files        1002     1002              
  Lines      276730   276838     +108     
==========================================
+ Hits       229773   229831      +58     
- Misses      46957    47007      +50     
Flag Coverage Δ
fuzzcorpus 61.60% <39.83%> (-0.02%) ⬇️
livemode 18.42% <10.16%> (-0.04%) ⬇️
netns 22.85% <10.16%> (-0.02%) ⬇️
pcap 45.42% <38.13%> (-0.06%) ⬇️
suricata-verify 67.12% <93.22%> (-0.01%) ⬇️
unittests 58.46% <13.55%> (-0.02%) ⬇️

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
Copy Markdown

Information: QA ran without warnings.

Pipeline = 33099

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