项目作者: rvsingh-094

项目描述 :
We can get all connected device's ip address of a local network.
高级语言: Go
项目地址: git://github.com/rvsingh-094/Ip_Address_For_local_Network.git


Ip_Address_For_local_Network

We can get all connected device’s IP address of a local network.

Python

  1. I followed the number of steps:

    Based on user Requirement we generate each IP address.

    Pass this Ip address to sendPingRequest function and using subprocess and after getting its result we store each IP based on its live or not.

GOLANG

I followed the same algorithm for GOLANG which I used in Python but for the wide range of IP address, in that case, we need output very fast, For that scenario I used GOLANG.

Here i used goroutine and channel to call multiple Ping function at a time and store into channel and that channel pass to any other method to check or validate that which device is live and which device is closed.

This script is very useful when we have a number of device inside our organization, in that case, we can easily monitor them, or somehow we change our network, in that case, IP changed (we do not mention static IP address) so in that case go each device and check their IP address is very tough, but suppose we know our domain and IP range, in that case, we can easily monitor our all devices easily.