期刊文献+

Linux下的高流量数据包监听技术 被引量:10

Monitor technique with high flow of data packets in Linux
下载PDF
导出
摘要 研究了Linux操作系统中使用底层抓包函数库Libpcap处理高量数据包监听的原理,利用网卡设备在网络的旁路处进行数据捕捉后预处理,利用NAPI技术实现设备半轮询机制以加快数据在缓冲区的处理速度,最后利用排队论原理计算最优带宽值并设置相关参数以达到最佳处理效率。实验表明,该方法不仅提高数据包的捕捉率,并且在系统资源占用率等多项指标中都有显著改善。 The principle of packet monitor to handle high volume packets using the underlying library Libpcap capture in Linux operation system was studied. Network Interface Card (NIC) was used to capture data in bypass monitor to carry out pre-processing. Semi-polling with New API (NAPI) was also used to speed up the processing of packets in input buffer. Finally the queuing theory was used to ensure the optimal bandwidth value and relevant parameters were set to achieve the best efficiency. Experimental results demonstrate that the scheme not only increases the rate of packet capture, but also improves the occupancy rate of system resources in many figures significantly.
作者 马博 袁丁
出处 《计算机应用》 CSCD 北大核心 2009年第5期1244-1247,1250,共5页 journal of Computer Applications
基金 四川省计算机软件重点实验室重点项目
关键词 网络监听 LIBPCAP TCP协议 多线程 半轮询 New API network monitoring Libpcap TCP protocol multi-thread, semi-polling New API (NAPI)
  • 相关文献

参考文献18

  • 1TSURU M, OIE Y. The characteristics of the Internet measurement technology research and development trends [ J]. Journal of Information Processing Society, 2001,42(2): 192 -197.
  • 2张健,李焕洲.网络嗅探原理及其检测和预防[J].四川师范大学学报(自然科学版),2003,26(1):90-92. 被引量:10
  • 3KAZUYUKI S, HASEGAWA T, MURATA M, et al. TCP overlay network to connect the mechanism of division of labor and performance analysis, IEICE Technical Report IN03-198 [ R]. IEICE, 2004:745 - 747.
  • 4魏文清,王长征.Linux下的TCP/IP架构与网络监听技术[J].计算机与现代化,2005(12):59-61. 被引量:5
  • 5STEVENS W R. TCP/IP Illustrated[ M]. [ S. l. ] : Addison-Wesley Press, 1998:142 - 157.
  • 6FOMENKOV M, KEYS K, MOORE D, et al. Longitudinal study of Internet traffic from 1998 -2001: A view from 20 high performance sites [ EB/OL]. [ 2008 -09 - 12]. http://www, sfc. wide. ad. jp/ -kaizaki/Paper/files/nlanr__overview, pdf.
  • 7汪世义,秦品乐.基于Linux的高速网络包捕获技术研究[J].微型电脑应用,2006,22(3):51-52. 被引量:9
  • 8McCANNE S, JACOBSON V. The BSD packet filter: A new architecture for user-level packet capture [ C/OL]// Proceedings of the 1993 Winter USENIX Technical Conference. [ S. l. ]: USENIX, 1993 [ 2008 - 09 - 02]. http://www, tcpdump, org/papers/bpfusenix93, pdf.
  • 9IANNACCONE G, DIOT C, GRAHAM I, et al. Monitoring very high speed links [ C ]// Proceedings of the 1st ACM SIGCOMM Workshop on Internet Measurement. New York: ACM Press, 2001: 267 - 271.
  • 10Libpcap[ CP/OL]. [ 2008 - 09 - 12]. http://sourceforge, net/ projects/libpcap/.

二级参考文献29

  • 1田志宏,方滨兴,云晓春.RTLinux下基于半轮询驱动的用户级报文传输机制[J].软件学报,2004,15(6):834-841. 被引量:15
  • 2[2]Davison B D. A Web Caching Primer. IEEE Internet Computing, 2001, 5(4): 38~45
  • 3[3]Guo Yang, Gong Weibo, Don Towsley. Timestepped Hybrid Simulation (TSHS) for Large Scale Networks. In: Proceedings of IEEE Infocom 2000. Israel: IEEE, 2000
  • 4[4]Syam Gadde, Jeff Chase, Amin Vahdat. Coarse-grained Network Simulation for Wide-area Distributed Systems. In: Communication Networks and Distributed Systems Modeling and Simulation Conference (CNDS 2002). USA: The Society for Computer Simulation International, 2002
  • 5[5]Jong Suk Ahn, Peter B Danzig. Packet Network Simulation: Speedup and Accuracy Versus Timing Granularity. IEEE/ACM Trans on Networking, 1996, 4(5): 743~757
  • 6[6]Vern Paxson,Sally Floyd. Why We Don't Know How To Simulate the Internet. In: Proceedings of the 1997 Winter Simulation Conference. USA: ACM, 1997. 1037~1044
  • 7[7]Gunther N. The Practical Performance Analyst. New York: McGraw-Hill, 1998. 207~315
  • 8[8]ITU-T. Multimedia QoS from a User Perspective. http://www.itu.int/itudoc/itu-t/workshop/qos/s2p1.pdf, 2001
  • 9[9]ITU-T G.729A. Coding of Speech at 8 kbps Using Conjugate-Structure Algebraic Code-excited Linear-prediction Coding. USA: ITU-T, 1998
  • 10.[EB/OL].Libpcap.http://www.tcpdump.org/release/libpcap-O.7.2.t ar.gz.,.

共引文献57

同被引文献60

引证文献10

二级引证文献51

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部