nifa-0.4.0 is not a library.
nifa

Cross-platform network inspection tool - a modern, read-only alternative to classic network commands.
Features
- List all network interfaces with detailed information
- Inspect a specific interface with full metadata (addresses, DNS, gateway, speeds, flags, stats)
- View routing tables (IPv4/IPv6)
- View neighbor table (ARP/NDP) with optional vendor (OUI) lookup
- Inspect open TCP/UDP sockets with process association
- Monitor live per-interface traffic statistics in a TUI
- Fetch your public IPv4/IPv6
- Display OS, kernel, proxy, permission capabilities, and default interface info
- Export view as JSON/YAML for automation
Supported Platforms
- Linux
- macOS
- Windows
Installation
Install prebuilt binaries via shell script
|
Install prebuilt binaries via powershell script
From Releases
You can download precompiled binaries from the releases
Using Cargo
Usage
Usage: nifa [OPTIONS] [COMMAND]
Commands:
ifaces Show all interfaces
iface Show details for specified interface
monitor Monitor traffic statistics for interfaces in TUI
route Show routing tables (IPv4/IPv6)
neigh Show neighbor table (ARP/NDP)
socket Show open TCP/UDP sockets and associated processes
public Show public IP information
system Show OS / kernel / proxy / default interface
help Print this message or the help of the given subcommand(s)
Options:
-l, --log-level <LOG_LEVEL> Set log level [default: error] [possible values: error, warn, info, debug, trace]
-h, --help Print help
-V, --version Print version
See nifa <sub-command> -h for more detail.
Note for Developers
If you are looking for a Rust library for network interface, consider using netdev.