NDNDUMP(8)

πŸ“¦
version 24.07 Β· 2 versions
, in nixos 26.05

πŸ’… NDNDUMP(8) β€” ndndump, the traffic analysis tool πŸ’…

🌸 NAME 🌸

okay so ndndump is literally a traffic analysis tool. That's the whole vibe: it captures NDN packets on the wire and shows you a quick little summary about each one. 🫢

✨ USAGE ✨

ndndump [-hvV] [-i INTERFACE] [-r FILE] [-f FILTER] [PCAP-FILTER]

πŸ¦‹ DESCRIPTION πŸ¦‹

Bestie, listen: ndndump is a traffic analysis tool that captures NDN packets on the wire and displays brief information about them. Iconic. πŸ’…

Currently, ndndump can extract Interest, Data, and Nack packets from:

  • Ethernet frame
  • PPP link (e.g., pcap trace from ndnSIM)
  • IPv4 UDP unicast tunnel
  • IPv4 UDP multicast group
  • IPv4 TCP tunnel, when Interest/Data/Nack is aligned to the beginning of a TCP segment
For more complex scenarios β€” including when NDN packets span multiple IP fragments or multiple TCP segments β€” it is recommended to use the NDN Wireshark dissector, either via wireshark(1) or tshark(1). That's the move, fr fr. 🌈

πŸ’… OPTIONS πŸ’…

  • -h, --help β€” Print help and exit. So helpful, so slay. ✨
  • -i INTERFACE, --interface=INTERFACE β€” Listen on INTERFACE. If unspecified, ndndump searches the system interface list for the lowest numbered, configured up interface (excluding loopback). On Linux, a value of "any" can be used to capture packets from all interfaces. Note that captures on the "any" pseudo-interface will not be done in promiscuous mode. πŸ‘€
  • -r FILE, --read=FILE β€” Read packets from FILE, which can be created by tcpdump(8) with its -w option, or by similar programs. πŸŽ€
  • -f FILTER, --filter=FILTER β€” Print a packet only if its name matches the regular expression FILTER. regex bestie behavior. 🧚
  • -p, --no-promiscuous-mode β€” Do not put the interface into promiscuous mode. respectful interface vibes. πŸ’…
  • -t, --no-timestamp β€” Do not print a timestamp for each packet. no clock check. ⏰
  • -v, --verbose β€” Produce verbose output. yap mode: on. πŸ—£οΈ
  • -V, --version β€” Print ndndump and libpcap version strings and exit. πŸ’œ
  • PCAP-FILTER β€” PCAP-FILTER is an expression in pcap-filter(7) format that selects which packets will be analyzed. If no PCAP-FILTER is given, a default filter is used. The default filter can be seen with the --help <#cmdoption-h> option. πŸ‘‘

πŸ”₯ EXAMPLES πŸ”₯

Capture on eth1 and print packets containing "ping":

ndndump -i eth1 -f '.*ping.*'

Copyright Β© 2014-2024 Named Data Networking Project.


πŸ’– Source/version and date sign-off: NDN Essential Tools, version 24.07, dated 1980-01-01. That's the manual, bestie β€” go capture some packets and slay. πŸŽ€βœ¨

πŸ“¦ where this page comes from