VLAN Packet Filtering Using TPID Rules for Malformed Frame Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Malformed VLAN packets can cause misclassification in network devices, leading to security breaches by bypassing security features due to garbled metadata, as existing systems fail to detect and handle such packets effectively.
Innovation Solution
Implementing a packet processing pipeline with a parsing stage that categorizes packets based on TPIDs and using TCAM rules to detect and drop malformed VLAN packets by matching on EtherType metadata or user-defined fields (UDFs) to prevent further propagation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the parser processes all incoming packets without validation, then processing speed is maintained, but security is compromised due to misclassification of malformed packets
Solution Approach 1:
The patent applies preliminary action by validating packet structure and TPID fields before the main parsing process. The system checks for malformed VLAN packets (including invalid TPID values and excessive VLAN tags) in advance, preventing garbled metadata generation downstream while maintaining processing efficiency through early rejection of invalid packets
2Reliability
If downstream stages implement comprehensive validation to detect malformed packets, then security is improved, but processing complexity increases
Solution Approach 1:
The patent extracts the validation function from downstream processing stages and concentrates it in the parsing stage. By removing malformed packet detection from later stages and handling it upfront during packet parsing, the system simplifies the overall pipeline architecture while maintaining comprehensive security validation
3Reliability
If the system filters out malformed packets early in the pipeline, then security is enhanced, but loss of legitimate packets may occur due to false positives
Solution Approach 1:
The patent applies local quality by implementing specific, targeted validation rules for particular packet fields (TPID values, VLAN tag count, EtherType metadata) rather than applying blanket filtering. This localized approach ensures that only genuinely malformed packets are rejected while preserving legitimate traffic that happens to have non-standard but valid characteristics
Data Source
Figure 1~3
Figure 4
Figure 5
AI summary
Malformed VLAN packets can be detected by programming suitable rules in a TCAM in the packet processing pipeline. In some deployments, for example, the TCAM rule(s) can match on the parsed EtherType metadata. More specifically, the match can be based on the EtherType metadata being set to a value equal to known VLAN TPIDs, such as 0x8100, 0x88a8, rather than being set to a standard EtherType.