CDPR(8)

✨ CDPR(8) ✨

okay bestie, sit DOWN, because we're about to talk about cdpr, aka Cisco Discovery Protocol Reporter, living in the System Manager's Manual section 8 (that's the admin/system binaries girlies, iykyk). this is your little network detective πŸ•΅οΈβ€β™€οΈ and she's about to spill everyone's tea.


🌸 NAME 🌸

cdpr β€” Cisco Discovery Protocol Reporter πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

cdpr [-h] [-t seconds ] [-d device | -r pcap-file ] [-u server-config-file ] [-l location ] [-n hostname ] [-s server ] [-p script-path ]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe: cdpr listens on the network interfaces you tell it about, just chilling there waiting for Cisco Discovery Protocol packets to show up. when they do? she decodes them, prints out all the info like the icon she is, and β€” if you want β€” she can also yeet that info over to a server for processing. no cap. 🫢


✨ OPTIONS ✨

  • -d device β€” pick which device she should use, like eth0, hme0, etc. choose your fighter πŸ’–
  • -r pcap-file β€” read from a file instead of a network device. offline era, we love her πŸ“
  • -h β€” just print the usage. that's it, that's the option.
  • -t seconds β€” how long (in seconds) to wait before giving up on a packet. and listen: it should be > 60. don't be doing the most with tiny numbers, bestie 😭
  • -v[vv] β€” set verbose mode. add more vs for more yapping πŸ‘‘
  • -u server-config-file β€” send your cdpr info to a cdpr server. go read /usr/share/doc/cdpr/README.cdprs for the details, fr fr πŸ“–
  • -l location β€” a location/description of this port. use it with -u, or with -s and -p.
  • -n hostname β€” override the hostname that gets reported to the server. use it with -u, or with -s and -p.
  • -s server β€” the server to send info to. want a specific port? drop a : after the server/IP. example: 192.168.1.20:88 (default: 80). this one requires -p. also heads up β€” -u overrides it.
  • -p script-path β€” the path of the server script to send data to. this one requires -s. and yep β€” -u overrides it too.
🫧 little reminder boo: -u is the bossy one here. if you pass it, it overrides both -s and -p. don't say I didn't warn you πŸ’€

🌈 AUTHOR 🌈

Lance O'Connor <lance at ronnoco dot net> β€” the legend herself 🧚

this manual page was written by Matt Zagrabelny <mzagrabe at d dot umn dot edu>, for the Debian system (but may be used by others). sharing is caring, periodt πŸ’œ


and that's the whole page, bestie!! this one's from the User Manuals collection, dated APRIL 2009, and it's CDPR(8) in the System Manager's Manual. iconic, timeless, still serving after all these years. slay πŸŽ€βœ¨πŸ’