Prefix Cuttings for Packet Classification with Fast Updates

Packet classification is a key technology of the Internet for routers to classify the arriving packets into different flows according to the predefined rulesets. Previous packet classification algorithms have mainly focused on search speed and memory usage, while overlooking update performance. In this paper, we propose PreCuts, which can drastically improve the update speed. According to the characteristics of IP field, we implement three heuristics to build a 3-layer decision tree. In the first layer, we group the rules with the same highest byte of source and destination IP addresses. For the second layer, we cluster the rules which share the same IP prefix length. Finally, we use the heuristic of information entropy-based bit partition to choose some specific bits of IP prefix to split the ruleset into subsets. The heuristics of PreCuts will not introduce rule duplication and incremental update will not reduce the time and space performance. Using ClassBench, it is shown that compared with BRPS and EffiCuts, the proposed algorithm not only improves the time and space performance, but also greatly increases the update speed.

[1]  Yongwha Chung,et al.  A Cost-Effective Pigsty Monitoring System Based on a Video Sensor , 2014, KSII Trans. Internet Inf. Syst..

[2]  Weixin Xie,et al.  A Semi-fragile Image Watermarking Scheme Exploiting BTC Quantization Data , 2014, KSII Trans. Internet Inf. Syst..