Skip to content

detect/analyzer: add more details for the tcp window keyword-v2#12024

Closed
Nancyenos wants to merge 1 commit intoOISF:masterfrom
Nancyenos:detect/analyzer-add-more-details-for-the-tcp-window-keyword-v2
Closed

detect/analyzer: add more details for the tcp window keyword-v2#12024
Nancyenos wants to merge 1 commit intoOISF:masterfrom
Nancyenos:detect/analyzer-add-more-details-for-the-tcp-window-keyword-v2

Conversation

@Nancyenos
Copy link
Contributor

@Nancyenos Nancyenos commented Oct 24, 2024

Ticket: 6352

Make sure these boxes are checked accordingly before submitting your Pull Request -- thank you.

Contribution style:

Our Contribution agreements:

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

Describe changes:
-Add more details for the tcp-window keyword

Provide values to any of the below to override the defaults.

SV_BRANCH=OISF/suricata-verify#2104

Comment on lines +936 to +943
case DETECT_WINDOW: {
const DetectWindowData *wd = (const DetectWindowData *)smd->ctx;
jb_open_object(js, "window");
jb_set_uint(js, "size", wd->size);
jb_set_bool(js, "negated", wd->negated);
jb_close(js);
break;
}
Copy link
Member

Choose a reason for hiding this comment

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

This is looking good. Congrats! :)
I think your suricata-verify PR needs work though

@jufajardini jufajardini added outreachy Contributions made by Outreachy applicants needs rebase Needs rebase to main labels Oct 24, 2024
Copy link
Contributor

@jufajardini jufajardini left a comment

Choose a reason for hiding this comment

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

Once the SV work is sorted, you can also rebase the work here and submit a new PR :)

@Nancyenos
Copy link
Contributor Author

Once the SV work is sorted, you can also rebase the work here and submit a new PR :)

ok.will do

@codecov
Copy link

codecov bot commented Oct 25, 2024

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Project coverage is 79.67%. Comparing base (1860aa8) to head (38643ff).
Report is 17 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12024      +/-   ##
==========================================
- Coverage   83.24%   79.67%   -3.58%     
==========================================
  Files         910      910              
  Lines      258136   257966     -170     
==========================================
- Hits       214895   205529    -9366     
- Misses      43241    52437    +9196     
Flag Coverage Δ
fuzzcorpus 61.55% <0.00%> (+0.05%) ⬆️
livemode 19.38% <0.00%> (-0.01%) ⬇️
pcap 44.32% <0.00%> (-0.11%) ⬇️
suricata-verify ?
unittests 59.28% <0.00%> (-0.01%) ⬇️

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

@Nancyenos
Copy link
Contributor Author

work continued in #12035

@Nancyenos Nancyenos closed this Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs rebase Needs rebase to main outreachy Contributions made by Outreachy applicants

Development

Successfully merging this pull request may close these issues.

3 participants