你可以使用 tcpdump 或 Wireshark 等网络抓包工具来监控安装过程中是否有外网请求。具体步骤如下:

  1. 安装 tcpdump 或 Wireshark 工具。

  2. 打开终端,输入以下命令启动 tcpdump 或 Wireshark:

  • tcpdump:sudo tcpdump -i eth0 -w install.pcap
  • Wireshark:sudo wireshark

其中,-i eth0表示监听网卡,-w install.pcap表示将抓包结果保存到 install.pcap 文件中。

  1. 开始安装软件。

  2. 安装完成后,停止 tcpdump 或 Wireshark 的抓包,查看抓包结果,搜索关键词,判断是否有外网请求。

注意:在使用 tcpdump 或 Wireshark 时,需要以 root 权限运行。另外,如果你的服务器有多个网卡,需要根据实际情况选择监听的网卡。

CentOS 7.6 RPM 安装软件时如何监控外网请求

原文地址: https://www.cveoy.top/t/topic/jLnG 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录