wireshark对Ethercat抓包分析 ﹏ヽ暗。殇╰゛Y 2022-06-16 09:42 1717阅读 1赞 # 简介 # wireshark对Ethercat抓包分析 # 警告 # wireshark这个ethercat插件有些包解析的可能不正确,分析仅供参考和学习,详细的解析要自己对照ethercat手册 # 工具准备 # [wireshark:www.wireshark.org][wireshark_www.wireshark.org]下载2.0+版本的wireshark,工具已经内嵌了对Ethercat的支持 # 抓包 # 设置过滤器如下就可以显示所有的ethercat数据包了 ![这里写图片描述][SouthEast] 导出特定分组,就可把抓到的包保存下来了 ![这里写图片描述][SouthEast 1] # 分析 # ## 单包分析 ## ![这里写图片描述][SouthEast 2] ## 分类分析 ## 通过过滤器分析特定的一类数据 ![这里写图片描述][SouthEast 3] 这里有ethercat协议的过滤显示说明[display filters][] -------------------- ![这里写图片描述][SouthEast 4] -------------------- ![这里写图片描述][SouthEast 5] -------------------- ![这里写图片描述][SouthEast 6] # 引用 # > [https://wiki.wireshark.org/SampleCaptures?%3ESampleCaptures/ethercat.cap.gz%3C/a%3E%3Cspan%20class=\#EtherCAT][https_wiki.wireshark.org_SampleCaptures_3ESampleCaptures_ethercat.cap.gz_3C_a_3E_3Cspan_20class_EtherCAT] > [https://www.wireshark.org/docs/dfref/\#section\_e][display filters] > [https://www.ethercat.org][https_www.ethercat.org] [wireshark_www.wireshark.org]: https://www.wireshark.org/ [SouthEast]: /images/20220616/d37d4ea1ed4842f0aa20fb67e1cec8e6.png [SouthEast 1]: /images/20220616/969917e87d7544acbfd9511bda770bc1.png [SouthEast 2]: /images/20220616/7e5c8248146d4d5a87a15ef64730905d.png [SouthEast 3]: /images/20220616/ef14317f42ee431b9db791a629a73b1d.png [display filters]: https://www.wireshark.org/docs/dfref/#section_e [SouthEast 4]: /images/20220616/2d0ee78871004517b2f74b989723e28f.png [SouthEast 5]: /images/20220616/6e1a9c8961da4ad2848e6fe35300ee66.png [SouthEast 6]: /images/20220616/bf5f9ffe75a74d1abd4191e54b01ddab.png [https_wiki.wireshark.org_SampleCaptures_3ESampleCaptures_ethercat.cap.gz_3C_a_3E_3Cspan_20class_EtherCAT]: https://wiki.wireshark.org/SampleCaptures?%3ESampleCaptures/ethercat.cap.gz%3C/a%3E%3Cspan%20class=#EtherCAT [https_www.ethercat.org]: https://www.ethercat.org
还没有评论,来说两句吧...