WIP QUIC: Improving initial packet dissection and building.#4773
WIP QUIC: Improving initial packet dissection and building.#4773sippejw wants to merge 6 commits intosecdev:masterfrom
Conversation
… where to parse/decrypt what
|
I have opened this draft PR to start a discussion on the best way to handle dissecting/building QUIC which has fields that must be protected/unprotected as well as payloads that must be encrypted/decrypted. For now, I am mostly focused on the dissection but I believe that building will follow a lot of the same structure.
I have started to go down this route, but it does mean effectively parsing the packet twice. Once in the Have any other layers encountered something like this? If so, I'd be interested in taking a look at how it was handled.
If I include the QUIC payload (the list of frames and their subsequent dissections) as part of the existing QUIC layer, I think it would make the most sense to handle the decryption in the @gpotter2 I want to loop you in due to your involvement with previous QUIC development in Scapy. Let me know your thoughts and I appreciate any input! |
|
I should've included this in the previous comment... If we are going to treat the QUIC frames as some type of second layer, then it may be appropriate to handle the payload decryption in the |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4773 +/- ##
===========================================
- Coverage 81.22% 46.77% -34.46%
===========================================
Files 363 348 -15
Lines 88396 88229 -167
===========================================
- Hits 71803 41265 -30538
- Misses 16593 46964 +30371
🚀 New features to boost your workflow:
|
|
@gpotter2 Do you know if there is a way to run the unit tests? |
Checklist:
cd test && ./run_testsortox)This PR aims to improve the capability of the QUIC layer, specifically building and dissecting QUIC initial packets.
List of changes: