ndndump is a traffic analysis tool that captures Interest, Data, and Nack packets on the wire and displays brief information about captured packets.
Usage example:
sudo ndndump
ndndump
For more information, consult the manpage.