社区
Linux/Unix社区
帖子详情
tcpdump -i any抓包问题
Rydiy
2011-08-27 11:13:12
板子上有14个网卡,程序用eth13收一个组播
tcpdump -i any 。。。 抓不到任何组播包
tcpdump -i eth13 ... 这样可以
而在另几台同版本linux上,7、8个网卡, any是可以的,想想该也于网卡数没多大关系。。。
版本信息:
Linux linux 2.6.16.46-0.12-smp
请问下这是什么原因造成的,还望高手赐教。。。。。
...全文
1205
7
打赏
收藏
tcpdump -i any抓包问题
板子上有14个网卡,程序用eth13收一个组播 tcpdump -i any 。。。 抓不到任何组播包 tcpdump -i eth13 ... 这样可以 而在另几台同版本linux上,7、8个网卡, any是可以的,想想该也于网卡数没多大关系。。。 版本信息: Linux linux 2.6.16.46-0.12-smp 请问下这是什么原因造成的,还望高手赐教。。。。。
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
7 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
Rydiy
2011-09-16
打赏
举报
回复
这问题就没哪个大牛知道??
nehc
2011-09-05
打赏
举报
回复
想知道,帮顶 !!
Rydiy
2011-09-05
打赏
举报
回复
[Quote=引用 4 楼 wangtingguang 的回复:]
指定一下为udp协议或者组播地址和端口看看是否支持any,不过抓包还是最好指定精确点。
[/Quote]
组播地址和端口都是指定了的 且都正确无误
wangtingguang
2011-09-04
打赏
举报
回复
指定一下为udp协议或者组播地址和端口看看是否支持any,不过抓包还是最好指定精确点。
Rydiy
2011-09-03
打赏
举报
回复
[Quote=引用 1 楼 xubin_sh 的回复:]
Note that captures on the ``any'' device will not be done in promiscuous mode.
[/Quote]
tcpdump 不就是将网卡至于混杂模式来抓包的吗???
xubin_sh
2011-08-29
打赏
举报
回复
混杂模式模式下不行
xubin_sh
2011-08-29
打赏
举报
回复
Note that captures on the ``any'' device will not be done in promiscuous mode.
Linux下
抓包
工具
tcpdump
的Makefile(基于cmake)
tcpdump
[ -DenNqvX ] [ -c count ] [ -F file ] [ -i interface ] [ -r file ] [ -s snaplen ] [ -w file ] [ expression ]
抓包
选项: -c:指定要抓取的包数量。注意,是最终要获取这么多个包。例如,指定"-c 10...
ethereal网络
抓包
工具
-the output from i4btrace from the ISDN4BSD project -traces from the EyeSDN USB S0. -the output in IPLog format from the Cisco Secure Intrusion Detection System -pppd logs (pppdump format) -the output...
Linux 网络管理命令 < Series 10. >
本教程从实战出发,结合当下流行或最新的Linux(v6/7/8 版本)同时演示,将命令行结合到解决企业实战
问题
中来,体现出教学注重实战的务实精神,希望从事或未来从事运维的同学,能够认真仔细的学完Linux核心命令的...
tcpdump
几个常用
抓包
命令
tcpdump
-i any -XO -vvv -s0 -w /root/`hostname`_anyport.cap 2、抓本机指定端口的包(例如抓6000监听端口的包):
tcpdump
-i any port 6000 -w /root/`hostname`_6000.cap 3、抓本机多个指定端口的包...
Linux
tcpdump
常用
抓包
语法
tcpdump
-i any host 192.168.1.1 过滤端口:
tcpdump
-i any port 80 过滤某一网段:
tcpdump
-i any net 192.168.0.0/16 过滤协议:
tcpdump
-i eth1 arp/ip/tcp/udp/icmp 常用表达式 非 : ! or "not" (去掉双...
Linux/Unix社区
23,120
社区成员
74,507
社区内容
发帖
与我相关
我的任务
Linux/Unix社区
Linux/Unix社区 应用程序开发区
复制链接
扫一扫
分享
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章