分析了P2P流量的特征,讨论了当前有关P2P流量识别与测量的研究现状。在分析一个通过应用层匹配来识别P2P流量的模块IPP2P基础上,给出了一个基于Netfilter的P2P流量测量系统。该系统通过高速的内核字符串匹配来识别P2P数据流,在此基础上运用连接跟踪技术进行高效的流量统计,实现对P2P流量的实时测量。
The paper analysed the characteristics of P2P traffic and discussed the current research concerning P2P traffic identification and measurement. Based on the analysis of IPP2P module which could identify P2P traffic through searching the application layer data by suitable patterns , a P2P traffic measurement system based on Netfiher was proposed. This measurement system matched P2P protocol signature in kernel to identify P2P data , then did the statistics of the data by connection tracking technology with high performance to achieve the real-time measurement of P2P traffic .