tcpdump, wireshark过滤器

时间:2020-03-14 22:50:05   收藏:0   阅读:67

tcpdump src=1.1.1.1 and dst=2.2.2.2

wireshark: ip.src = 1.1.1.1 and ip.dst = 2.2.2.2

tcpdump host=1.1.1.1

wireshark: ip.src=1.1.1.1 or ip.dst = 1.1.1.1, 请注意wireshark host指定的是hostname

tcpdump -l -n -i <if> ‘port 4789 and udp[8:2] = 0x0800 & 0x0800 and udp[11:4] = <vni> & 0x00FFFFFF‘

tcpdump tcp/udp/icmp

wireshark tcp/udp/icmp

ssh登录到系统后,过滤掉ssh报文

tcpdump port not 22 and <the other filters>

原文:https://www.cnblogs.com/redstar9451/p/12494950.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!