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

imap: extend detection patterns - v6 #10851

Closed
wants to merge 1 commit into from

Conversation

mmaatuq
Copy link
Contributor

@mmaatuq mmaatuq commented Apr 15, 2024

Ticket: #2886

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

Link to redmine ticket:2886

Describe changes:

  • extend detection patterns for imap protocol as per rfc9051
  • compared to this previous PR notes on PR imap: extend detection patterns - v5 #10740 were incorporated.
  • this is not comprehensive and might create more false positives, but i think this tradeoff is acceptable, and we can overcome these limitations when we add a complete parser.

SV_BRANCH=OISF/suricata-verify#1768

Copy link

NOTE: This PR may contain new authors.

catenacyber
catenacyber previously approved these changes Apr 18, 2024
Copy link
Contributor

@catenacyber catenacyber left a comment

Choose a reason for hiding this comment

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

Thanks for the work :-)

This PR looks good to me, but the SV one needs a small update

  • CI : 🟢
  • Code : Looking good for me
  • Commits segmentation : ok
  • Commit messages : ok for me
  • Git ID set : looks fine for me
  • CLA : I do not have the access to check it
  • Doc update : not needed
  • Redmine ticket : ok
  • Rustfmt : not needed
  • Tests : 🟠 Left one remark there
  • Dependencies added: none

@catenacyber
Copy link
Contributor

@mmaatuq could you please rebase and fix the conflict ?

@catenacyber catenacyber added the needs rebase Needs rebase to master label May 23, 2024
@mmaatuq mmaatuq force-pushed the imap-bug-2886-v6 branch from 2b91eae to 72dd5d7 Compare May 24, 2024 19:57
Copy link

NOTE: This PR may contain new authors.

Copy link

codecov bot commented May 26, 2024

Codecov Report

Attention: Patch coverage is 70.58824% with 10 lines in your changes are missing coverage. Please review.

Project coverage is 79.76%. Comparing base (10a367b) to head (053c21c).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #10851      +/-   ##
==========================================
- Coverage   82.96%   79.76%   -3.21%     
==========================================
  Files         942      943       +1     
  Lines      250569   250418     -151     
==========================================
- Hits       207876   199735    -8141     
- Misses      42693    50683    +7990     
Flag Coverage Δ
fuzzcorpus 61.29% <70.58%> (+<0.01%) ⬆️
livemode 18.71% <70.58%> (+0.01%) ⬆️
pcap 44.29% <70.58%> (-0.21%) ⬇️
suricata-verify ?
unittests 60.65% <70.58%> (+<0.01%) ⬆️

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

@catenacyber
Copy link
Contributor

I guess this needs a rebase for both suricata-verify PR and this one to get CI green

@mmaatuq
Copy link
Contributor Author

mmaatuq commented May 30, 2024 via email

Copy link
Contributor

@catenacyber catenacyber left a comment

Choose a reason for hiding this comment

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

Needs a rebase (for SV as well)

Ticket: OISF#2886

Signed-off-by: mmaatuq <mahmoudmatook.mm@gmail.com>
@mmaatuq mmaatuq force-pushed the imap-bug-2886-v6 branch from 72dd5d7 to 053c21c Compare June 1, 2024 05:19
Copy link

github-actions bot commented Jun 1, 2024

NOTE: This PR may contain new authors.

@mmaatuq
Copy link
Contributor Author

mmaatuq commented Jun 2, 2024

I'm running CentOS Stream 8 and the 3 reported failed tests, pass on that machine.

@catenacyber
Copy link
Contributor

I'm running CentOS Stream 8 and the 3 reported failed tests, pass on that machine.

You should likely create a new rebased SV PR (to avoid some GitHub caching)

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.

2 participants