From 5ca5aa5560e5e1413352ff2e76b31f35b890aa2c Mon Sep 17 00:00:00 2001 From: Xingyu Wang Date: Tue, 12 Apr 2022 10:02:58 +0800 Subject: [PATCH] R --- ...ew your Linux server-s network connections with netstat.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/published/20220201 View your Linux server-s network connections with netstat.md b/published/20220201 View your Linux server-s network connections with netstat.md index a9ee5422bc..ab021f1e42 100644 --- a/published/20220201 View your Linux server-s network connections with netstat.md +++ b/published/20220201 View your Linux server-s network connections with netstat.md @@ -18,11 +18,11 @@ 服务监测和端口扫描是标准的行业惯例。有很好的软件,如 [Prometheus][3] 协助这个过程自动化,[SELinux][4] 协助上下文和保护系统访问权限。然而,我相信了解你的服务器是如何连接到其他网络和设备的,是建立正常服务器基准的关键,能够帮助你识别有可能表明错误和入侵等异常情况。作为一个初学者,我已经掌握了 `netstat` 命令为我的服务器提供了监测和网络故障排除的重要观察手段。 -Netstat 和类似的一些网络监测工具被归入 [net-tools 软件包][5] 里,用来显示关于活动连接的信息。因为运行在开放的端口的服务往往容易被利用,定期进行网络监测能够帮助你及早探测到可疑的活动。 +`netstat` 和类似的一些网络监测工具被归入 [net-tools 软件包][5] 里,用来显示关于活动连接的信息。因为运行在开放的端口的服务往往容易被利用,定期进行网络监测能够帮助你及早探测到可疑的活动。 ### 安装 netstat -`nestat` 经常预装在 Linux 发行版上。如果 `netstat` 没有在你的服务器上安装,用你的包管理器安装它。下面是在基于 Debian 的系统上: +`netstat` 经常预装在 Linux 发行版上。如果 `netstat` 没有在你的服务器上安装,用你的包管理器安装它。下面是在基于 Debian 的系统上: ``` $ sudo apt-get install net-tools