Linux local network information tool written in Python and C++
wget https://github.com/ryzeon-dev/lonet/releases/download/v2.2.1/lonet_2.2.1_amd64.deb && sudo dpkg -i ./lonet_2.2.1_amd64.deb
run the compilation and installation script as root
sudo bash install.sh
run the uninstallation script as root
sudo bash uninstall.sh
$ lonet --help
lonet: local network information tool
usage: lonet [OPTIONS]
options:
-a --all Show all available information
-A --arp Show arp table
-h --help Show this message and exits
-i --interface IFACE Show information about requested interface
-I --interfaces Show network interfaces information
-j --json Use JSON output
-O --open-connections Show open connections (IPv4 only)
-p --ports [tcp|udp] Show open ports of specified protocol, if omitted show both
-phy Only show physical network interfaces
-virt Only show virtual network interfaces
-r --routes Show system routes
-v --verbose Show verbose information
-V --version Show version number and exit
if no option is specified, shows concise information about network interfaces