Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifying the test for NHP network stealth effect #1243

Merged
merged 1 commit into from
Dec 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/zh-cn/deploy.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,13 @@ permalink: /zh-cn/deploy/

### 2.6 测试NHP网络隐身效果

验证NHP网络隐身效果,可以通过nhp-agent主机 *(IP:192.168.56.1)*进行`ping` nhp-ac主机 *(IP:192.168.56.102)*来测试。
验证NHP网络隐身效果,可以通过nhp-agent主机 *(IP:192.168.56.1)*进行`nmap扫描(以80端口为例)` nhp-ac主机 *(IP:192.168.56.102)*来测试。此外,可以在另外一台虚拟机(模拟黑客扫描攻击),扫描nhp-ac 主机查看效果

| 测试用例 | 测试命令 | 测试目的 | 预期结果 |
|:--:|:--:|:--:|:--:|
| nhp-agent未运行 |`ping 192.168.56.102` | 测试AC对Agent隐身 | ping 失败 |
| nhp-agent已运行 |`ping 192.168.56.102` | 测试AC对Agent开放 | ping 成功 |
| nhp-agent未运行 |`nmap -sS -p 80 192.168.56.102` | 测试AC对Agent隐身 | 80/tcp filtered |
| nhp-agent已运行 |`nmap -sS -p 80 192.168.56.102` | 测试AC对Agent开放 | 80/tcp open |
| nhp-agent已运行 |`nmap -sS -p 80 192.168.56.102` | 测试AC对黑客隐身 | 80/tcp filtered |

## 3. 日志说明

Expand Down
Loading