Using Wireshark with Contiki and Cooja
来源:互联网 发布:ubuntu 16.04安装 分区 编辑:程序博客网 时间:2024/04/30 01:11
1、Cooja pcap export
In cooja go to tools and thenradio messages (instead of radio logger)in the radio messages window go to analyzer and choose6LoWPAN with PCAP.A log file calledradiolog-xxxxxxx.pcap will be created in contiki/tools/cooja/build directoryjust open the file with wire-shark and it's done. These log files can be opened in Wireshark to perform deeper analyzations.
注意,这里日志文件的存储是和cooja的目录有关,桌面上的cooja存储的目录是contiki/tools/cooja/build;若是在contiki-2.7中启动cooja,那么目录就是contiki-2.7下的tools/cooja/build目录
2、Use Wireshark
Due to 6lowpans statefull compression you might need to set prefix preferences to match your needs
Set Edit->Preferences->Protocols->6LoWPAN->Context 0
For most applications you may want to set the Context 0 to aaaa::
as it is the default prefix for Contiki nodes.
USC ANRG 中还提到了一种分析数据包的方法:sniffer+foren6 可以对实际节点间的数据进行捕获
正如tcpdump至于有线网络一样,sniffer用于无线网络,当然sniffer也用于有线网络(看网上说wireshark也可以抓无线的)
foren6则专用于分析6Lowpan协议的工具
You can also use Cooja (Network Simulator) to analyze an network. In Cooja use "Radio Message with a 6LoWPAN analyzer with pcap export" to store the packet capture in pcap format. Thus you can then use Wireshark or Foren6 to visualize the network and debug it.
- Using Wireshark with Contiki and Cooja
- Contiki Cooja ant run
- 解决新版本contiki打开cooja的问题
- Using Clobs with Oracle and Hibernate
- Using Clobs/Blobs with Oracle and Hibernate
- Using Clobs/Blobs with Oracle and Hibernate
- Using Memcache with MySQL and PHP
- Using Automake and Autoconf with C++
- Using VLANs with OVS and libvirt
- Using VLANs with OVS and libvirt
- 2.2 Creating and Using Switches with UISwitch
- using-couchdb-with-java-and-domain
- Using OpenCV with gcc and CMake
- Using libmemcached with C and C++
- Using Swift with Cocoa and Objetive-C
- Using OpenCV with gcc and CMake
- Using Swift with Cocoa and Objective-C
- Using CEDET and ECB with Emacs
- Gson基本操作,JsonObject,JsonArray,String,JavaBean,List互转
- Linux 上格式化ssd硬盘操作步骤
- Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)
- “上帝的算法”在高斯混合分布中的应用
- java修炼之道
- Using Wireshark with Contiki and Cooja
- Could not find developer disk image-解决方案
- 4.1.1 master.c:master模块主程序--master.cf配置文件
- Shiro学习(7)与Web整合
- atl里的T2W宏 的一点小细节
- C与C++中的常用提高程序效率的方法
- MyBatis 配置sql语句输出
- TOTOLINK N500UA无线网卡同时开启AP和Mesh point模式
- 在BackGroundWorker中使用ArcGIS组件