Abstract
Packet classification is a central function in filtering systems such as firewalls or intrusion detection mechanisms. Several mechanisms for fast packet classification have been proposed. But, existing algorithms are not always scalable to large filters databases in terms of search time and memory storage requirements.
In this paper, we present a novel multifields packet classification algorithm based on an existing algorithm called Pacars and we show its advantages compared to previously proposed algorithms. We give performance measurements using a publicly available benchmark developed at Washington University. We show how our algorithm offers improved search times without any limitation in terms of incremental updates.
Résumé
Le classement de paquets est une fonction centrale pour assurer le filtrage dans les paresfeux ou les mécanismes de détection d’intrusion. Plusieurs mécanismes visant à fournir un classement de paquets dans les plus brefs délais ont été proposés. Cependant, ces algorithmes existants ne donnent pas toujours de résultats satisfaisants en terme de temps de recherche ou de mémoire de stockage lorsque les bases de règles de classement augmentent en taille.
Dans cet article, nous présentons un nouvel algorithme de classement de paquets multichamps basé sur un algorithme existant très performant appelé Pacars et nous montrons ses avantages par rapport aux travaux précédents. Nous présentons nos mesures de performances en utilisant un jeu de tests développé à l’université de Washington. Nous montrons que notre algorithme donne de meilleurs temps de recherche tout en prenant en compte les mises à jour incrémentales dans la base de règles de classement.
Similar content being viewed by others
References
Hackock R., Karagiannis G., Loughney J., Van den bosch S., Next Steps in Signalling (NSIS): Framework, RFC 4080, IETF, 2005.
Rafalow S., Jason J., Vyncke E., IPSEC configuration policy information model, RFC 3585, IETF, 2003.
Waldvogel M., Varghese G., Turner J., Plattner B., Scalable high speed prefix-matching, ACM Transactions on computer Science, vol. 19, pp. 440–482, 2001.
Knuth D.E., Sorting and Searching, vol.3 of The Art of Computer Programming, Addison-Wesley, 1973.
Dharmapurikar S., Praveen K., Taylor D.E., Longest Prefix Matching Using Bloom Filters, Conference on Applications, Technologies, Architectures, and Protocols for Computer Communications, 2003.
Stevens W.R., Wright G. R., TCP/IP illustré, Vuibert Informatique, 1998.
Van luteren J., Searching Very Large Routing Tables in Wide Embedded Memory, in proc. of Global Telecommunications Conference, vol. 3, pp 1615–1619, IEEE Globecom, 2001.
Zane F., Narlikar G., Basu A., Coolcams: power-efficient TCAMS for forwarding engines, in proc. of IEEE Infocom, vol. 1, pp. 42–52, 2003
Srinivasan V., Varghese G., Suri S., Waldvogel M., Fast and Scalable Layer Four Switching, in proc. of ACM Sigcomm, pp. 191–202, 1998.
Baboescu F., Singh S., Varghese G., Packet classification for core routers: Is there an alternative to CAMS, IEEE Infocom, 2003.
Chao H. J., Next Generation Routers, in proc. of IEEE, vol. 90 issue 9) pp 1518–1558, 2002.
Gupta P., Mckeown N., Algorithms for Packet Classification, IEEE Network, vol. 15:2, pp. 24–32, 2001.
Gupta P., Algorithms for routing lookups and packet classification, Ph D dissertation, University of Standford, 2000
Gupta P., Mckeown N., Packet Classification Using Hierarchical Intelligent Cuttings, in proc. of Hot Interconnects VII, 1999
Singh S., Baboescu F., Varghese G., Wang J., Packet Classification Using Multidimensional Cutting, in proc. of the 2003 conference on Applications, technologies, architectures, and protocols for computer communications, pp. 213–224, ACM SigComm, 2003
Woo T. Y. C., A modular Approach to Packet Classification: Algorithms and Results, in proc. of IEEE Infocom, pp. 1213–1222, 2000.
Feldmann A., Muthukrishnan S., Tradeoffs for Packet Classification, in proc. of IEEE Infocom, vol. 3, pp. 1193–1202, 2000.
Lakshman T. V., Stiliadis D., High Speed Policy-based Packet Forwarding Using Efficient Multi-dimensional Range Matching, in proc. of ACM Sigcomm, pp. 203–214, 1999.
Baboescu F., Varghese G., Scalable Packet Classification, in proc. of acm Sigcomm, pp. 199–210, 2001.
Van luteren J., Engbersen T., Fast and Scalable Packet Classification, IEEE Journal on Selected Areas in Communications, vol. 21, pp. 560–571, 2003.
Taylor D.E., Turner J.S., Scalable Packet Classification using Distributed Crossproducting of Field Labels, 24th Annual Joint Conference of the IEEE Computer and Communications Societies, in proc. of IEEE Infocom, vol. 1, pp. 269–280, 2005.
Srinivasan V., Suri S., Varghese G., Packet Classification using Tuple Space Search, in proc. of ACM SigComm, pp. 135–146, 1999.
Srinivasan V., A Packet Classification and Filter Management System, in proc. of IEEE Infocom, pp. 1464–1473, 2001.
Buddhikot M., Suri S., Waldvogel M., Space Decomposition Techniques for Fast Layer-4 Switching, in proc. of IFIP Workshop on Protocols for High Speed Network, PHSN IV, pp. 25–41, 1999.
Suri S., Varghese G., Warkhede P.R., Multiway Range Trees: Scalable IP Lookup with Fast Updates, IEEE Globecom, 2001.
Taylor D.E., Turner J. S., ClassBench: A Packet Classification Benchmark, 24th Annual Joint Conference of the IEEE Computer and Communications Societies, IEEE Infocom, vol. 3, pp. 2068–2079, 2005.
Sahasranaman V., Buddhikot M. M., Comparative Evaluation of Software Implementations of Layer-4 Packet Classification Schemes, 9th International Conference on Network Protocols, pp. 220–228, 2001.
Lim H., Kang M. Y., Yim C., Two-dimensional Packet Classification Algorithm Using a Quad-tree, Computer Communications, vol. 30 pp. 1396–1405, 2007.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Jelassi, O., Paul, O. Optimization study of a packet classification algorithm. Ann. Telecommun. 62, 1388–1400 (2007). https://doi.org/10.1007/BF03253325
Received:
Accepted:
Issue Date:
DOI: https://doi.org/10.1007/BF03253325