fping Love The Way You Lie 2022-08-29 00:09 90阅读 0赞 **fping**是一个小型命令行工具,用于向网络主机发送**ICMP** ( **Internet控制消息协议** )回应请求,类似于ping,但在ping多个主机时性能要高得多。 fping完全不同于ping,因为您可以在命令行上定义任意数量的主机,或者指定包含要ping的IP地址或主机列表的文件。 **另请参阅** : [Linux系统管理员的网络管理,故障排除和调试指南][Linux] 例如,使用fping,我们可以指定完整的网络范围( **192.168.0.1/24** )。 它会向主机发送Fping请求,并以循环方式移动到另一个目标主机。 与ping不同,Fping基本上用于编写脚本。 ### 如何在Linux系统中安装Fping ### 在大多数Linux发行版中,可以使用包管理工具从默认包存储库安装包**fping** ,如图所示。 # sudo apt install fping [On Debian/Ubuntu] # sudo yum install fping [On CentOS/RHEL] # sudo dnf install fping [On Fedora 22+] # sudo pacman -S fping [On Arch Linux] 或者,您可以使用以下命令从源包安装最新版本的**fping** ( **4.0** )。 $ wget https://fping.org/dist/fping-4.0.tar.gz $ tar -xvf fping-4.0.tar.gz $ cd fping-4.0/ $ ./configure $ make && make install 让我们看一些Fping命令及其示例。 1. Fping多个IP地址 以下命令将同时显示多个**IP**地址,它将显示状态为活动或无法访问。 # fping 50.116.66.139 173.194.35.35 98.139.183.24 50.116.66.139 is alive 173.194.35.35 is unreachable 98.139.183.24 is unreachable 2. Fping IP地址范围 以下命令将指定指定范围的IP收件人。 使用以下输出,我们将响应请求发送到IP地址范围并获得我们想要的回复。 退出后还显示累积结果。 # fping -s -g 192.168.0.1 192.168.0.9 192.168.0.1 is alive 192.168.0.2 is alive ICMP Host Unreachable from 192.168.0.2 for ICMP Echo sent to 192.168.0.3 ICMP Host Unreachable from 192.168.0.2 for ICMP Echo sent to 192.168.0.3 ICMP Host Unreachable from 192.168.0.2 for ICMP Echo sent to 192.168.0.3 ICMP Host Unreachable from 192.168.0.2 for ICMP Echo sent to 192.168.0.4 192.168.0.3 is unreachable 192.168.0.4 is unreachable 8 9 targets 2 alive 2 unreachable 0 unknown addresses 4 timeouts (waiting for response) 9 ICMP Echos sent 2 ICMP Echo Replies received 2 other ICMP received 0.10 ms (min round trip time) 0.21 ms (avg round trip time) 0.32 ms (max round trip time) 4.295 sec (elapsed real time) 3.使用不同选项填充完整网络 使用上述命令,它将ping整个网络并重复一次( **-r 1** )。 抱歉,无法显示该命令的输出,因为它在没有时间的情况下向上滚动屏幕。 # fping -g -r 1 192.168.0.0/24 4.从文件中读取目标列表 我们创建了一个名为**fping.txt**的文件,其IP地址( **173.194.35.35**和**98.139.183.24** )到fping。 # fping < fping.txt 173.194.35.35 is alive 98.139.183.24 is alive 5.显示Fping版本 执行命令检查Fping版本。 # fping -v fping: Version 4.0 fping: comments to [email protected] [Linux]: https://www.howtoing.com/linux-networking-commands/
相关 【kali-2021.1】FPING—参数中文版(下) 目录 12.设置数据包的服务类型(tos) 13.显示存活的主机 今天药忘吃喽~/ 2022年11月07日 05:53/ 0 赞/ 99 阅读
相关 【kali-2021.1】FPING—参数中文版(上) 目录 FPING FPING是什么 命令格式 Fping用法 选项介绍 系统管理员/ 2022年11月07日 05:51/ 0 赞/ 171 阅读
相关 fping fping是一个小型命令行工具,用于向网络主机发送ICMP ( Internet控制消息协议 )回应请求,类似于ping,但在ping多个主机时性能要高得多。 fping完全不 Love The Way You Lie/ 2022年08月29日 00:09/ 0 赞/ 91 阅读
相关 ListeningExecutorService+CountDownLatch+Semaphore附Fping for linux and windows ListeningExecutorService 子任务状态结果监听 CountDownLatch 计数器 多线程执行子任务用 Semaphore 待我称王封你为后i/ 2022年06月14日 00:37/ 0 赞/ 151 阅读
相关 主机批量扫描工具fping,hping安装及使用 fping功能和ping一样,不过fping可以批量ping其他主机 官网下载路径 http://fping.org/ 我使用的是4.0版本 mkdir /usr/loc Love The Way You Lie/ 2022年05月15日 03:48/ 0 赞/ 434 阅读
相关 信息搜集 - 三层发现 fping 0x00:简介 fping 命令和 ping 类似,主要区别在于 ping 不支持网段扫描,需要结合 shell 写脚本。而 fping 支持。这里把 fping 放到了 太过爱你忘了你带给我的痛/ 2022年04月22日 02:36/ 0 赞/ 154 阅读
相关 fping错误 java执行ping命令提示java.io.ioexception:cannot run program "ping" create process error=2, 原因是 左手的ㄟ右手/ 2022年01月22日 23:51/ 0 赞/ 172 阅读
相关 Fping操作 一、fping 的优点: 1. 可以一次ping多个主机 2. 可以从主机列表文件ping 3. 结果清晰 便于脚本处理 4. 速度快 二 、常用参数介绍 系统管理员/ 2021年11月23日 04:12/ 0 赞/ 193 阅读
还没有评论,来说两句吧...