Skip navigation

DSpace JSPUI

DSpace preserves and enables easy and open access to all types of digital content including text, images, moving images, mpegs and data sets

Learn More
DSpace logo
English
中文
  • Browse
    • Communities
      & Collections
    • Publication Year
    • Author
    • Title
    • Subject
    • Advisor
  • Search TDR
  • Rights Q&A
    • My Page
    • Receive email
      updates
    • Edit Profile
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 電機工程學系
Please use this identifier to cite or link to this item: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/45889
Title: 具計數器共用之PERL相容正規表示法樣式比對架構
A PCRE Pattern Matching Architecture with Counter Sharing
Authors: Ying-Hsien Li
李盈賢
Advisor: 王勝德
Keyword: 網路入侵偵測系統,正規表示法,PERL相容正規表示法,樣式比對,
NIDS,Regular Expression,PCRE,Pattern Matching,
Publication Year : 2010
Degree: 碩士
Abstract: 目前正規表示法(Regular expression)以及PERL相容正規表示法(PERL compatible regular expression)在網路入侵偵測系統中,已經被廣泛地用來表示攻擊樣式。為了能夠匹配現代的高速網路,在近幾年的一些相關文獻中,已經有各種硬體架構被提出來,以達到快速的正規表示法比對。然而,由於網路的攻擊樣式數量正在持續成長當中,樣式比對電路所佔用的面積也將隨之增加。這對於樣式比對的硬體設計而言,將成為一大挑戰。因此,為了解決上述之問題,本論文提出一種共用計數器的硬體架構,透過共用樣式比對電路中的計數器,來縮小電路的面積及降低邏輯閘個數。為了達到正確的計數器共用,我們設計了一個演算法來判斷兩兩計數器之間是否可以彼此共用,並利用圖論中的著色演算法來決定哪些計數器將要在電路中共用,使得最佳化後的計數器個數能夠趨近於最少。此外,我們所提出的架構並不會與其他同樣以縮小電路面積為目標的架構互斥;相反地,我們的架構可以與其他架構結合,以達到更好的改善效果。實驗結果顯示,我們提出的演算法確實能夠減少電路中所使用的計數器個數,因此減小了比對電路的面積。另外,在與其他面積最佳化的架構整合之後,可達到更佳的改善效果。
Regular expressions and PCREs are widely used as a description language in many Network Intrusion Detection Systems (NIDS). To keep up with the high speed of modern networks, several NFA-based hardware architectures for performing regular expression matching were proposed previously. However, due to the rapid increase in the amount of signature patterns, the minimizing of the area of the circuit to accommodate all patterns has become a challenge. This thesis proposes a novel counter sharing architecture to reduce the number of counters used in NFA circuits and thus reduce the gate count of the regular expression matching circuit. We design an algorithm to determine if a counter can be shared with others. Also, a graph coloring algorithm is implemented to decide a group of counters that can share a common counter, making the total number of counters as small as possible. In addition, rather than competing with other area-optimized techniques, our approach can be integrated with them, hence achieving a higher reduction rate. Experimental results show that our approach can indeed reduce the area of the matching circuit, and a much higher reduction is achieved through integrating with other area-optimized approach.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/45889
Fulltext Rights: 有償授權
Appears in Collections:電機工程學系

Files in This Item:
File SizeFormat 
ntu-99-1.pdf
  Restricted Access
1.44 MBAdobe PDF
Show full item record


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved