计算机科学 ›› 2007, Vol. 34 ›› Issue (6): 81-83.

• 计算机网络与信息安全 • 上一篇    下一篇

基于Netfilter的数据包捕获技术研究

  

  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本课题得到国家自然科学基金(60573141和70271050)、江苏省自然科学基金(BK2005146)、江苏省高技术研究计划(BG2004004、BG2005037、BG2006001)、国家高科技863项目(2005AA775050)、南京市高科技项目(2006软资105)、现代通信国家重点实验室基金(9140C1101010603)、江苏省计算机信息处理技术重点实验室基金(kjs050001、kjs06)资助和江苏省高校自然科学研究计划(05KJB520092)资助.

  • Online:2018-11-16 Published:2018-11-16

摘要: 在Linux下通常的数据包捕获系统,通过Libpcab函数框架实现,而在该体系下实现的包捕获存在着一些缺陷。在Linux2.4版本后,Linux使用了Netfilter框架,便于用户构建自己的防火墙。在该框架下,通过注册钩子函数,可以轻松实现数据包的捕获。本文通过研究Linux2.4后版本内核中的网络框架Netfilter,给出了在该框架下对数据包进行捕获的设计方案,并集中解决了数据信息提取和使用Netlink实现内核与用户态通信的关键问题。

关键词: Linux Netfilter 数据包捕获 Netlink

Abstract: In Linux,we often use Libpcap function to trap package,but Libpcab has proved to has low effect when the net has a heavy traffic whit small size packets. In this paper, we design the packet capture based on Netfilter frame in Linux, which is the new net f

Key words: Linux, Netfilter, Package capture, Netlink

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!