Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
    • 指導教授
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 電機工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/45889
標題: 具計數器共用之PERL相容正規表示法樣式比對架構
A PCRE Pattern Matching Architecture with Counter Sharing
作者: Ying-Hsien Li
李盈賢
指導教授: 王勝德
關鍵字: 網路入侵偵測系統,正規表示法,PERL相容正規表示法,樣式比對,
NIDS,Regular Expression,PCRE,Pattern Matching,
出版年 : 2010
學位: 碩士
摘要: 目前正規表示法(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
全文授權: 有償授權
顯示於系所單位:電機工程學系

文件中的檔案:
檔案 大小格式 
ntu-99-1.pdf
  未授權公開取用
1.44 MBAdobe PDF
顯示文件完整紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
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