文件名称:sniffer
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.27kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
使用Libpcap库捕获局域网中的IP包,要求:
打印数据包的源与目的物理地址;
打印源IP与目的IP地址;
打印出上层协议类型;
如果上层协议为TCP或UDP协议,打印目的与源端口信息;
如果上层协议为TCP或UDP协议,将数据以16进制与ASCII的两种方式同时打印出来,不可打印字符以‘.’代替;
-Libpcap library using the LAN IP packet capture, asked: Print packet source and destination physical addresses print the source IP address of IP and purpose print out the upper layer protocol type If the upper layer protocol is TCP or UDP protocol, source port printing purposes information If the upper layer protocol is TCP or UDP protocol, the 16 hex and ASCII data to the two ways to print out the same time, non-printable characters with ' .' instead
打印数据包的源与目的物理地址;
打印源IP与目的IP地址;
打印出上层协议类型;
如果上层协议为TCP或UDP协议,打印目的与源端口信息;
如果上层协议为TCP或UDP协议,将数据以16进制与ASCII的两种方式同时打印出来,不可打印字符以‘.’代替;
-Libpcap library using the LAN IP packet capture, asked: Print packet source and destination physical addresses print the source IP address of IP and purpose print out the upper layer protocol type If the upper layer protocol is TCP or UDP protocol, source port printing purposes information If the upper layer protocol is TCP or UDP protocol, the 16 hex and ASCII data to the two ways to print out the same time, non-printable characters with ' .' instead
(系统自动生成,下载前可以参看下载内容)
下载文件列表
sniffer.c
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。