摘要: 在数据包过滤器()的基础上,对库函数接口作了简单的介绍,并给出了采用库的通用设计实例。通过BSDBPFLibpcapLibpcapSniffer这一系列的文章介绍,希望能够阐明网络软件的整体设计思路,对应用程序设计人员有所帮助。Sniffer
关键词:
BSD数据包过滤器(BPF),
Libpcap库,
Sniffer
Abstract: Based on BSD Packet Filter architecture, the authors give a brief introduction to Libpcap APIs and then present a general sniffer design built on these APIs. Through this series of articles, the authors want to elucidate the overall design approaches of sniffer softwares and give somewhat help to software engineers. ;;
中图分类号:
唐正军,刘代志. 网络嗅探器Sniffer软件源代码浅析3:采用Libpcap 库的通用设计[J]. , 2002, 28(02): 63-65.
TANG Zhengjun,LIU Daizhi. Source Code Analysis on Network Sniffer (Part Three): General Design Based on Libpcap[J]. , 2002, 28(02): 63-65.