作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2004, Vol. 30 ›› Issue (07): 53-.

• 论文 • 上一篇    下一篇

一种用于大规模规则库的快速包分类算法

余胜生,张宁,周敬利,胡熠峰   

  1. 华中科技大学计算机科学与技术学院,华中科技大学计算机科学与技术学院,华中科技大学计算机科学与技术学院,华中科技大学计算机科学与技术学院 武汉 430074
  • 发布日期:2004-04-15

A Scalable Fast Algorithm for Packet Classification

YU Shengsheng, ZHANG Ning, ZHOU Jingli, HU Yifeng   

  1. (College of Computer Science and Technology, Huazhong University of Science and Technology, Wuhan 430074)
  • Published:2004-04-15

摘要: 网络应用的发展,要求路由器必须有能力支持防火墙、入侵检测、提供 QoS、流量计费等一系列功能,这些功能都要求路由器对IP包进行分类来完成对数据包的不同处理。目前的包分类算法不适用于大规模的规则数据库。该文在现有的一种基于位串的包分类算法上做了两个改进,位串的聚合和过滤规则的重排列。从而生成了一种新的包分类机制-ABV(Aggregated Bit Vector)。通过评测可看出这种新的算法可以很好地应用在大规模规则数据库上,性能比原先有很大提升。

关键词: 包分类, 位串聚合, 规则重排列

Abstract: The development of Internet application necessitates routers ability to support those functions such as firewalls, intrusion detection, provision of QoS and traffic billing etc. All these functions need routers need classification of packets, according to which it is determined how different packets are processed subsequently. Existing algorithms for packet classification do not scale to large classifiers. This paper uses the bit vector (BV) scheme as a point of departure and adds two new ideas, aggregation of bit maps and filter rearrangement, to create aggregated bit vector (ABV). We show that ABV outperforms BV and scales well to large classifiers using the experimental results.

中图分类号: