Accelerating Packet Classification via Direct Dependent Rules

Takashi Fuchino, Takashi Harada, Ken Tanaka
{"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.
通过直接依赖规则加速包分类
报文分类用于确定网络设备中传入报文的行为。考虑到Internet威胁的普遍存在和对有效通信的需求,需要开发能够广泛应用于防火墙的数据包分类算法。由于它是使用分类规则列表上的线性搜索实现的,因此大量的规则会导致更长的通信延迟。为了减少延迟,已经形式化了一个称为最优规则排序(ORO)的问题,其目的是确定规则的排序,使分组分类引起的分类延迟最小化,同时保留分类策略。由于已知ORO是np困难的,因此已经提出了各种针对ORO的启发式方法。存在一些时间复杂度为O(n2)的算法,不能充分降低延迟。能够减少延迟的算法的时间复杂度为0 (n3)。为了确定应该放置规则的位置,大多数用于ORO的启发式算法计算了考虑匹配规则的数据包和重新排序约束的评估。这种计算是重排序算法时间复杂度的瓶颈,并且与重排序精度存在权衡关系。因此,本文提出了O(n2)方法,该方法不仅使用待评估规则的平均值,而且使用依赖于该规则的规则的平均值。此外,我们通过使用ClassBench(数据包分类算法的基准)将我们的方法与其他O(n2)方法进行比较,证明了我们的方法的有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信