net/libnet 1.3,1 MidnightBSD
C library for creating IP packets
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- bsd2
- Categories
- net
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 |
|---|---|---|
| MidnightBSD | net/libnet | 1.3,1 |
| FreeBSD | net/libnet | 1.3,1 |
| NetBSD | devel/libnet | 1.2 |
| DragonFly | net/libnet | 1.3,1 |
| HardenedBSD | net/libnet | 1.3,1 |
| GhostBSD | net/libnet | 1.3,1 |
| OPNsense | net/libnet | 1.3,1 |
Install
Binary package:
mport install libnet
From mports:
cd /usr/mports/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
Dependencies
Required by 1
Configuration
Options name: net_libnet
| Option | Default | Description |
|---|---|---|
| BPF | on | link layer bpf |
| DOCS | off | |
| EXAMPLES | off |
- USES
- cpe libtool pathfix
- 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/