https://github.com/ryzeon-dev/lonet
Linux local network information tool written in Python and C++
https://github.com/ryzeon-dev/lonet
cpp linux localnetwork network python3
Last synced: 28 days ago
JSON representation
Linux local network information tool written in Python and C++
- Host: GitHub
- URL: https://github.com/ryzeon-dev/lonet
- Owner: ryzeon-dev
- License: cc-by-sa-4.0
- Created: 2025-11-09T13:46:18.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-11-21T22:01:51.000Z (6 months ago)
- Last Synced: 2025-11-22T00:07:27.657Z (6 months ago)
- Topics: cpp, linux, localnetwork, network, python3
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LONET
Linux local network information tool written in Python and C++
## Install
### Install DEB package
```commandline
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
```
### Compile from source
run the compilation and installation script as root
```commandline
sudo bash install.sh
```
## Uninstall
run the uninstallation script as root
```commandline
sudo bash uninstall.sh
```
## Usage
```
$ 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
```