Google’s Wireshark Dissectors for NFC
欲しかったやつだ。Googleの中の人が作ってるね。 / “wireshark-nfc – NFC dissectors for Wireshark. – Google Project Hosting”http://htn.to/pRdVY8
The Japanese text roughly means something like “Fellows wanted. People inside Google are making this”, from what I understand.
That aside, after cloning the Git repository into my local Wireshark SVN
plugins directory, my initial attempt at building the code failed with:
However, I was quickly able to rectify the problem by exporting some environment variables:
Under my VirtualBox-based Ubuntu installation, the plug-in binary (
nfc-wireshark.so) was installed in
/home/tyson/.wireshark/plugins, after running
make install again.
However, after starting Wireshark using
sudo, it appears that the plug-in itself was undetected – since the aforementioned path isn’t the default plug-in search path for the
When the dissector plug-in is unavailable, it is possible to open an LLCP trace file – but packets are displayed in a generic manner:
After moving the binary to
/usr/local/lib/wireshark/plugins/1.7.2/, and restarting Wireshark, I was successfully able to dissect the packets in the example trace file:
Hopefully, Google will work with the upstream Wireshark developers in order to integrate this functionality into mainline, so that I can investigate integration of the NDEF payload dissector into my FeliCa and MiFare dissectors; and also see if it’s possible to integrate the main LLCP dissector with my NXP PN532 chipset-specific protocol one.