[求助]编译linsniffer.c出现问题!!!
提示tcp.h头文件出错, 是不是要打补丁? 用gcc编译的
- In file included from /usr/include/linux/tcp.h:21,
- from linsniffer.c:27:
- /usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel header; include <endian.h>; instead!
- In file included from linsniffer.c:27:
- /usr/include/linux/tcp.h:105: enumerator value for `TCP_FLAG_CWR' not integer constant
- /usr/include/linux/tcp.h:106: enumerator value for `TCP_FLAG_ECE' not integer constant
- /usr/include/linux/tcp.h:107: enumerator value for `TCP_FLAG_URG' not integer constant
- /usr/include/linux/tcp.h:108: enumerator value for `TCP_FLAG_ACK' not integer constant
- /usr/include/linux/tcp.h:109: enumerator value for `TCP_FLAG_PSH' not integer constant
- /usr/include/linux/tcp.h:110: enumerator value for `TCP_FLAG_RST' not integer constant
- /usr/include/linux/tcp.h:111: enumerator value for `TCP_FLAG_SYN' not integer constant
- /usr/include/linux/tcp.h:112: enumerator value for `TCP_FLAG_FIN' not integer constant
- /usr/include/linux/tcp.h:113: enumerator value for `TCP_RESERVED_BITS' not integer constant
- /usr/include/linux/tcp.h:115: enumerator value for `TCP_DATA_OFFSET' not integer constant
复制代码
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
自己顶一下
实在不行, 大家推荐我一个比较好用的linux下的sniffer工具吧
我也遇到了这样的问题,哪位高手帮忙解答一下啊~~~
nmap
ethereal