积极答复者
如何使用wireshark抓取NFC数据包

问题
-
我想通过wireshark抓取NFC的数据包,我在windows下编译wireshark的source code,并下载、编译了wireshark-nfc的source code,然后我运行生成出来的wireshark.exe,但是我不知道我应该选择什么interface才可以抓到NFC的数据,有谁做过这个吗?我已经把生成的dll文件放到plugin文件夹内,然后将NFC标签放到感应区,但是wireshark不能抓到任何数据。现在只有2个interface可以选,都是跟网络有关的,肯定是不能抓取到NFC数据的。
- 已移动 怡红公子 2013年6月19日 2:32 Maybe windows related.
答案
-
这是一个纯粹WireShark的问题,与Windows平台无关。不该在这里提问,建议去WireShark官网或论坛寻求帮助。
比如这个地方:http://code.google.com/p/wireshark-nfc/
另,多嘴一句:虽然我之前并不知道你说的wireshark-nfc是什么,但看了上面这个链接,得知它只是个dissect(就是协议解析器)吧?跟你提问的抓包时选哪块网卡有什么关系呢?
链接文档里说
wireshark-nfc is a plugin that allows you to dissect and analyze NFC activity using Wireshark. By using the LLCP libpcap file format (see below), your device or driver can generate traces in a common format for later offline analysis.
按照我对这句话的理解,它支持对抓下来的包(可能是通过其他抓包器所抓)进行事后分析,而并没有说支持去抓包。。。
顺便讨教一下,NFC是Near field communication的缩写吧?
Technical problem is never a problem.
- 已编辑 Finy 2013年6月19日 3:23 change words
- 已标记为答案 TommyXu0131 2013年6月20日 3:15
全部回复
-
这是一个纯粹WireShark的问题,与Windows平台无关。不该在这里提问,建议去WireShark官网或论坛寻求帮助。
比如这个地方:http://code.google.com/p/wireshark-nfc/
另,多嘴一句:虽然我之前并不知道你说的wireshark-nfc是什么,但看了上面这个链接,得知它只是个dissect(就是协议解析器)吧?跟你提问的抓包时选哪块网卡有什么关系呢?
链接文档里说
wireshark-nfc is a plugin that allows you to dissect and analyze NFC activity using Wireshark. By using the LLCP libpcap file format (see below), your device or driver can generate traces in a common format for later offline analysis.
按照我对这句话的理解,它支持对抓下来的包(可能是通过其他抓包器所抓)进行事后分析,而并没有说支持去抓包。。。
顺便讨教一下,NFC是Near field communication的缩写吧?
Technical problem is never a problem.
- 已编辑 Finy 2013年6月19日 3:23 change words
- 已标记为答案 TommyXu0131 2013年6月20日 3:15
-
-
NFC设备,实际是走USB总线的吧?是不是就是要抓Raw USB通信?
http://wiki.wireshark.org/CaptureSetup/USB
You can capture raw USB traffic on Windows with USBPcap.
Technical problem is never a problem.
-
如果用USB的NFC接收器可能真的要截聽USB匯流排, 可是我怕雜訊可能會超多的
就監聽網絡接口時的經驗, 如果沒有仔細加過過慮器, 也會出現資訊過多的現象.
稍為查看一下, 原來也有預製分析NFC的工具噢,
http://www.fte.com/products/NFC.aspx
邊幫助, 邊鍛鍊