linux IPIP封装 抓包方式
单项抓包
tcpdump -nn -e -i eth0 "ip proto 4 and (ip[20+16:1]=10 and ip[20+17:1]=244 and ip[20+18:1]=72 and ip[20+19:1]=10)"
双向抓包
tcpdump -nn -e -i eth1 "ip proto 4 and ((ip[20+12:1]=10 and ip[20+13:1]=244 and ip[20+14:1]=72 and ip[20+15:1]=10) or (ip[20+16:1]=10 and ip[20+17:1]=244 and ip[20+18:1]=72 and ip[20+19:1]=10))"
注意修改IP地址
本文作者:salami_china
本文链接:https://www.cnblogs.com/wangjq19920210/p/18198299
版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 字符编码:从基础到乱码解决
2019-05-17 virt-install 安装系统和启动虚机
2019-05-17 Python 源代码代码打包成 whl 文件