tcpdump抓取ipip报文

简介:  根据目的ip抓取ipip单向报文tcpdump -i p6p1 "ip proto 4 and (ip[20+16:1]=10 and ip[20+17:1]=184 and ip[20+18:1]=243 and ip[20+19:1]=62)"双向报文tcpdump -...

 根据目的ip抓取ipip单向报文

tcpdump -i p6p1 "ip proto 4 and (ip[20+16:1]=10 and ip[20+17:1]=184 and ip[20+18:1]=243 and ip[20+19:1]=62)"


双向报文

tcpdump -i p5p2 "ip proto 4 and ( (ip[20+12:1]=10 and ip[20+13:1]=184 and ip[20+14:1]=243 and ip[20+15:1]=62) or (ip[20+16:1]=10 and ip[20+17:1]=184 and ip[20+18:1]=243 and ip[20+19:1]=62) )" -s 0 -w /dev/shm/p5p2-jl.cap 



目录
相关文章
|
2月前
|
机器学习/深度学习 网络协议 安全
网络抓包工具 - tcpdump
【1月更文挑战第1天】
154 4
|
12月前
|
网络协议 网络安全
【网络安全】Wireshark过滤数据包&分析TCP三次握手(下)
【网络安全】Wireshark过滤数据包&分析TCP三次握手
208 1
|
2月前
|
存储 缓存 运维
基于 Wireshark 分析 ARP 协议
基于 Wireshark 分析 ARP 协议
|
2月前
|
机器学习/深度学习 Linux
tcpdump的抓包
tcpdump的抓包
31 0
Wireshark的数据包
通过Wireshark工具,可以轻松的看到网卡的数据信息。通过Wireshark显示的数据包内容信息,通常分七栏,介绍一下:
|
12月前
|
网络协议 网络安全
【网络安全】Wireshark过滤数据包&分析TCP三次握手(上)
【网络安全】Wireshark过滤数据包&分析TCP三次握手
324 1
|
网络协议 数据挖掘
|
网络协议 Linux Windows
使用tcpdump+wireshark抓包分析网络数据包
最近和学弟在调试一个GPRS通信模块,需求是通过GPRS模块通过http协议发送数据到服务器,但是http协议一直失败,服务器返回400,通过查询http状态码得知,http400错误是请求无效,因为GPRS模块没有实现http协议的封装,需要在TCP协议的基础上,手动拼装http格式的报文.
3856 0