值得借鉴的高性能(至少较libpcap来说)抓包和发包程序。
官网: http://www.netsniff-ng.org/
代码托管: http://netsniff-ng.googlecode.com/svn
概要介绍:摘自Open Source Monitoring Conference 2009 中的一个ppt
High performance network sniffer
Consists of
netsni-ng
check packets (client for Nagios)
- The sniffer itself ...
- Runs in promiscuous mode
- Bypasses the complete network stack
- Uses Kernelspace Berkeley Packet Filter (BPF)
- Alloca

netsniff-ng是一个高性能的网络嗅探器,它在promiscuous模式下运行,绕过完整的网络栈,使用内核空间的Berkeley Packet Filter,并且实现了零拷贝技术,确保在千兆网络下无丢包。此外,它还可以作为Sysdaemon运行,通过Unix域套接字与Nagios集成,提供网络统计信息。
最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



