Skip to content

Commit

Permalink
Fix image links
Browse files Browse the repository at this point in the history
  • Loading branch information
WinGeek committed Sep 8, 2024
1 parent 815e0fa commit 8c1e252
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 3 deletions.
6 changes: 6 additions & 0 deletions docs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@ permalink: /about/
---

# About OpenNHP Project
{: .fs-9 }

[中文版](./zh-cn/about/){: .label .fs-4 }

---


6 changes: 6 additions & 0 deletions docs/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ permalink: /build/
---

# Build OpenNHP Source Code
{: .fs-9 }

[中文版](./zh-cn/build/){: .label .fs-4 }

---

5 changes: 5 additions & 0 deletions docs/code.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@ permalink: /code/
---

# Understand the OpenNHP Source Code
{: .fs-9 }


[中文版](./zh-cn/code/){: .label .fs-4 }

---
3 changes: 3 additions & 0 deletions docs/comparison.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ permalink: /comparison/
---

# Comparison between NHP and SPA
{: .fs-9 }

[中文版](./zh-cn/comparison/){: .label .fs-4 }

---
4 changes: 4 additions & 0 deletions docs/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ permalink: /deploy/
---

# Deploy OpenNHP Binaries
{: .fs-9 }

[中文版](./zh-cn/deploy/){: .label .fs-4 }

---
5 changes: 5 additions & 0 deletions docs/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ permalink: /features/
---

# OpenNHP Feature List
{: .fs-9 }

[中文版](./zh-cn/features/){: .label .fs-4 }

---

- **Mitigate vulnerability risk:** The openness of TCP/IP protocols leads to a "trust by default" connection model, allowing anyone to establish a connection to a server port that provides services. Attackers exploit this openness to target server vulnerabilities. The NHP protocol implements the zero trust principle "never trust, always verify" by enforcing "deny-all" rules by default on the server side, only allowing authorized hosts to establish connections. This effectively mitigates vulnerability exploitation, particularly zero-day exploits.
- **Mitigate phishing attacks:** DNS hijacking is a serious threat to internet security and is used for malicious purposes such as phishing, stealing sensitive information, or spreading malware. The NHP protocol can function as an encrypted DNS resolution service to mitigate this problem. When the NHP-Agent on the client side sends a knock request to the controller component NHP-Server with the identifier (e.g., the domain name) of the protected resource, the NHP-Server will return the IP address and port number of the protected resource if the NHP-Agent is successfully authenticated. Since NHP communication is encrypted and mutually verified, the risk of DNS hijacking is effectively mitigated.
Expand Down
6 changes: 6 additions & 0 deletions docs/server_plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ permalink: /server_plugin/
---

# Develop NHP-Server Plugins
{: .fs-9 }

[中文版](./zh-cn/server_plugin/){: .label .fs-4 }

---




6 changes: 3 additions & 3 deletions docs/zh-cn/build.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permalink: /zh-cn/build/
**提示:** Windows 10/11下可以通过`WSL`子系统来运行Linux,详细请见WSL官方文档:<https://learn.microsoft.com/zh-cn/windows/wsl/install>

- **【开启WSL功能】** 在Win10上,需要首先开启WSL才能使用WSL安装Linux,设置界面请见下图。
![Win10上WSL设置](../images/win10wsl.png)
![Win10上WSL设置](/images/win10wsl.png)
- **【WSL上安装Linux】** 推荐在WSL上安装Ubuntu Linux,通过PowerShell运行以下命令安装:

```bat
Expand Down Expand Up @@ -61,7 +61,7 @@ permalink: /zh-cn/build/
- 安装GCC: `sudo apt install build-essential`
- **Windows**:
1. 第一步:**安装mingw64**。mingw64可以通过msys2的包管理工具进行下载。安装msys2系统要求、下载与安装教程见:<https://www.msys2.org/>
![install_msys2](../images/install_msys2.png)
![install_msys2](/images/install_msys2.png)

2. 第二步:**安装GCC**。在msys2的控制台输入命令:

Expand Down Expand Up @@ -114,4 +114,4 @@ permalink: /zh-cn/build/
- **NHP-Agent**的可执行文件和配置文件: `release\nhp-agent` 子目录下
- 所有二进制文件打包成一个`tar`文件: `release\archive` 子目录下
---
---

0 comments on commit 8c1e252

Please sign in to comment.