fpga based high speed and low area cost pattern
play

FPGA based High speed and low area cost pattern matching Jian Huang, - PDF document

227886165 I FPGA based High speed and low area cost pattern matching Jian Huang, Zongkai Yang, Xu Du, and Wei Liu Department of Electronic and Information Engineering, Huazhong University of Science and Technology Abstract-Intrusion detection and


  1. 227886165 I FPGA based High speed and low area cost pattern matching Jian Huang, Zongkai Yang, Xu Du, and Wei Liu Department of Electronic and Information Engineering, Huazhong University of Science and Technology Abstract-Intrusion detection and prevention system have to SNORT [10], a well known open source software based IDS, define more and more patterns to identify the diversification are often used in all kinds of IDS. It defines thousands of intrusions. Pattern matching, the main part of almost every patterns in its anti-attack rules. In order to check input modern intrusion detection system, should provide packets in wire speed, the pattern matching module should exceptionally high performance and ability of reconfiguration. compare the packet data with all the predefined patterns FPGA based pattern matching sub-system becomes a popular synchronously when the packet passes by. The parallel solution for modern intrusion detection system. But there is still significant space to improve the FPGA resource efficiency. compare is the most important and complex part in hardware In this paper, we present a novel pattern matching based pattern matching system. implementation using the Half Byte Comparators (HBC). HBC Hardware based pattern matching has the system based matching approach increase the pattern can area advantages of high speed and parallel processing [6]. It can efficiency. But the operating frequency will be a little decrease. provide high throughput at multi-giga bits per second. But We also explored some methods to improve the operating such system should consider two issues: how to reduce the frequency in this paper. The result shows for matching more than 22,000 characters (All the rules in SNORT v2.0) our hardware resource consumption and how to have the implementation achieving an area efficiency of more than 3.13 reconfiguration ability. FPGA based pattern matching matched characters per logic cell, achieving an operating system can deal with the second issue very well, which make frequency of about 325 MHz (2.6Gbps) on a Virtex-II pro it widely used in the nowadays IDS. However, the resource device. When using quad parallelism to increase the matching in FPGA is limited. With the diversifying trend of network throughput, the area efficiency of a logic cell is decrease to 0.71 attack methods, more and more SNORT patters are defined. characters for a throughput of almost 8.5 Gbps. The latest SNORT [10] version (v2.32) defines almost 5,600 Index Terms-FPGA, Half-byte Comparator, Intrusion patterns (more than 57,000 characters). It is difficult to Detection System, LUT, Register, Combination Logic, Pattern implement those patterns in just a single FPGA chip. Thus, Matching, Rule, SNORT improve the area efficiency of FPGA resource is necessary. In this paper we advocate using HBCs in FPGA based pattern matching module. Because of the share of the I. INTRODUCTION comparing results, our pattern matching implementation can Network security becomes a hot topic nowadays. Methods improve the efficiency significantly. area in FPGA commonly used to protect against network attacks include predefined Thousands of matching patterns can be firewalls with packet filter to filter out obviously dangerous implemented in a single FPGA chip. Combined with some packets, and Intrusion Detection Systems (IDS) which use timing improvement methods, our approach can operate at a much more sophisticated rules and pattern matching to very high speed which can meet the performance distinguish potential dangerous packets. But these requirement of the giga bits Ethernet, OC-48 (2.5Gbps), techniques require huge computing powers of network even if the OC- 192 (1 OGbps) networks. security devices. The traditional software solution is not The rest of this paper is organized as following: Section II competent for the high speed networks nowadays [14]. reviews the previous related work; Section III introduces the Hardware based solution the performance can meet architecture of HBC based pattern matching module; requirements of the today and tomorrow's networks. The Section methods improve the IV proposes some to key module of the hardware based network security device throughput of pattern matching module; and Section V is pattern matching. present the evaluation results of the pattern matching The signature of an attack may exist at any position of module implementation; Finally Section VI concludes this data packets in network traffic. In order to identify if there is paper. any of the predefined patterns existing in the target packet, pattern matching module should inspect the packet byte by byte. In general, the input of pattern matching system is one RELATED WORKS II. byte per clock period. In order to improve the throughput of FPGA based pattern matching can provide high speed and the pattern matching module, the input will be parallel ability of reconfiguration. In order to deal with the area N-bytes per clock period. The output of string matching efficiency issue, many methods are investigated in our system are matching signal and pattern index. The matching previous work: signal indicates whether there is predefined pattern matched. * In regular expression matching [7, 12], the authors The pattern index indicates the existence of predefined proposed to use Non-deterministic Finite pattern in the target data packets. The patterns defined by the Automaton in matching regular expressions and

Recommend


More recommend