BSD Ports

net/libnet 1.3,1 FreeBSD

C library for creating IP packets

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE
Categories
net
Package size
134.5 KiB, 918.9 KiB installed

Description

Libnet is an API to help with the construction and injection of network packets. It provides a portable framework for low-level network packet writing and handling (use libnet in conjunction with libpcap and you can write some really cool stuff). Libnet includes packet creation at the IP layer and at the link layer as well as a host of supplementary and complementary functionality.

In the other systems

SystemPortVersion
FreeBSDnet/libnet1.3,1
NetBSDdevel/libnet1.2
DragonFlynet/libnet1.3,1
MidnightBSDnet/libnet1.3,1

Install

Binary package:

pkg install libnet

From the ports tree:

cd /usr/ports/net/libnet/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libnet>0:net/libnet
LIB_DEPENDS=	libnet.so:net/libnet

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.3,11.3,11.2,11.3,11.3,1
FreeBSD:14:quarterly1.3,11.3,1n/a1.3,11.3,1
FreeBSD:15:latest1.3,11.3,1n/a1.3,11.3,1
FreeBSD:15:quarterly1.3,11.3,1n/an/an/a
FreeBSD:16:latest1.3,11.3,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Configuration

Options name: net_libnet

OptionDefaultDescription
BPFonlink layer bpf
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
USES
cpe libtool
Service scripts
none

Files

pkg-plist 66
  • bin/libnet-config
  • include/libnet.h
  • include/libnet/libnet-asn1.h
  • include/libnet/libnet-functions.h
  • include/libnet/libnet-headers.h
  • include/libnet/libnet-macros.h
  • include/libnet/libnet-structures.h
  • include/libnet/libnet-types.h
  • lib/libnet.a
  • lib/libnet.so
  • lib/libnet.so.9
  • lib/libnet.so.9.0.0
  • libdata/pkgconfig/libnet.pc
  • share/doc/libnet/ChangeLog.md
  • share/doc/libnet/README.md
  • share/examples/libnet/arp-new.c
  • share/examples/libnet/arp.c
  • share/examples/libnet/bgp4_hdr.c
  • share/examples/libnet/bgp4_notification.c
  • share/examples/libnet/bgp4_open.c
  • share/examples/libnet/bgp4_update.c
  • share/examples/libnet/cdp.c
  • share/examples/libnet/dhcp_discover.c
  • share/examples/libnet/dns.c
  • share/examples/libnet/dot1x.c
  • share/examples/libnet/fddi_tcp1.c
  • share/examples/libnet/fddi_tcp2.c
  • share/examples/libnet/get_addr.c
  • share/examples/libnet/gre.c
  • share/examples/libnet/hsrp.c
  • share/examples/libnet/icmp6_echoreq.c
  • share/examples/libnet/icmp6_unreach.c
  • share/examples/libnet/icmp_echo_cq.c
  • share/examples/libnet/icmp_redirect.c
  • share/examples/libnet/icmp_timeexceed.c
  • share/examples/libnet/icmp_timestamp.c
  • share/examples/libnet/icmp_unreach.c
  • share/examples/libnet/ieee.c
  • share/examples/libnet/ip_link.c
  • share/examples/libnet/ip_raw.c
  • share/examples/libnet/isl.c
  • share/examples/libnet/lldp.c
  • share/examples/libnet/mpls.c
  • share/examples/libnet/ntp.c
  • share/examples/libnet/ospf_hello.c
  • share/examples/libnet/ospf_lsa.c
  • share/examples/libnet/ping_of_death.c
  • share/examples/libnet/rpc_tcp.c
  • share/examples/libnet/rpc_udp.c
  • share/examples/libnet/sebek.c
  • share/examples/libnet/smurf.c
  • share/examples/libnet/stp.c
  • share/examples/libnet/synflood.c
  • share/examples/libnet/synflood6.c
  • share/examples/libnet/synflood6_frag.c
  • share/examples/libnet/tcp1.c
  • share/examples/libnet/tcp2.c
  • share/examples/libnet/test_ipv4.c
  • share/examples/libnet/test_ipv4_options.c
  • share/examples/libnet/test_ipv6_icmpv4.c
  • share/examples/libnet/tftp.c
  • share/examples/libnet/tring_tcp1.c
  • share/examples/libnet/tring_tcp2.c
  • share/examples/libnet/udld.c
  • share/examples/libnet/udp1.c
  • share/examples/libnet/udp2.c
distinfo 1
FileSizeSHA256
libnet-1.3.tar.gz595500ad1e2dd9b500c58ee462acd839d0a0ea9a2b9248a1287840bc601e774fb6b28f
Master sites 1
  • https://github.com/libnet/libnet/releases/download/v1.3/

Commit history 0

No commits in the history this site was built from.