Towards a Fast Regular Expression Matching Method Over Compressed Traffic

Xiuwen Sun, Hao Li, Xing-Xing Lu, Dan Zhao, Peng Zheng, Chengchen Hu · 2018

Nowadays, Deep Packet Inspection (DPI) becomes a critical component of the network traffic detection applications. For comprehensive analysis of traffic, regular expression matching as the core technique of DPI is widely used. However, web services tend to compress their traffic for less data transmission, which challenges the regular expression matching to achieve wire-speed processing. In this paper, we propose Twins, a fast regular expression matching method over compressed traffic that leverages the returned states encoding in the compression to skip the bytes to be scanned. In our evaluation results, Twins can skip about 90% compression data and can achieve 1.5Gbps throughput, which gains 2.7~3.4 performance boost to the state-of-the-art work.

Read the paper · More papers on PaperTik