Netsleuth is a simple utility for calculating and analyzing IP subnet values.
Installation
The recommended installation method is via Flatpak.
To use the command-line interface, add a shell alias by running the following command:
echo "alias netsleuth='flatpak run io.github.vmkspv.netsleuth'" >> ~/.bashrc
> netsleuth --help
usage: netsleuth [ip_address] [-m MASK] [--binary] [--hex] [-h] [-v]
positional arguments:
ip_address ip for calculation
options:
-m MASK, --mask MASK subnet mask (default: 24)
--binary show binary values
--hex show hexadecimal values
general:
-h, --help show this help message and exit
-v, --version show version information and exit
Building from source
GNOME Builder
The recommended method is to use GNOME Builder:
- Install
org.gnome.Builderfrom Flathub. - Open Builder and select
Clone Repository. - Clone
https://github.com/vmkspv/netsleuth.git. - Press
Run Projectat the top once project is loaded.
Flatpak
You can also build the actual code as Flatpak:
- Install
org.flatpak.Builderfrom Flathub. - Clone
https://github.com/vmkspv/netsleuth.gitandcd netsleuth. - Run
flatpak run org.flatpak.Builder --install --user --force-clean build-dir io.github.vmkspv.netsleuth.json.
Contributing
Contributions are welcome!
If you have an idea, bug report or something else, don’t hesitate to open an issue.
This project follows the GNOME Code of Conduct.
License
Netsleuth is released under the GPL-3.0 license.
