Fast and Complete Conflict Detection for Packet Classifiers
Authors:
- 2 December 2014
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Systems Journal
- Vol. 11 (2) , 1137-1148
Abstract
Packet classification filters are used to classify packets based on header fields. A filter conflict occurs when two or more filters overlap, causing an ambiguity in packet classification. These conflicts may cause quality-of-service failures, security vulnerabilities, or routing errors in network services, e.g., differentiated services and firewalls. There are two types of conflicts, i.e., overlapping and subset. While the subset conflict problem can be solved by reordering filters, overlapping conflicts are resolved by inserting resolve filters. None of the existing algorithms detects both types of conflicts for multidimensional filters with arbitrary-range fields. To fill the research gap, we present a series of algorithms based on a previous algorithm that reports all overlapping filters without identifying overlapping conflicts. We improve the previous algorithm to extract overlapping conflicts by modifying either data structures or operations. To further reduce the cost of conflict detection, we define new data structures to process range fields with their boundary addresses. The algorithm based on new bit vectors can detect partial overlaps between multidimensional filters with arbitrary ranges. Our experimental results show that the new algorithm is two times faster than the algorithms based on the original data structures in detecting both types of conflicts.Keywords
Funding Information
- Ministry of Science and Technology, Taiwan (NSC100-2628-E-005-007-MY3)
This publication has 37 references indexed in Scilit:
- Modeling and global conflict analysis of firewall policyChina Communications, 2014
- Efficient conflict detection in flow-based virtualized networks2012
- Worst-Case TCAM Rule Expansion2010
- Firewall policy change-impact analysisACM Transactions on Internet Technology, 2008
- Formal correctness of conflict detection for firewalls2007
- A New Output-Sensitive Algorithm to Detect and Resolve Conflicts in Internet Router Tables2007
- Scalable packet classificationIEEE/ACM Transactions on Networking, 2005
- O(log n) dynamic router-tables for prefixes and rangesIEEE Transactions on Computers, 2004
- A quantitative study of firewall configuration errorsComputer, 2004
- High-speed policy-based packet forwarding using efficient multi-dimensional range matchingACM SIGCOMM Computer Communication Review, 1998