
?Fing是一款好用的網絡監(jiān)測掃描管理軟件,這款軟件能夠很好的去幫助用戶查看當前網絡的信息等,且能夠方便的管理超多樣的設備,整合了大量的網絡管理功能,使用起來也相當方便
另外可以下載手機App Android/iphone版本

1、使用Fing的網絡掃描儀掃描網絡,并發(fā)現連接到任何網絡的所有設備
2、運行互聯(lián)網速度測試、WiFi速度測試、下載速度和上傳速度分析和延遲(手機APP)
3、獲取IP地址、mac地址、設備名稱、型號、供應商和制造商的最準確設備識別
4、NetBIOS、UPnP、SNMP和Bonjour名稱,屬性和設備類型的高級設備分析
5、檢測Wi-Fi入侵者,在每次掃描時顯示您的新未知設備 (手機APP)
6、包括端口掃描、設備ping、traceroute、DNS查找和LAN喚醒
1、下載fing
https://www.fing.com/images/uploads/general/CLI_linux_RPM_5.5.2.zip
解壓取出fing-5.5.2-amd64.rpm

然后rpm -ivh fing-5.5.2-amd64.rpm進行安裝
rpm -ivh fing-5.5.2-amd64.rpm

centos7下使用fing命令報錯 原因為libstdc++.so.6的版本過低造成,解決辦法:編譯升級gcc到高版本


下面為了演示方便直接使用Fedora32系統(tǒng)來測試
在Fedora32下正常運行



2、fing的常用用法
fing -h查看命令幫助
[root@fedora ~]# fing -h
=== Fing 5.5.2 - www.fing.io ===
CLI options:
Helper:
-h [ --help ] show this help message -v [ --version ] show fing version --interactive start the interactive mode
Command List:
-i [ --info ] show network informations -n [ --netdiscover ] arg run network discovery -s [ --servicescan ] arg scan services on host/network -p [ --ping ] arg run icmp ping on the hosts -T [ --traceroute ] arg run traceroute on the specified host -w [ --wol ] arg send wake on lan command on targets
Command Options:
-d [ --rdns ] arg enable/disable reverse DNS lookups -o [ --output ] arg use output setup for discovery/scan/ping -P [ --profile ] arg use specific discovery/scan/ping profile -r [ --rounds ] arg number of rounds for discovery -m [ --maxports ] arg max ports for scan --session arg use specific discovery session file --silent force to silent mode
3、用法舉例
1) fing -i 查看網絡信息
fing -i
或
fing --info

2) fing -n 網絡發(fā)現
fing -n 192.168.31.0/24

3) fing -p ping測試
fing -p www.baidu.com
fing -p www.baidu.com www.taobao.com

4) fing -T Traceroute測試
fing -T 114.114.114.114

5) fing -s 端口掃描
fing -s 192.168.31.155

默認掃描哪些端口全部定義在/etc/fing/ip-services.properties文件中
可以自定義添加掃描端口 vi /etc/fing/ip-services.properties 例如192.168.31.155的SSH默認22端口已經修改成6122了,添加的格式如下
tcp.6122=Private OpenSSH ; Private OpenSSH Port ; scan
這時再進行掃描就可以掃到了


6) fing -w 網絡喚醒
fing -w 74:d4:35:88:68:[email protected]

抓取的報文可以過濾出WOL網絡喚醒協(xié)議的報文

7) fing --interactive交互模式
fing --interactive


8) fing -o結果輸出到文件
fing -o table,html,/opt/192.168.31.1.html -n 192.168.31.1/24


以上就是fing工具的常規(guī)用法,其它用法可以參考官方User_Guide手冊 https://www.fing.com/images/uploads/general/Fing_CLI_-User_Guide-_v1.3.pdf