decode-ipv6: Set IPv6 proto incase of ext header parsing error#8912
Closed
coledishington wants to merge 1 commit intoOISF:masterfrom
Closed
decode-ipv6: Set IPv6 proto incase of ext header parsing error#8912coledishington wants to merge 1 commit intoOISF:masterfrom
coledishington wants to merge 1 commit intoOISF:masterfrom
Conversation
Set the IPv6 packet proto before parsing the ext headers, similar to decode-ipv4, incase of an ext header parsing error. Otherwise rule decode-events are not triggered for packets encapsulated in IPv6.
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #8912 +/- ##
==========================================
+ Coverage 82.30% 82.33% +0.03%
==========================================
Files 969 969
Lines 273335 273336 +1
==========================================
+ Hits 224961 225045 +84
+ Misses 48374 48291 -83
Flags with carried forward coverage won't be shown. Click here to find out more. |
Member
|
Need both ticket and SV test please. We use tickets to track backports and generate changelogs. |
Contributor
|
Replaced by #8917 right ? |
Author
Yep this is replaced by #8917. I created a bug report (https://redmine.openinfosecfoundation.org/issues/6086) and suricata-verify test (OISF/suricata-verify#1218) too. Thanks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Set the IPv6 packet proto before parsing the ext headers, similar to decode-ipv4, incase of an ext header parsing error. Otherwise rule decode-events are not triggered for packets encapsulated in IPv6.
Make sure these boxes are signed before submitting your Pull Request -- thank you.
No redmine ticket due to simplicity of fix.
Describe changes:
Fix detection of decode-events of IPv6 packets by setting the IPv6 packet proto before parsing the ext headers, similar to decode-ipv4. The error occurs if there is a decode error in an ext header.