Skip to content

Commit

Permalink
Add notice for http proxy user agent header removal
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokangwang committed May 10, 2024
1 parent e274fd4 commit 0d21b77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/en_US/v5/config/proxy/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ Although HTTP inbound could be used to provide proxy service to remote users, it
It is designed for providing proxy service to a local device or local network.
:::

:::warning
If the incoming HTTP proxy connection's HTTP Header's User Agent exists and is empty, that header would be removed. This could allow remote end point discover you are using this program.
:::

## HTTP Outbound
* Name: `http`
* Type: Outbound Protocol
Expand Down
4 changes: 4 additions & 0 deletions docs/v5/config/proxy/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ inbound.http
虽然 HTTP 入站可以用于提供公共服务,但 HTTP 协议没有对传输加密,不适宜在公网中传输。HTTP 入站更有意义的用法是在局域网或本机环境下监听,为其他程序提供本地服务。
:::

:::warning
HTTP 入站连接的 HTTP 头中 User Agent 存在且为空时,该 HTTP 头会被移除。这可能使您连接的目标服务器知晓您使用了本程序。
:::

## HTTP 出站

outbound.http
Expand Down

0 comments on commit 0d21b77

Please sign in to comment.