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
| System | Port | Version |
|---|---|---|
| FreeBSD | net/libnet | 1.3,1 |
| NetBSD | devel/libnet | 1.2 |
| DragonFly | net/libnet | 1.3,1 |
| MidnightBSD | net/libnet | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.3,1 | 1.3,1 | 1.2,1 | 1.3,1 | 1.3,1 |
| FreeBSD:14:quarterly | 1.3,1 | 1.3,1 | n/a | 1.3,1 | 1.3,1 |
| FreeBSD:15:latest | 1.3,1 | 1.3,1 | n/a | 1.3,1 | 1.3,1 |
| FreeBSD:15:quarterly | 1.3,1 | 1.3,1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.3,1 | 1.3,1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Required by 34
- databases/pg-gvm
- mail/procmail-bgrb
- net-mgmt/dhcp_probe
- net-mgmt/ettercap
- net-mgmt/isic
- net-mgmt/packit
- net/arp-sk
- net/arping
- net/arpoison
- net/arprelease
- net/gspoof
- net/libfb
- net/libnids
- net/nast
- net/nemesis
- net/netwib
- net/tcptraceroute
- net/vortex
- security/dsniff
- security/fiked
- security/gsa
- security/gsad
- security/gvm
- security/gvm-libs
- security/gvmd
- security/ipguard
- security/openvas
- security/py-ospd-openvas
- security/sasp
- security/sslproxy
- security/sslsplit
- security/suricata
- security/yersinia
- sysutils/cluster-glue
Configuration
Options name: net_libnet
| Option | Default | Description |
|---|---|---|
| BPF | on | link layer bpf |
| DOCS | off | Build and/or install documentation |
| EXAMPLES | off | Build 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
| File | Size | SHA256 |
|---|---|---|
| libnet-1.3.tar.gz | 595500 | ad1e2dd9b500c58ee462acd839d0a0ea9a2b9248a1287840bc601e774fb6b28f |
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.