java - Network discovery programmatically -
is there specific protocol used network discovery?
i'm looking code existing java project. i'm using port scanner handle case, i'm looking swap out can give me little more info. if possible i'd scan discover machine , pull ip addr, host name, mac addr, nic make/model, os, , else can get.
there no 1 protocol you. i've had , basically, best approach involves using combination of heuristics locate, analyze , cross-reference network nodes , topology. here data sources used:
- traceroute allows identify edge devices , routers in network
- port-scanner allows identify services running on each node
- snmp allows detect type of device, network interfaces, other ip addresses, ip of devices connected each port on switches, routing table, process table, network configuration, etc... best source of data, requires node running snmp server (installed default on windows , linux distros) , have credentials.
- wmi windows hosts, provide same info snmp
here's accademic resource dug while working on topology mapper. help. luck!
Comments
Post a Comment