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

next/684/20250110/v1 #12373

Merged
merged 3 commits into from
Jan 11, 2025
Merged

Conversation

victorjulien
Copy link
Member

Currently, the syntax includes direction as a part of the keyword which
is against how usually keywords are done. By making direction as a
mandatory argument, it is possible to make the syntax cleaner and the
implementation more compact and easily extendable.
Pros:
- Registration table sees lesser entries if newer options are added
- If the options have to be extended, it can be done trivially
- In accordance w existing keyword implementations

Note that this commit also retains the existing direction specific
keywords.
For flow.bytes and flow.pkts keywords, allow matching in either
direction.

Feature 5646
Copy link

codecov bot commented Jan 11, 2025

Codecov Report

Attention: Patch coverage is 84.12017% with 37 lines in your changes missing coverage. Please review.

Project coverage is 82.49%. Comparing base (bd1b9f6) to head (ad7ff1c).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12373      +/-   ##
==========================================
- Coverage   82.49%   82.49%   -0.01%     
==========================================
  Files         912      912              
  Lines      258083   258220     +137     
==========================================
+ Hits       212897   213006     +109     
- Misses      45186    45214      +28     
Flag Coverage Δ
fuzzcorpus 60.41% <39.05%> (-0.08%) ⬇️
livemode 19.40% <21.45%> (-0.01%) ⬇️
pcap 44.34% <21.45%> (-0.03%) ⬇️
suricata-verify 63.25% <83.69%> (+0.04%) ⬆️
unittests 58.07% <21.45%> (-0.04%) ⬇️

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

@suricata-qa
Copy link

WARNING:

field baseline test %
SURI_TLPR1_stats_chk
.uptime 651 630 96.77%

Pipeline 24164

Copy link
Member

@inashivb inashivb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@victorjulien victorjulien merged commit ad7ff1c into OISF:master Jan 11, 2025
60 checks passed
@victorjulien victorjulien deleted the next/684/20250110/v1 branch January 11, 2025 10:02
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.

3 participants