JustinFincher / mentohust

Automatically exported from code.google.com/p/mentohust
0 stars 0 forks source link

socket原始套接字版的mentohust #121

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
使用libpcap的优点:
1.可移植性好
2.使用数据包更直观
缺点:
1.libpcap在嵌入式设备里体积太大了
2.libpcap会在底层对数据包进行转换,每一个数据包都转换,��
�停的抓包当数据包多的时候会很浪费CPU资源

针对缺点可以做一个使用原始套接字版的mentohust

Original issue reported on code.google.com by q741...@gmail.com on 27 Aug 2011 at 5:55

GoogleCodeExporter commented 9 years ago
嘛!我贴出来吧,不知道是否有bug,已经在一台路由器上验��
�成功,configure的时候pcap选项貌似不填就可以了

Original comment by wqw...@gmail.com on 29 Aug 2011 at 9:38

Attachments:

GoogleCodeExporter commented 9 years ago
咦?马甲穿错了,2L就是LZ

Original comment by q741...@gmail.com on 29 Aug 2011 at 9:39

GoogleCodeExporter commented 9 years ago
不错嘛,支持下,一直没怎么用过sock_raw

Original comment by www.eh...@gmail.com on 30 Aug 2011 at 12:43

GoogleCodeExporter commented 9 years ago
Expired

Original comment by www.eh...@gmail.com on 17 Jun 2012 at 3:24