Automic VaultAutomic Vault

brew

Install libdnet with Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper

Portable low-level networking library. Version 1.18.2 via Homebrew; verified 2026-06-28.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libdnet

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install libdnet

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

Linux

Alpine Linux apkverified · 92%
sudo apk add libdnet

Alpine Linux edge package indexes · libdnet · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install libdnet

Fedora Rawhide package metadata · libdnet · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#libdnet

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

Arch Linux pacmanverified · 92%
sudo pacman -S libdnet

Arch Linux sync databases · libdnet · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libdnet-devel

openSUSE Tumbleweed package metadata · libdnet-devel · source: download.opensuse.org

overview

Package summary

Portable low-level networking library

Commands and aliases

  • dnet
  • dnet-config

history

Project history and usage

libdnet is a portable low-level networking library that wraps address manipulation, ARP and route-table access, firewalling, interface handling, tunneling, and raw packet transmission behind one API.

Project history

The original libdnet site is signed by Dug Song and presents the project as a small systems library for C, C++, Python, Perl, and Ruby users across BSD, Linux, Mac OS X, Windows, Solaris, IRIX, HP-UX, and Tru64. Its SourceForge-era download section listed libdnet 1.11 in January 2005 and CVS as the source-control mechanism.

The GitHub tag history preserves the older imported lineage, including DNET_1_10 in February 2005 and libdnet-1.12 in January 2007, then shows renewed maintenance under the ofalk repository with releases from 2020 onward. The 2023-2024 releases focused on modern build tooling, CMake/autotools cleanup, Python binding rebuilds, CI, and portability fixes.

Adoption history

The official libdnet site listed projects using it such as arpd, firewalk, fragroute, honeyd, Nmap, Scapy, Unicornscan, and other network-testing or packet-manipulation tools. That placement made libdnet part of the classic Unix security-tool stack, often paired conceptually with libpcap for capture and libnet-style packet construction.

How it is used

Developers use libdnet when they need portable access to network interfaces, routes, ARP tables, filters, tunnels, or raw Ethernet/IP transmission without writing per-OS code. The package also ships `dnet` and `dnet-config`, making it useful both as a development library and as an installed build dependency for older networking tools.

Why package nerds care

libdnet is a package-nerd fossil with real utility: it carries early-2000s network-security tooling assumptions into modern distributions. Packaging it well keeps old but still-useful packet tools buildable, especially where source has moved from SourceForge/CVS through Google Code-era references into maintained GitHub forks.

Timeline

  • 2005: libdnet 1.11 listed on the official site.
  • 2005: DNET_1_10 tag imported into the GitHub history.
  • 2007: libdnet-1.12 tag published.
  • 2020: libdnet-1.14 tag published in the maintained GitHub repository.
  • 2023: 1.16.x and 1.17.0 releases modernized build support.
  • 2024: 1.18.0 and 1.18.2 releases continued portability and tooling fixes.

Related projects

  • The official site names libpcap, WinPcap, pypcap, dpkt, libnet, PktFilter, and TUN/TAP drivers as related work, and lists Nmap, Scapy, honeyd, fragroute, arpd, and Unicornscan among downstream users.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

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
dnetcliglobal executable
dnet-configcliglobal 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 version1.18.2
manager updated2026-06-28
local dataok
upstreamcurrent
latest detectedlibdnet-1.18.2

https://github.com/ofalk/libdnet

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:libdnet
Version1.18.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libdnet
Homepagehttps://github.com/ofalk/libdnet
Repositoryhttps://github.com/ofalk/libdnet
Upstream docshttps://github.com/ofalk/libdnet#readme
LicenseBSD-3-Clause
Source archivehttps://github.com/ofalk/libdnet/archive/refs/tags/libdnet-1.18.2.tar.gz
Last updated2026-06-28T00:07:30-04:00
Pulseupdated
Build dependenciespkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibdnet
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.

Nix95%

libdnet

nix profile install nixpkgs#libdnet
  • normalized package name match
  • Matched by: Libdnet
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libdnet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

libdnet 1.18.0-r0

simplified, portable interface to several low-level networking routines

https://github.com/ofalk/libdnet

sudo apk add libdnet
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: libdnet
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libdnet
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libdnet from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libdnet-dev 1.18.0-r0

simplified, portable interface to several low-level networking routines (development files)

https://github.com/ofalk/libdnet

sudo apk add libdnet-dev
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: libdnet
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libdnet
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libdnet-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libdnet-doc 1.18.0-r0

simplified, portable interface to several low-level networking routines (documentation)

https://github.com/ofalk/libdnet

sudo apk add libdnet-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: libdnet
  • normalized package name match
  • Matched by: Libdnet
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libdnet-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

libdnet 1.18.0-10.fc45

Simple portable interface to lowlevel networking routines

https://github.com/ofalk/libdnet

sudo dnf install libdnet
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libdnet
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libdnet
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libdnet from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libdnet-devel 1.18.0-10.fc45

Header files for libdnet library

https://github.com/ofalk/libdnet

sudo dnf install libdnet-devel
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libdnet
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libdnet
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libdnet-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libdnet-progs 1.18.0-10.fc45

Sample applications to use with libdnet

https://github.com/ofalk/libdnet

sudo dnf install libdnet-progs
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libdnet
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libdnet
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libdnet-progs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

python3-libdnet 1.18.0-10.fc45

Python bindings for libdnet

https://github.com/ofalk/libdnet

sudo dnf install python3-libdnet
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libdnet
  • 2 dependencies
  • 6 provides
  • normalized package name match
  • Matched by: Libdnet
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-libdnet from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

libdnet 1.18.2-1

A simplified, portable interface to several low-level networking routines

https://github.com/ofalk/libdnet

sudo pacman -S libdnet
  • License: BSD
  • Architecture: x86_64
  • normalized package name match
  • Matched by: Libdnet
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: libdnet from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libdnet-devel 1.18.2-1.2

Development files for libdnet

https://github.com/dugsong/libdnet

sudo zypper install libdnet-devel
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libdnet
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libdnet
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libdnet-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libdnet1 1.18.2-1.2

Library for Portable Interface to Low-Level Networking Routines

https://github.com/dugsong/libdnet

sudo zypper install libdnet1
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libdnet
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libdnet
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libdnet1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

libdnet

sudo port install libdnet
  • normalized package name match
  • Matched by: Libdnet
MacPorts ports tree · api.github.com · MacPorts ports tree: net/libdnet/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