识别非计算机网络设备? [英] Identify a non-computer network device?
问题描述
我目前正在研究一个程序,该程序可以扫描我的网络并发现网络上的计算机和设备.我使用各种操作在发现的设备上查找数据,但希望将网络设备与计算机区分开.我想知道是否有人知道我该怎么做?
I'm current working on a program that scans my network and discoveres computers and devices on the network. I use various operations to find data on the devices I discover, but want to distinguish the network devices from computers. And I'm wondering if anyone knows how I could do this?
我对SNMP有点了解,并尝试连接到我的网络打印机,路由器和调制解调器.但是我似乎只能连接到打印机,路由器或调制解调器都没有响应.
I looked a bit at SNMP, and tried connecting to my network printer, router and modem. But I seem to only be able to connect to the printer, neither the router or modem responds.
还有另一种方法来识别IP地址属于哪种设备?
Is there another way to identify what kind of a device an IP address belongs to?
推荐答案
使用诸如 nmap 这样的命令行工具可以用手指打印可以为您提供各种信息的设备.
Using a command line tool such as nmap you can finger print the device which can give you all sorts of information.
也许您可以通过c#调用nmap并读回响应.
Perhaps you can call nmap via c# and read back the response.
另一种选择是查找给定MAC地址的网络芯片供应商.但我不确定能为您提供多少细节.
Another alternative is to look up the network chip vendor of a given MAC address. But I'm not sure how much detail that will give you.
以下是nmap网站中的示例:
Here is the example from the nmap site:
# nmap -O -v scanme.nmap.org
Starting Nmap ( http://nmap.org )
Nmap scan report for scanme.nmap.org (64.13.134.52)
Not shown: 994 filtered ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp closed smtp
53/tcp open domain
70/tcp closed gopher
80/tcp open http
113/tcp closed auth
Device type: general purpose
Running: Linux 2.6.X
OS details: Linux 2.6.20-1 (Fedora Core 5)
Uptime guess: 11.433 days (since Thu Sep 18 13:13:01 2008)
TCP Sequence Prediction: Difficulty=204 (Good luck!)
IP ID Sequence Generation: All zeros
Nmap done: 1 IP address (1 host up) scanned in 6.21 seconds
Raw packets sent: 2021 (90.526KB) | Rcvd: 23 (1326B)
这篇关于识别非计算机网络设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!