Automic VaultAutomic Vault

brew

Install cdpr with Homebrew, apt, MacPorts, Nix

Cisco Discovery Protocol Reporter. Version 2.4 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cdpr

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install cdpr

MacPorts ports tree · net/cdpr/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install cdpr

Debian stable package indexes · cdpr · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#cdpr

nixpkgs package indexes · pkgs/by-name/cd/cdpr/package.nix · source: api.github.com

overview

Package summary

Cisco Discovery Protocol Reporter

Commands and aliases

  • cdpr

history

Project history and usage

CDPR, the Cisco Discovery Protocol Reporter, is a small C command-line utility for decoding CDP packets so a host can report which Cisco switch and port it is connected to.

Project history

SourceForge lists the project as registered on 2003-02-11 and describes it as a network-monitoring utility for decoding Cisco Discovery Protocol packets. The MonkeyMental project page identifies CDPR 2.4 as the packaged release and says the tool is known to compile and run on Solaris, Linux, HP-UX, AIX, and Windows with pcap.

Adoption history

CDPR had the classic small-admin-tool adoption path: tarball releases on SourceForge, distro packaging for Unix-like systems, and enough operational usefulness to survive in Homebrew, Debian, Ubuntu, MacPorts, and Nix per the supplied package-manager metadata.

How it is used

Administrators run cdpr to decode the local network's CDP announcements. In verbose mode it can decode the full packet, including VLAN and capability information, and MonkeyMental says it can report data back to a server for a switch-port database.

Why package nerds care

CDPR is package-nerd interesting because it is a tiny single-purpose network discovery tool that packages cleanly, needs libpcap-style platform support, and fills the gap when a host needs CDP visibility without a full network-management suite.

Timeline

  • 2003: CDPR project registered on SourceForge.
  • 2010: SourceForge files list cdpr-2.4.tgz in the cdpr file area.
  • 2013: SourceForge project metadata lists the last update as 2013-02-18.

Related projects

  • Cisco Discovery Protocol is the network protocol CDPR decodes.
  • libpcap/pcap-style capture support is used for packet capture on supported systems.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
cdprcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.4
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://www.monkeymental.com/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://www.monkeymental.com/none confidence

install metadata

Package metadata

Package keybrew:cdpr
Version2.4
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cdpr
Homepagehttps://www.monkeymental.com/
Repositoryhttps://sourceforge.net/p/cdpr/code
Upstream docshttps://sourceforge.net/projects/cdpr
LicenseGPL-2.0-or-later
Source archivehttps://downloads.sourceforge.net/project/cdpr/cdpr/2.4/cdpr-2.4.tgz
Uses from macOSlibpcap
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
Caveatsrun cdpr sudo'd in order to avoid the error: 'No interfaces found! Make sure pcap is installed.'

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecdpr
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

cdpr 2.4-3+b1

Cisco Discovery Protocol Reporter

http://cdpr.sourceforge.net/

sudo apt install cdpr
  • Section: net
  • Architecture: amd64
  • Source Package: cdpr
  • 2 dependencies
  • normalized package name match
  • Matched by: Cdpr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cdpr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

cdpr

nix profile install nixpkgs#cdpr
  • normalized package name match
  • Matched by: Cdpr
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cd/cdpr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

cdpr 2.4-3build2

Cisco Discovery Protocol Reporter

http://cdpr.sourceforge.net/

sudo apt install cdpr
  • Section: universe/net
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Cdpr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cdpr from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

cdpr

sudo port install cdpr
  • normalized package name match
  • Matched by: Cdpr
MacPorts ports tree · api.github.com · MacPorts ports tree: net/cdpr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment