Conversation
vlan.id matches on Virtual Local Area Network IDs It is an unsigned 16-bit integer Valid range for the default configuration = [1-4094] Supports prefiltering Ticket: OISF#1065
08b0d38 to
3214cba
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #12324 +/- ##
==========================================
- Coverage 83.26% 83.23% -0.04%
==========================================
Files 912 914 +2
Lines 257643 257864 +221
==========================================
+ Hits 214521 214621 +100
- Misses 43122 43243 +121
Flags with carried forward coverage won't be shown. Click here to find out more. |
catenacyber
left a comment
There was a problem hiding this comment.
CI : 🟢
Code : cool
Commits segmentation : ok
Commit messages : nice
Git ID set : looks fine for me
CLA : you already contributed
Doc update : excellent
Redmine ticket : ok (please put the clickable link to https://redmine.openinfosecfoundation.org/issues/1065 instead of PR 1065 ;-) )
Rustfmt : almost ok for vlan_id.rs :-p
Tests : nice
Dependencies added: none
Should I include this change with |
|
New PR is preferred |
Ticket: #1065
Contribution style:
https://docs.suricata.io/en/latest/devguide/contributing/contribution-process.html
Our Contribution agreements:
https://suricata.io/about/contribution-agreement/ (note: this is only required once)
Changes (if applicable):
(including schema descriptions)
https://redmine.openinfosecfoundation.org/projects/suricata/issues
Link to ticket: https://redmine.openinfosecfoundation.org/issues/1065
Description:
detect-vlan-id.c changes:
vdata.layeriscountbefore returning: line 97vlan_id.rs changes:
VLAN_MAX_LAYERSandVLAN_MAX_LAYER_IDX: line 25, line 26du16.arg2is a valid value: line 41.ok(): line 56DETECT_VLAN_ID_COUNT: line 49i8::from_str: line 57anyoption: line 53any: line 107countvalue: line 209layervalue: line 210vlan-keywords.rst changes:
any: line 52SV_BRANCH=OISF/suricata-verify#2208
Previous PR= #12301