Title :
A Scalable High Throughput Firewall in FPGA
Author :
Jedhe, Gajanan S. ; Ramamoorthy, Arun ; Varghese, Kuruvilla
Author_Institution :
Centre for Electron. Design & Technol., Indian Inst. of Sci., Bangalore, India
Abstract :
High end network security applications demand high speed operation and large rule set support. Packet classification is the core functionality that demands high throughput in such applications. This paper proposes a packet classification architecture to meet such high throughput. We have implemented a Firewall with this architecture in reconflgurable hardware. We propose an extension to Distributed Crossproducting of Field Labels (DCFL) technique to achieve scalable and high performance architecture. The implemented Firewall takes advantage of inherent structure and redundancy of rule set by using our DCFL Extended (DCFLE) algorithm. The use of DCFLE algorithm results in both speed and area improvement when it is implemented in hardware. Although we restrict ourselves to standard 5-tuple matching, the architecture supports additional fields. High throughput classification invariably uses Ternary Content Addressable Memory (TCAM) for prefix matching, though TCAM fares poorly in terms of area and power efficiency. Use of TCAM for port range matching is expensive, as the range to prefix conversion results in large number of prefixes leading to storage inefficiency. Extended TCAM (ETCAM) is fast and the most storage efficient solution for range matching. We present for the first time a reconfigurable hardware implementation of ETCAM. We have implemented our Firewall as an embedded system on Virtex-II Pro FPGA based platform, running Linux with the packet classification in hardware. The Firewall was tested in real time with 1 Gbps Ethernet link and 128 sample rules. The packet classification hardware uses a quarter of logic resources and slightly over one third of memory resources of XC2VP30 FPGA. It achieves a maximum classification throughput of 50 million packet/s corresponding to 16 Gbps link rate for the worst case packet size. The Firewall rule update involves only memory re-initialization in software without any hardware change.
Keywords :
authorisation; field programmable gate arrays; local area networks; 5-tuple matching; Ethernet link; FPGA; Linux; Virtex-II Pro FPGA based platform; field labels technique; firewall; high speed operation; logic resources; packet classification architecture; packet size; port range matching; prefix matching; ternary content addressable memory; Associative memory; Batteries; Embedded system; Ethernet networks; Field programmable gate arrays; Hardware; Linux; Logic; Testing; Throughput; FPGA; Firewall; Packet Classification;
Conference_Titel :
Field-Programmable Custom Computing Machines, 2008. FCCM '08. 16th International Symposium on
Conference_Location :
Palo Alto, CA
Print_ISBN :
978-0-7695-3307-0
DOI :
10.1109/FCCM.2008.31