Memory-Efficient Regular Expression Search Using State Merging

Slides:



Advertisements
Similar presentations
Deep Packet Inspection with DFA-trees and Parametrized Language Overapproximation Author: Daniel Luchaup, Lorenzo De Carli, Somesh Jha, Eric Bach Publisher:
Advertisements

Optimizing Regular Expression Matching with SR-NFA on Multi-Core Systems Authors : Yang, Y.E., Prasanna, V.K. Yang, Y.E. Prasanna, V.K. Publisher : Parallel.
An Efficient Regular Expressions Compression Algorithm From A New Perspective Authors : Tingwen Liu,Yifu Yang,Yanbing Liu,Yong Sun,Li Guo Tingwen LiuYifu.
Design of High Performance Pattern Matching Engine Through Compact Deterministic Finite Automata Department of Computer Science and Information Engineering.
1 Regular expression matching with input compression : a hardware design for use within network intrusion detection systems Department of Computer Science.
Memory-Efficient Regular Expression Search Using State Merging Department of Computer Science and Information Engineering National Cheng Kung University,
High-Performance Packet Classification on GPU Author: Shijie Zhou, Shreyas G. Singapura and Viktor K. Prasanna Publisher: HPEC 2014 Presenter: Gang Chi.
Thopson NFA Presenter: Yuen-Shuo Li Date: 2014/5/7 Department of Computer Science and Information Engineering National Cheng Kung University, Taiwan R.O.C.
Sampling Techniques to Accelerate Pattern Matching in Network Intrusion Detection Systems Author: Domenico Ficara, Gianni Antichi, Andrea Di Pietro, Stefano.
Fast forwarding table lookup exploiting GPU memory architecture Author : Youngjun Lee,Minseon Jeong,Sanghwan Lee,Eun-Jin Im Publisher : Information and.
Packet Classification Using Multi-Iteration RFC Author: Chun-Hui Tsai, Hung-Mao Chu, Pi-Chung Wang Publisher: COMPSACW, 2013 IEEE 37th Annual (Computer.
Leveraging Traffic Repetitions for High- Speed Deep Packet Inspection Author: Anat Bremler-Barr, Shimrit Tzur David, Yotam Harchol, David Hay Publisher:
SI-DFA: Sub-expression Integrated Deterministic Finite Automata for Deep Packet Inspection Authors: Ayesha Khalid, Rajat Sen†, Anupam Chattopadhyay Publisher:
A Regular Expression Matching Algorithm Using Transition Merging Department of Computer Science and Information Engineering National Cheng Kung University,
A Hybrid IP Lookup Architecture with Fast Updates Author : Layong Luo, Gaogang Xie, Yingke Xie, Laurent Mathy, Kavé Salamatian Conference: IEEE INFOCOM,
EQC16: An Optimized Packet Classification Algorithm For Large Rule-Sets Author: Uday Trivedi, Mohan Lal Jangir Publisher: 2014 International Conference.
Pattern-Based DFA for Memory- Efficient and Scalable Multiple Regular Expression Matching Author: Junchen Jiang, Yang Xu, Tian Pan, Yi Tang, Bin Liu Publisher:IEEE.
Scalable Many-field Packet Classification on Multi-core Processors Authors : Yun R. Qu, Shijie Zhou, Viktor K. Prasanna Publisher : International Symposium.
StriD 2 FA: Scalable Regular Expression Matching for Deep Packet Inspection Author: Xiaofei Wang, Junchen Jiang, Yi Tang, Bin Liu, and Xiaojun Wang Publisher:
Deterministic Finite Automaton for Scalable Traffic Identification: the Power of Compressing by Range Authors: Rafael Antonello, Stenio Fernandes, Djamel.
Regular Expression Matching for Reconfigurable Packet Inspection Authors: Jo˜ao Bispo, Ioannis Sourdis, Jo˜ao M.P. Cardoso and Stamatis Vassiliadis Publisher:
DBS A Bit-level Heuristic Packet Classification Algorithm for High Speed Network Author : Baohua Yang, Xiang Wang, Yibo Xue, Jun Li Publisher : th.
Memory-Efficient Regular Expression Search Using State Merging Author: Michela Becchi, Srihari Cadambi Publisher: INFOCOM th IEEE International.
2017/4/26 Rethinking Packet Classification for Global Network View of Software-Defined Networking Author: Takeru Inoue, Toru Mano, Kimihiro Mizutani, Shin-ichi.
Updating Designed for Fast IP Lookup Author : Natasa Maksic, Zoran Chicha and Aleksandra Smiljani´c Conference: IEEE High Performance Switching and Routing.
TFA: A Tunable Finite Automaton for Regular Expression Matching Author: Yang Xu, Junchen Jiang, Rihua Wei, Yang Song and H. Jonathan Chao Publisher: ACM/IEEE.
Binary-tree-based high speed packet classification system on FPGA Author: Jingjiao Li*, Yong Chen*, Cholman HO**, Zhenlin Lu* Publisher: 2013 ICOIN Presenter:
A Fast Regular Expression Matching Engine for NIDS Applying Prediction Scheme Author: Lei Jiang, Qiong Dai, Qiu Tang, Jianlong Tan and Binxing Fang Publisher:
Lightweight Traffic-Aware Packet Classification for Continuous Operation Author: Shariful Hasan Shaikot, Min Sik Kim Presenter: Yen-Chun Tseng Date: 2014/11/26.
Range Enhanced Packet Classification Design on FPGA Author: Yeim-Kuan Chang, Chun-sheng Hsueh Publisher: IEEE Transactions on Emerging Topics in Computing.
PC-TRIO: A Power Efficient TACM Architecture for Packet Classifiers Author: Tania Banerjee, Sartaj Sahni, Gunasekaran Seetharaman Publisher: IEEE Computer.
LaFA Lookahead Finite Automata Scalable Regular Expression Detection Authors : Masanori Bando, N. Sertac Artan, H. Jonathan Chao Masanori Bando N. Sertac.
Packet Classification Using Dynamically Generated Decision Trees
GFlow: Towards GPU-based High- Performance Table Matching in OpenFlow Switches Author : Kun Qiu, Zhe Chen, Yang Chen, Jin Zhao, Xin Wang Publisher : Information.
LOP_RE: Range Encoding for Low Power Packet Classification Author: Xin He, Jorgen Peddersen and Sri Parameswaran Conference : IEEE 34th Conference on Local.
SRD-DFA Achieving Sub-Rule Distinguishing with Extended DFA Structure Author: Gao Xia, Xiaofei Wang, Bin Liu Publisher: IEEE DASC (International Conference.
Series DFA for Memory- Efficient Regular Expression Matching Author: Tingwen Liu, Yong Sun, Li Guo, and Binxing Fang Publisher: CIAA 2012( International.
Practical Multituple Packet Classification Using Dynamic Discrete Bit Selection Author: Baohua Yang, Fong J., Weirong Jiang, Yibo Xue, Jun Li Publisher:
Hierarchical Hybrid Search Structure for High Performance Packet Classification Authors : O˜guzhan Erdem, Hoang Le, Viktor K. Prasanna Publisher : INFOCOM,
LightFlow : Speeding Up GPU-based Flow Switching and Facilitating Maintenance of Flow Table Author : Nobutaka Matsumoto and Michiaki Hayashi Conference:
Scalable Multi-match Packet Classification Using TCAM and SRAM Author: Yu-Chieh Cheng, Pi-Chung Wang Publisher: IEEE Transactions on Computers (2015) Presenter:
JA-trie: Entropy-Based Packet Classification Author: Gianni Antichi, Christian Callegari, Andrew W. Moore, Stefano Giordano, Enrico Anastasi Conference.
A Multi-dimensional Packet Classification Algorithm Based on Hierarchical All-match B+ Tree Author: Gang Wang, Yaping Lin*, Jinguo Li, Xin Yao Publisher:
Reorganized and Compact DFA for Efficient Regular Expression Matching
2018/4/27 PiDFA : A Practical Multi-stride Regular Expression Matching Engine Based On FPGA Author: Jiajia Yang, Lei Jiang, Qiu Tang, Qiong Dai, Jianlong.
A DFA with Extended Character-Set for Fast Deep Packet Inspection
2018/6/26 An Energy-efficient TCAM-based Packet Classification with Decision-tree Mapping Author: Zhao Ruan, Xianfeng Li , Wenjun Li Publisher: 2013.
Regular Expression Matching in Reconfigurable Hardware
2018/11/19 Source Routing with Protocol-oblivious Forwarding to Enable Efficient e-Health Data Transfer Author: Shengru Li, Daoyun Hu, Wenjian Fang and.
SigMatch Fast and Scalable Multi-Pattern Matching
Parallel Processing Priority Trie-based IP Lookup Approach
2018/12/29 A Novel Approach for Prefix Minimization using Ternary trie (PMTT) for Packet Classification Author: Sanchita Saha Ray, Abhishek Chatterjee,
Binary Prefix Search Author: Yeim-Kuan Chang
2019/1/3 Exscind: Fast Pattern Matching for Intrusion Detection Using Exclusion and Inclusion Filters Next Generation Web Services Practices (NWeSP) 2011.
Virtual TCAM for Data Center Switches
Scalable Multi-Match Packet Classification Using TCAM and SRAM
A New String Matching Algorithm Based on Logical Indexing
Compact DFA Structure for Multiple Regular Expressions Matching
2019/5/3 A De-compositional Approach to Regular Expression Matching for Network Security Applications Author: Eric Norige Alex Liu Presenter: Yi-Hsien.
2019/5/8 BitCoding Network Traffic Classification Through Encoded Bit Level Signatures Author: Neminath Hubballi, Mayank Swarnkar Publisher/Conference:
Power-efficient range-match-based packet classification on FPGA
Presenter: Yu Hao, Tseng Date: 2014/8/25
Large-scale Packet Classification on FPGA
Design principles for packet parsers
A Hybrid IP Lookup Architecture with Fast Updates
Pattern Based Packet Filtering using NetFPGA in DETER Infrastructure
2019/9/3 Adaptive Hashing Based Multiple Variable Length Pattern Search Algorithm for Large Data Sets 比對 Simple Pattern 的方法是基於 Hash 並且可以比對不同長度的 Pattern。
2019/10/9 Regular Expression Matching for Reconfigurable Constraint Repetition Inspection Authors : Miad Faezipour and Mehrdad Nourani Publisher : IEEE.
MEET-IP Memory and Energy Efficient TCAM-based IP Lookup
Towards TCAM-based Scalable Virtual Routers
Presentation transcript:

Memory-Efficient Regular Expression Search Using State Merging 2019/1/13 Memory-Efficient Regular Expression Search Using State Merging IEEE INFOCOM 2007 Author: Michela Becchi Presenter: Cheng-Feng Ke Date: 2017/09/06 Department of Computer Science and Information Engineering National Cheng Kung University, Taiwan R.O.C. CSIE CIAL Lab 1

INTRODUCTION Regex No Construct a DFA Maximum Label 2019/1/13 INTRODUCTION Regex No Construct a DFA Maximum Label Weight Graphs for DFA If there is any weight > 0 Merge States Finish Yes Output a DFA obtained after merging one or more state. National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(a) Maximum Label (b) Weight Graphs for DFA 2019/1/13 (a) Maximum Label (b) Weight Graphs for DFA (a[b-e][g-i]|f[g-h]j)k+ National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(a) Maximum Label (b) Weight Graphs for DFA 2019/1/13 (a) Maximum Label (b) Weight Graphs for DFA Maximum Label = 2 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(a) Maximum Label (b) Weight Graphs for DFA 2019/1/13 (a) Maximum Label (b) Weight Graphs for DFA Maximum Label = 2 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(a) Maximum Label (b) Weight Graphs for DFA 2019/1/13 (a) Maximum Label (b) Weight Graphs for DFA Maximum Label = 2 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(a) Maximum Label (b) Weight Graphs for DFA 2019/1/13 (a) Maximum Label (b) Weight Graphs for DFA Maximum Label = 2 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(a) Maximum Label (b) Weight Graphs for DFA 2019/1/13 (a) Maximum Label (b) Weight Graphs for DFA Maximum Label = 2 1 + 1 = 2 2 <= Maximum Label Number of Sub State = 1 Number of Sub State = 1 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(a) Maximum Label (b) Weight Graphs for DFA 2019/1/13 (a) Maximum Label (b) Weight Graphs for DFA Maximum Label = 2 Weight = 0 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(a) Maximum Label (b) Weight Graphs for DFA 2019/1/13 (a) Maximum Label (b) Weight Graphs for DFA Maximum Label = 2 Number of Sub State = 1 Number of Sub State = 1 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(a) Maximum Label (b) Weight Graphs for DFA 2019/1/13 (a) Maximum Label (b) Weight Graphs for DFA Maximum Label = 2 Weight = 1 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(a) Maximum Label (b) Weight Graphs for DFA 2019/1/13 (a) Maximum Label (b) Weight Graphs for DFA Maximum Label = 2 1 + 2 = 3 3 > Maximum Label Number of Sub State = 1 Number of Sub State = 2 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(a) Maximum Label (b) Weight Graphs for DFA 2019/1/13 (a) Maximum Label (b) Weight Graphs for DFA Maximum Label = 2 Weight = 1 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(c) Merge States Maximum Label = 2 2019/1/13 (c) Merge States Maximum Label = 2 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(c) Merge States Maximum Label = 2 2019/1/13 (c) Merge States Maximum Label = 2 State 3 Bitmap (256 bits) other a b c d e f g h i 1 3 Index Transition index 1 2 3 4 Transition Table Index Next State 1 2 5 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(c) Merge States Maximum Label = 2 2019/1/13 (c) Merge States Maximum Label = 2 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(c) Merge States Maximum Label = 2 2019/1/13 (c) Merge States Maximum Label = 2 Symbol . Destination State / Source States National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(c) Merge States Maximum Label = 2 2019/1/13 (c) Merge States Maximum Label = 2 Label 0 = > State 3 Label 1 => State 4 Input “g” Input “b” Label = 0 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(c) Merge States Maximum Label = 2 2019/1/13 (c) Merge States Maximum Label = 2 State 3 Bitmap (256 bits) other a b c d e f g h i 1 State 4 Bitmap (256 bits) other a b c d e f i j 1 State 3 Index Transition (Label) 0 (Null) 1 1 (Null) 2 2 (Null) 3 4 State 4 Index Transition (Label) 0 (Null) 1 1 (Null) 2 2 (Null) Common Transition Table Index Next State 1 2 5 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(c) Merge States Maximum Label = 2 2019/1/13 (c) Merge States Maximum Label = 2 State 3 Bitmap (256 bits) other a b c d e f g h i 1 State 4 Bitmap (256 bits) other a b c d e f i j 1 State 3 Index Transition (Label) 0 (Null) 1 1 (Null) 2 2 (Null) 3 4 State 4 Index Transition (Label) 0 (Null) 1 1 (Null) 2 2 (Null) Common Transition Table Index Next State 1 2 5 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(c) Merge States Maximum Label = 2 2019/1/13 (c) Merge States Maximum Label = 2 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(c) Merge States Maximum Label = 2 2019/1/13 (c) Merge States Maximum Label = 2 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

(c) Merge States Maximum Label = 2 2019/1/13 (c) Merge States Maximum Label = 2 State 1 Bitmap (256 bits) other a b c d e f g h i 1 State 2 Bitmap (256 bits) other a b c d e f g h i 1 State 1 Index Transition (Label) 0 (0) 1 1 (0) 2 3 4 0 (1) State 2 Index Transition (Label) 0 (0) 1 1 (1) 2 3 Common Transition Table Index Next State 1_2 1 3_4 National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

2019/1/13 EXPERIMENTAL RESULTS National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

2019/1/13 EXPERIMENTAL RESULTS National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab