devel/libnet - The NetBSD Packages Collection

C library for portable packet creation and injection

Libnet is a high-level API (toolkit) allowing the application programmer to
construct and inject network packets. It provides a portable and simplified
interface for low-level network packet shaping, handling and injection.

Libnet hides much of the tedium of packet creation from the application
programmer such as multiplexing, buffer management, arcane packet header
information, byte-ordering, OS-dependent issues, and much more.

Libnet features portable packet creation interfaces at the IP layer and link
layer, as well as a host of supplementary and complementary functionality.

Build dependencies

pkgtools/cwrappers devel/libtool-base

Runtime dependencies


Binary packages

NetBSD 8.0earmv7hflibnet-1.2.tgz
NetBSD 8.0i386libnet-1.2.tgz
NetBSD 8.0x86_64libnet-1.2.tgz
NetBSD 9.0aarch64libnet-1.2.tgz
NetBSD 9.0alphalibnet-1.2.tgz
NetBSD 9.0earmlibnet-1.2.tgz
NetBSD 9.0earmv6hflibnet-1.2.tgz
NetBSD 9.0earmv7hflibnet-1.2.tgz
NetBSD 9.0i386libnet-1.2.tgz
NetBSD 9.0mips64eblibnet-1.2.tgz
NetBSD 9.0sparc64libnet-1.2.tgz
NetBSD 9.0sparclibnet-1.2.tgz
NetBSD 9.0x86_64libnet-1.2.tgz
NetBSD 9.0x86_64libnet-1.2.tgz
NetBSD 9.0x86_64libnet-1.2.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.