Reputation: 1340
Is there a specific protocol used for network discovery?
I'm looking to code this into an existing java project. Currently I'm using a port scanner to handle the case, but I'm looking to swap that out for something that can give me a little more info. If possible I'd like to scan to discover machine and pull the Ip addr, host name, MAC addr, NIC make/model, OS, and anything else I can get.
Upvotes: 1
Views: 3914
Reputation: 46
WBEM (similar to WMI on Windows) can be used to scan Unix computers and other devices. Of course, only if the WBEM instrumentation is installed...
WBEM even works for ESX(i) servers if it is enabled there.
Otherwise you might also use SSH to programatically logon to Unix computers and issue system commands to extract the information you need.
There is a nice Java library for WBEM called SBLIM There are many Java library for telnet and SSH out there
Upvotes: 0
Reputation: 30985
Check nmap
for what it can. It is network scanner, can scan with ARP, TCP-SYN, and many other sniffing techniques. It also contains large database of different machines fingerprints, so it can guess what OS/version given system runs.
Upvotes: 1
Reputation: 1112
There is no one protocol that will do all this for you. I've had to do exactly this and basically, the best approach involves using a combination of heuristics to locate, analyze and cross-reference network nodes and topology. Here are the data sources I used:
Here's an accademic resource I dug up while working on my topology mapper. Hopefully it will help. Good luck!
Upvotes: 4