#list #networking #ips

app lsip

list all IPs that are pingable

2 releases

0.0.2 Mar 20, 2023
0.0.1 Mar 6, 2023

#2 in #ips

Custom license

7KB
105 lines

lsip - ls but for IPs

A simple Rust program that lists all the IPs in a certain subnet (default: 192.168.1.0/24). A host is either up or down with the IPs that are up displaying the duration to get a reply. A host is determined to be up if it has a duration or time attribute in the stdout of the ping command.

Installation

cargo install lsip

Usage

Change the ip_range variable's wildcard (i.e. *) for a certain subnet and ip as well. Then, run the command.

Why

I made this as one of my first Rust projects. I came back to it quite a bit later and improved it.

Dependencies

~4MB
~73K SLoC