-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Quic crypto reassembly 7556 v7 #12626
Quic crypto reassembly 7556 v7 #12626
Conversation
Will alow to have decode_frames accept one additional parameter with past fragment data
cf rfc9000 section 19.3. ACK Frames Ticket: 7556
Ticket: 7556 To do so, we need to add 2 buffers (one for each direction) to the QuicState structure, so that on parsing the second packet with hello/crypto fragment, we still have the data of the first hello/crypto fragment. Use a hardcoded limit so that these buffers cannot grow indefinitely and set an event when reaching the limit
Ticket: 7556
Ticket: 7556 Avoids failed_decrypt events when the first packet seen is not a Quic Initial packet
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #12626 +/- ##
==========================================
+ Coverage 80.74% 80.76% +0.01%
==========================================
Files 931 931
Lines 259144 259224 +80
==========================================
+ Hits 209242 209352 +110
+ Misses 49902 49872 -30
Flags with carried forward coverage won't be shown. Click here to find out more. |
Passed my QA. Ran this PR with SV PR OISF/suricata-verify#2307. Local pipeline 5256, run 735. |
🤞 |
WARNING:
Pipeline 24812 |
Merged in #12631, thanks! |
Great work, thanks @catenacyber. I think there are still some more fixes to be done, see the last pcap I added to the ticket. |
Link to ticket: https://redmine.openinfosecfoundation.org/issues/
https://redmine.openinfosecfoundation.org/issues/7556
Describe changes:
SV_BRANCH=OISF/suricata-verify#2307
#12617 with