{"title":"Accelerating Packet Classification via Direct Dependent Rules","authors":"Takashi Fuchino, Takashi Harada, Ken Tanaka","doi":"10.1109/NoF52522.2021.9609820","DOIUrl":null,"url":null,"abstract":"Packet classification is used to determine the behavior of incoming packets in network devices. The development of algorithms for packet classification that can be applied in a widespread manner to firewalls is required, given the prevalence of Internet threats and the need for effective communication. As it is achieved using linear search on a classification rule list, a large number of rules leads to longer communication latency. To decrease the latency, a problem known as optimal rule ordering (ORO) has been formalized, which aims to identify the ordering of rules that minimizes the classification latency caused by packet classification, while preserving the classification policy.Because ORO is known to be NP–hard, various heuristics for ORO have been proposed.Certain algorithms with time complexities of O(n2) exist that cannot sufficiently reduce the latency. Algorithms that can reduce the latency have time complexities of O(n3).To decide the position where rules should be placed, most heuristic algorithms for ORO calculate evaluations that take into account of packets that match the rule and the constraints of reordering. This calculation is the bottleneck of time complexities for reordering algorithms, and there is a trade-off relationship with the reordering accuracy. Thus in this paper, we propose O(n2) method that uses the average number of not only the rule to be evaluated but also the rules that are depended by it. Furthermore, we demonstrate the effectiveness of our method by comparing it with other O(n2) methods using ClassBench, which is a benchmark for packet classification algorithms.","PeriodicalId":314720,"journal":{"name":"2021 12th International Conference on Network of the Future (NoF)","volume":"24 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-10-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 12th International Conference on Network of the Future (NoF)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/NoF52522.2021.9609820","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
Abstract
Packet classification is used to determine the behavior of incoming packets in network devices. The development of algorithms for packet classification that can be applied in a widespread manner to firewalls is required, given the prevalence of Internet threats and the need for effective communication. As it is achieved using linear search on a classification rule list, a large number of rules leads to longer communication latency. To decrease the latency, a problem known as optimal rule ordering (ORO) has been formalized, which aims to identify the ordering of rules that minimizes the classification latency caused by packet classification, while preserving the classification policy.Because ORO is known to be NP–hard, various heuristics for ORO have been proposed.Certain algorithms with time complexities of O(n2) exist that cannot sufficiently reduce the latency. Algorithms that can reduce the latency have time complexities of O(n3).To decide the position where rules should be placed, most heuristic algorithms for ORO calculate evaluations that take into account of packets that match the rule and the constraints of reordering. This calculation is the bottleneck of time complexities for reordering algorithms, and there is a trade-off relationship with the reordering accuracy. Thus in this paper, we propose O(n2) method that uses the average number of not only the rule to be evaluated but also the rules that are depended by it. Furthermore, we demonstrate the effectiveness of our method by comparing it with other O(n2) methods using ClassBench, which is a benchmark for packet classification algorithms.