Multi-dimensional prefix matching using line search

  • Authors:
  • M. Waldvogel

  • Affiliations:
  • -

  • Venue:
  • LCN '00 Proceedings of the 25th Annual IEEE Conference on Local Computer Networks
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

With the increasing popularity of firewalls, virtual private networks (VPNs) and quality of service (QoS) routing, packet classification becomes increasingly important in the Internet. The high-performance solutions known so far strongly rely on certain properties of the filter database to match against, such as a small number of distinct prefixes or the absence of conflicts. We present line search as a two-dimensional generalization of the one-dimensional binary search on prefix lengths exploiting the advantage given by the different approach therein. This algorithm also works best on the filter databases that are expected to occur most often, but degrades gracefully when these assumptions no longer hold. We also show how to efficiently extend the algorithm to a complete five-dimensional Internet protocol (IP) and transport header match.