NDPIREADER(1)

✨ NDPIREADER(1) ✨

okay so bestie, welcome to the manual page for ndpiReader β€” it lives in section 1 of the General Commands Manual, and it's basically the little demo bestie that ships with libndpi. πŸ’–


🌸 NAME 🌸

ndpiReader β€” the example tool for libndpi, no cap 🫢


πŸŽ€ SYNOPSIS πŸŽ€

ndpiReader -i file.pcap|device [options]

πŸ¦‹ DESCRIPTION πŸ¦‹

So like, ndpiReader is an example tool that uses libndpi. Periodt.

It can read from a pcap file or capture traffic straight off a network interface, and then it runs all of that through libndpi to process it. ✨

And yes, she only implements some basic features β€” literally just enough to show you what can be done with libndpi. It's giving demo energy, not production-app energy, and honestly? That's the point. πŸ’…


πŸ’… OPTIONS πŸ’…

  • -i file.pcap|device β€” tell her where the packets are coming from. Either a pcap file / playlist to read packets out of, or a device for live capture. And yes, you can hand her a comma-separated list, she can multitask. πŸ‘‘
  • -f bpf_filter β€” drop a BPF filter in here so she only deals with the traffic you actually care about. Filtered, focused, iconic. 🎯
  • -s duration β€” max capture duration, measured in seconds. Heads up: this one's for live traffic capture only. ⏳
  • -p file.protos β€” point her at a protocol file (like, for example, protos.txt). πŸ“„
  • -l num_loops β€” how many detection loops to run. Test only, bestie β€” this is a lab thing, not a vibe. πŸ§ͺ
  • -n num_threads β€” number of threads. Default is the number of interfaces in -i. And just so you know, she ignores this entirely when you're working with pcap files. πŸ™ˆ
  • -j file.json β€” name a file and she'll write the content of the packets out in .json format. Structured, cute, shareable. πŸ“
  • -g id:id... β€” thread affinity mask, aka one core id per thread. Pin those babies down. πŸ“Œ
  • -d β€” disables protocol guessing and uses only DPI. No guessing games, just vibes and deep packet inspection. πŸ”
  • -t β€” dissect GTP tunnels. Dig in there. πŸ•³οΈ
  • -h β€” display a usage message. Your friendly little help me out moment. 🫢
  • -v 1|2 β€” verbose printing of unknown protocol packets. 1 = verbose, 2 = very verbose. She will yap. 😭
  • -V 1|2 β€” verbose libndpi trace log print. 1 = trace, 2 = debug. Turn this on when you need to see everything she's thinking. πŸ”₯

and that's the whole page, bestie!! 🌈 This one came from the General Commands Manual source, dated 2014-08-15 β€” so yeah, she's been serving libndpi realness since way back. mwah πŸ’‹ πŸ’–βœ¨πŸ¦‹