会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Lv.的博客
Avatarx
此博客专攻计算机语言。
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
153
154
155
156
157
158
159
160
161
···
190
下一页
2014年11月10日
QtXML 举例
摘要: QT读取xml有2个方法对于xml数据比较大的就要用QXmlStreamReader对于数据比较小的就用QDomDocument,这个比较方便我这里就是以QDomDocument为主要内容,讲解如何读取index.xml[html]view plaincopyprint?1234567wangwan...
阅读全文
posted @ 2014-11-10 16:27 Avatarx
阅读(574)
评论(0)
推荐(0)
2014年11月7日
libpcap使用
摘要: libpcap是一个网络数据包捕获函数库,功能非常强大,Linux下著名的tcpdump就是以它为基础的。今天我们利用它来完成一个我们自己的网络嗅探器(sniffer)首先先介绍一下本次实验的环境:Ubuntu 11.04,IP:192.168.1.1,广播地址:192.168.1.255,子网掩码...
阅读全文
posted @ 2014-11-07 15:56 Avatarx
阅读(2313)
评论(0)
推荐(1)
PCAP研究
摘要: 一、pcap简介封装了OS提供的底层抓包技术,对外提供一些统一的抓包(及发送)接口。实现这些功能的其他技术包括:BPF(Berkeley Packet Filter),DLPI(Data Link Provider Interface),NIT,Linux专用的SOCKET_PACKET或PF_PA...
阅读全文
posted @ 2014-11-07 15:39 Avatarx
阅读(6321)
评论(0)
推荐(1)
粗谈pcap_next_ex()
摘要: pcap_next_ex(pcap_t* p,struct pcap_pkthdr** pkt_header,const u_char** pkt_data)功能: 从interface或离线记录文件获取一个报文参数: p: 已打开的捕捉实例的描述符 pkt_header: 报文头 pkt_dat...
阅读全文
posted @ 2014-11-07 14:39 Avatarx
阅读(1384)
评论(0)
推荐(0)
UDP 校检和和算法
摘要: #include #include #define IP_HDRINCL 2 // Header is included with data. typedef struct _IPHEADER { UCHAR VerHeadLen; //版本号和头长度 UCHAR TOS; //服务类型 USH...
阅读全文
posted @ 2014-11-07 13:28 Avatarx
阅读(673)
评论(0)
推荐(0)
2014年11月6日
pcap的pcap_dump()保存的文件格式
摘要: (2009-09-01 20:36:49)转载▼标签:杂谈分类:专业首先是tcpdump文件格式当你在Windows或者Linux环境下用tcpdump命令抓取数据包时,你将得到如下格式的tcpdump文件:文件头| 数据包头 | 链路层数据 | 数据包头 | 链路层数据 | 数据包头 | 链路层...
阅读全文
posted @ 2014-11-06 13:17 Avatarx
阅读(2321)
评论(0)
推荐(0)
2014年11月5日
Linux下Wireshark普通用户不能获取网络接口问题
摘要: Linux下Wireshark普通用户不能获取网络接口问题1.安装setcap, setcap 是libcap2-bin包的一部分,一般来说,这个包默认会已经装好。sudo apt-get install libcap2-bin2.创建Wireshark组。这一步在安装Wireshark的时候,也会...
阅读全文
posted @ 2014-11-05 12:28 Avatarx
阅读(1180)
评论(0)
推荐(0)
2014年11月4日
lua wireshark 数据报解析
摘要: http://www.360doc.com/content/13/1226/15/15257968_340284574.shtmlhttp://www.360doc.com/userhome.aspx?userid=15257968&cid=9http://www.360doc.com/conten...
阅读全文
posted @ 2014-11-04 18:19 Avatarx
阅读(510)
评论(0)
推荐(0)
lua org
摘要: http://wiki.wireshark.org/Lua/Dissectors
阅读全文
posted @ 2014-11-04 18:15 Avatarx
阅读(169)
评论(0)
推荐(0)
lua function
摘要: This is the main reference for the World of Warcraft Lua Runtime. Note that these are mostly standard Lua functions, available in most Lua environment...
阅读全文
posted @ 2014-11-04 18:14 Avatarx
阅读(592)
评论(0)
推荐(0)
上一页
1
···
153
154
155
156
157
158
159
160
161
···
190
下一页
公告