High-Speed Policy-Based Packet Forwarding Using Efficient Multi-dimensional Range Matching Lakshman and Stiliadis ACM SIGCOMM 98.

Slides:



Advertisements
Similar presentations
IP Router Architectures. Outline Basic IP Router Functionalities IP Router Architectures.
Advertisements

1 IP-Lookup and Packet Classification Advanced Algorithms & Data Structures Lecture Theme 08 – Part I Prof. Dr. Th. Ottmann Summer Semester 2006.
Balajee Vamanan, Gwendolyn Voskuilen, and T. N. Vijaykumar School of Electrical & Computer Engineering SIGCOMM 2010.
Internetworking II: MPLS, Security, and Traffic Engineering
CSCI 4550/8556 Computer Networks Comer, Chapter 22: The Future IP (IPv6)
Chapter 9: Access Control Lists
1 An Efficient, Hardware-based Multi-Hash Scheme for High Speed IP Lookup Hot Interconnects 2008 Socrates Demetriades, Michel Hanna, Sangyeun Cho and Rami.
Fast Firewall Implementation for Software and Hardware-based Routers Lili Qiu, Microsoft Research George Varghese, UCSD Subhash Suri, UCSB 9 th International.
Bio Michel Hanna M.S. in E.E., Cairo University, Egypt B.S. in E.E., Cairo University at Fayoum, Egypt Currently is a Ph.D. Student in Computer Engineering.
Survey of Packet Classification Algorithms. Outline Background and problem definition Classification schemes – One dimensional classification – Two dimensional.
CSCI 530 Lab Firewalls. Overview Firewalls Capabilities Limitations What are we limiting with a firewall? General Network Security Strategies Packet Filtering.
Scalable Flow-Based Networking with DIFANE 1 Minlan Yu Princeton University Joint work with Mike Freedman, Jennifer Rexford and Jia Wang.
KARL NADEN – NETWORKS (18-744) FALL 2010 Overview of Research in Router Design.
Traffic Management - OpenFlow Switch on the NetFPGA platform Chun-Jen Chung( ) SriramGopinath( )
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
A Case for Relative Differentiated Services and the Proportional Differentiation Model Constantinos Dovrolis Parameswaran Ramanathan University of Wisconsin-Madison.
What's inside a router? We have yet to consider the switching function of a router - the actual transfer of datagrams from a router's incoming links to.
4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side, delivers.
Efficient IP-Address Lookup with a Shared Forwarding Table for Multiple Virtual Routers Author: Jing Fu, Jennifer Rexford Publisher: ACM CoNEXT 2008 Presenter:
ACN: IntServ and DiffServ1 Integrated Service (IntServ) versus Differentiated Service (Diffserv) Information taken from Kurose and Ross textbook “ Computer.
Packet Classification on Multiple Fields Pankaj Gupta and Nick McKeown Stanford University {pankaj, September 2, 1999.
1 Chapter 8 Local Area Networks - Internetworking.
Packet Classification George Varghese. Original Motivation: Firewalls Firewalls use packet filtering to block say ssh and force access to web and mail.
1 Wire Speed Packet Classification Without TCAMs: A Few More Registers (And A Bit of Logic) Are Enough Author: Qunfeng Dong, Suman Banerjee, Jia Wang, Dheeraj.
Design of QoS Router Terrance Lee. Broadband Internet Architecture Intelligent Access Electronic Switch (Intserv or Diffserv) Switching /Routing QoS Security.
Chapter 9 Classification And Forwarding. Outline.
Router Architectures An overview of router architectures.
FIREWALL TECHNOLOGIES Tahani al jehani. Firewall benefits  A firewall functions as a choke point – all traffic in and out must pass through this single.
A Scalable, Cache-Based Queue Management Subsystem for Network Processors Sailesh Kumar, Patrick Crowley Dept. of Computer Science and Engineering.
Cs6390 summer 2000 Tradeoffs for Packet Classification 1 Tradeoffs for Packet Classification Members: Jinxiao Song & Yan Tong.
Network Layer (3). Node lookup in p2p networks Section in the textbook. In a p2p network, each node may provide some kind of service for other.
Computer Networking Quality-of-Service (QoS) Dr Sandra I. Woolley.
Integrated Services (RFC 1633) r Architecture for providing QoS guarantees to individual application sessions r Call setup: a session requiring QoS guarantees.
Common Devices Used In Computer Networks
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
10/8/2015CST Computer Networks1 IP Routing CST 415.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Wire Speed Packet Classification Without TCAMs ACM SIGMETRICS 2007 Qunfeng Dong (University of Wisconsin-Madison) Suman Banerjee (University of Wisconsin-Madison)
Packet Classification on Multiple Fields 참고 논문 : Pankaj Gupta and Nick McKeown SigComm 1999.
Packet Classifiers In Ternary CAMs Can Be Smaller Qunfeng Dong (University of Wisconsin-Madison) Suman Banerjee (University of Wisconsin-Madison) Jia Wang.
Multi-Field Range Encoding for Packet Classification in TCAM Author: Yeim-Kuan Chang, Chun-I Lee and Cheng-Chien Su Publisher: INFOCOM 2011 Presenter:
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Packet Classification # 3 Ozgur Ozturk CSE 581: Internet Technology Winter 2002 Packet Classification # 3CSE 581: Internet Technology (Winter 2002)Ozgur.
1 Packet Classification تنظیم : محمدعلی عظیمی. Classifier Example 2.
1 Fast packet classification for two-dimensional conflict-free filters Department of Computer Science and Information Engineering National Cheng Kung University,
Efficient Cache Structures of IP Routers to Provide Policy-Based Services Graduate School of Engineering Osaka City University
EE 122: Lecture 15 (Quality of Service) Ion Stoica October 25, 2001.
Cross-Product Packet Classification in GNIFS based on Non-overlapping Areas and Equivalence Class Author: Mohua Zhang, Ge Li Publisher: AISS 2012 Presenter:
CS 740: Advanced Computer Networks IP Lookup and classification Supplemental material 02/05/2007.
OpenFlow MPLS and the Open Source Label Switched Router Department of Computer Science and Information Engineering, National Cheng Kung University, Tainan,
Zurich Research Laboratory IBM Zurich Research Laboratory Adaptive End-to-End QoS Guarantees in IP Networks using an Active Network Approach Roman Pletka.
Packet classification on Multiple Fields Authors: Pankaj Gupta and Nick McKcown Publisher: ACM 1999 Presenter: 楊皓中 Date: 2013/12/11.
Packet Switch Architectures The following are (sometimes modified and rearranged slides) from an ACM Sigcomm 99 Tutorial by Nick McKeown and Balaji Prabhakar,
1 Transport Layer: Basics Outline Intro to transport UDP Congestion control basics.
Packet Classification Using Multidimensional Cutting Sumeet Singh (UCSD) Florin Baboescu (UCSD) George Varghese (UCSD) Jia Wang (AT&T Labs-Research) Reviewed.
Dynamic Algorithms with Worst-case Performance for Packet Classification Pankaj Gupta and Nick McKeown Stanford University {pankaj,
Author : Lynn Choi, Hyogon Kim, Sunil Kim, Moon Hae Kim Publisher/Conf : IEEE/ACM TRANSACTIONS ON NETWORKING Speaker : De yu Chen Data :
Fabric: A Retrospective on Evolving SDN Presented by: Tarek Elgamal.
First generation firewalls packets filtering ريماز ابراهيم محمد علي دعاء عادل محمد عسجد سامي عبدالكريم.
A Classification for Access Control List To Speed Up Packet-Filtering Firewall CHEN FAN, LONG TAN, RAWAD FELIMBAN and ABDELSHAKOUR ABUZNEID Department.
Multicast and Quality of Service Internet Technologies and Applications.
Multiprotocol Label Switching (MPLS) Routing algorithms provide support for performance goals – Distributed and dynamic React to congestion Load balance.
Multi-protocol Label Switching (MPLS) RFC 3031 MPLS provides new capabilities: QoS support Traffic engineering VPN Multiprotocol support.
By: Yaron Levy Supervisors: Dr. Shlomo Greenberg Mr. Hagai David.
Networking Devices.
IP Routers – internal view
An IPv6 Flow Label Specification Proposal
Transport Layer Systems Packet Classification
Implementing an OpenFlow Switch on the NetFPGA platform
EE 122: Lecture 7 Ion Stoica September 18, 2001.
Presentation transcript:

High-Speed Policy-Based Packet Forwarding Using Efficient Multi-dimensional Range Matching Lakshman and Stiliadis ACM SIGCOMM 98

Abstract Internet Service Providers (ISP) would like to provide differentiated services using the same shared, connectionless network infrastructure. The key mechanism is the packet classification function that  parses the headers of the packets,  and after determining their context, classifies them based on administrative policies or real- time reservation decisions.

Packet classification is  Complex, and thus the bottleneck in the gigabit links  Currently implemented at lower-speed edge routers  Not based on multiple fields This paper presents new packet classification schemes that can classify packets  at rates of a million packets per second  using range matches on more than 4 packet header fields  with a worst-case and traffic-independent performance metric  by checking amongst a few thousand filtering rules

Introduction Packet Filtering/Packet Classification  Forwarding engines must be able to  identify the context of packets,  apply the necessary actions so as to satisfy the user requirements.  Such actions may be  the dropping of unauthorized packets,  redirection of packets to proxy servers,  special queuing and scheduling actions,  routing decisions based on a criteria other than the destination address

The specification of the packet classification policies must allow aggregations in their definitions. Classification algorithms must be be able to process rules that define combinations of ranges of values. If the algorithms can only handle exact values and do not support aggregation, preprocessing is required to translate the ranges to exact values.

A trend worth noting is that  even though packet filtering was thought of as a tool necessary only at the network access points and mainly for firewall or security applications,  it is now becoming apparent that it is a valuable tool for performing traffic engineering and meeting the new service requirements of the commercial Internet. The main consequence of these new uses is that  all packet classification actions must be performed at wire-speed, i.e., the forwarding engines must have enough processing power to be able to process every arriving packet without queuing.

Design Goals The Requirement for Real-Time Operation  Traditional router architectures are based on flow-cache architectures to classify packets.  The complete header of the first packet of a flow is processed through a slow path.  The header is then inserted into a cache or hash table together with the action that must be applied all packets of the same flow.  When subsequent packets of that flow arrive, the corresponding action can be determined from the cache or hash table.

Three problems with the cache-based architectures: 1.The number of simultaneous flows is extremely high. ∴ The use of hardware caches is extremely difficult. Caches of such size will most likely be implemented as hash tables since hash tables can be scaled to these sizes. However, the O(1) look-up time of a hash table is an average case result and the worst-case performance of a hash table can be poor. 2.The performance of cache-based schemes is heavily traffic dependent. 3.A commercial Internet infrastructure should be robust and should provide predictable performance at all times.

Criteria for efficient packet classification and system constraints: 1.The algorithm must be fast enough for Gigabit routers. 2.The algorithm must process every packet at wire-speed. 3.Classification rules must be based on several fields of the packet header, including source and destination IP addresses, source and destination port numbers, protocol type, and Type-of-Service. The rules must be able to specify ranges and not just exact values. 4.Two-dimensional requirement for multicast lookup and RSVP reservations that use either wild-card filters or CIDR aggregations.

5.Priorities are imposed on the rules for multiple match. 6.Updates of rules are rare compare to searches in the data structures. 7.Memory accesses are expensive and are the dominant factor in determining the worst-case execution time. 8.Memory is organized in words of size w and the cost of accessing a word is the same as the cost of accessing any subset of bits in a word. 9.Memory cost can be relatively low if technologies such as Synchronous Dynamic RAMS (SDRAMs) are used. 10.For operation at very high speed the algorithm must be amenable to hardware implementation.

Previous Work Most previous papers were targeted mainly for an end-point and their main goal was to isolate packets that are destined to specific protocols or to specific connections.  Linear parsing but do not scale to high speed The first hardware implementation of packet filters  fast enough to support an OC-12 link  restricted to only a small number of rules (< 12)  The pipeline implementation results in O(1) performance using O(N) processing elements for O(N) rules.  cannot scale to a large number of filter rules ( ∵ a linear number of processing elements).  for rules with exact matching and not with ranges.

Point Location Problem The general packet classification problem can be viewed as a point location problem in multidimensional space. This is a classic problem in Computational Geometry and numerous results have been reported in literatures.

Definition of the point location problem Given a point in a d-dimensional space, and a set of n d-dimensional objects, find the object that the point belongs to. Most algorithms reported in the literature deal with the case of non-overlapping objects or specific arrangements of hyper-planes or hyper-surfaces of bounded degree. For d > 3 dimensions, the best algorithms have  either an O(log d-1 n) complexity with O(n) space,  or an O(log n) time-complexity with O(n d ) space.  not directly useful for high speed packet filtering

“No-queuing before processing”  Any packet queuing delays are only acceptable after the classification step is performed, because it is the header processing (including packet filtering) operation that enables the router to determine the quality-of-service (QOS) level to be accorded to a particular packet.

Figure 5: Operation of the 2-dimensional algorithm when one dimension includes only intervals created by prefixes and the propagation technique is used.