期刊文献+

Linux下内核空间以太网包的捕获设计

Packet Capture Based on Netfilter in Kernel of Linux
下载PDF
导出
摘要 在Linux下通常的网络数据包捕获通过Libpcab函数框架实现,该体系下实现的包捕获存在着一些缺陷。探讨了netfilter框架在Linux内核中的实现,并利用netfilter框架进行以太网数据包的捕捉接收,经处理后实现数据包的重组发送。在内核空间处理网络数据包不仅提高了效率,减少了数据从内核空间传递到用户空间消耗的资源,而且可以截获网络上所有的以太网报文。 In linux, Libpcap function is applied to packet capture, but Libpcap has been proven to have low effciency when net has a heavy traffic. The paper discusses the implementation of Netfilter framework in the kernel of Linux. Based on it, we illustrate the packet capture and the packet forwarding. The process of network packets in kernel can not only improve the system performance by consuming less time and resource of data copy from kernel space to user space, but also filter and process data by capturing all the IP packets on the network.
出处 《计算机与网络》 2009年第23期43-45,共3页 Computer & Network
关键词 NETFILTER sk—buff 内核 以太网数据包 netfilter sk_buff kernel in Linux IP packets
  • 相关文献

参考文献4

二级参考文献8

  • 1刘建峰,潘军,李祥和.Linux防火墙内核中Netfilter和Iptables的分析[J].微计算机信息,2006(01X):7-9. 被引量:22
  • 2GILDER G. Fiber keeps its promise: get ready, bandwidth will triple each year for the next 25[EB/OL]. http://www.forbes.com/asap/97/0407/090.htm.
  • 3ZeroCopy [EB/OL]. http://kbs.cs.tu-berlin.de/teaching/ws2005/ htos/folien/streams-zcpy.pdf
  • 4Linux2.4.x网络安全框架[EB/OL].http://www.kemelchina.org/linuxkemel/linux24x_sec-impl.pdf
  • 5陈彬彬 王建华 齐俊杰.基于Linux的IPv6防火墙的研究.国家信息安全测评认证,2006,2.
  • 6Robert Love.Linux内核设计与实现[M].北京:机械工业出版社,2007
  • 7余青霓.Linux防火墙[M].北京:人民邮电出版社,2000.11-62.
  • 8张联峰,刘乃安,钱秀槟,张玉清.综述:对等网(P2P)技术[J].计算机工程与应用,2003,39(12):142-145. 被引量:103

共引文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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