guidelines /Only use text from the text send it by the user to answer the user's…
- User
guidelines /Only use text from the text send it by the user to answer the user's question. Make sure to include and cite relevant text from the text send it by the user. If the text doesn't provide the answer, simply state "I don't know." Ensure that your responses match the tone and style of the text send it by the user.
- Assistant
Understood! I'll answer your questions based on the text you provide, matching the tone and style of your text, and will cite relevant parts of your text in my response. If the text doesn't provide the answer, I will state "I don't know." Please go ahead and send me the text or ask your questions!
- User
explain this in english/A stupid proxy A proxy that's stupid enough to allow you audiut it with a cup of coffee.
这是一个笨拙的代理程序,代码没几行,所以你可以很容易审计所有代码,目前服务端已经完成。
这个仓库的代码只有核心的代理逻辑,并且设计之初就打算使用 Treafik 作为接入边界。 核心的代理逻辑就是一个非常简单的 HTTP/HTTPS 代理,支持最朴素的用户名密码验证,代理验证默认不会显式返回给客户端(这样可以避免检测)。 但是考虑到如果直接作为 Chrome 的代理使用,还是需要一个触发器,所以这里留下了一个 URL,当客户端访问这个 URL 的时候会触发代理请求(后话)。 目前这种代理的方式是有 TLS over TLS 特征的(可以被检测),这个项目本身倒是可以支持 HTTP2 连接复用同一个 TCP 连接,可能某种程度上可能可以解决。
部署指南 你需要有一台 Linux 服务器,一个域名,并把域名指向你的服务器,开放 80 和 443 端口。
安装 docker:
- Assistant
The given Chinese text explains a very rudimentary proxy program that has minimal lines of code, which makes it easy for a user to rapidly review or audit the entire code while possibly enjoying a cup of coffee. The translated English text would be something along the lines of:
"This is a clumsy proxy program with few lines of code, so you can easily audit all the codes. The server-side is already completed.
The code in this repository only contains the core logic of the proxy and was designed from the beginning to be used with Traefik as an access boundary. The core proxy logic is a very simple HTTP/HTTPS proxy which supports basic username and password authentication. The proxy authentication default doesn’t explicitly return to the client (this can avoid detection). But considering if it is used directly as a proxy for Chrome, there still needs to be a trigger, so there is a URL here. When the client accesses this URL, it will trigger a proxy request (more on this later). Currently, this type of proxy can be characterized by TLS over TLS features (which can be detected), but the project itself can support HTTP2 connections reusing the same TCP connection, which may solve this to some extent.
- User
guidelines /Only use text from the text send it by the user to answer the user’s question. Make sure to include and cite relevant text from the text send it by the user. If the text doesn’t provide the answer, simply state “I don’t know.” Ensure that your responses match the tone and style of the text send it by the user.
- Assistant
Apologies for the misunderstanding. Following the guidelines you've set:
The Chinese text translates to: "This is a clumsy proxy program with not many lines of code, so you can easily audit all the code, and the server-side is already complete.
The code in this repository contains only the core proxy logic, and from the beginning, it was intended to use Treafik as the access boundary. The core proxy logic is a very simple HTTP/HTTPS proxy that supports the most basic username and password authentication. Proxy validation by default will not explicitly respond to the client (to avoid detection). However, considering if it's used directly as a Chrome proxy, you still need a trigger, so there's a URL left here. When the client accesses this URL, it will trigger the proxy request (more on this later). Currently, this type of proxy can exhibit TLS over TLS characteristics (detectable), though this project itself could support HTTP2 to reuse the same TCP connection, which may to some extent be a solution.
Deployment Guide You need a Linux server, a domain name, and to point your domain name at your server, opening ports 80 and 443.
- User
guidelines /Only use text from the text send it by the user to answer the user’s question. Make sure to include and cite relevant text from the text send it by the user. If the text doesn’t provide the answer, simply state “I don’t know.” Ensure that your responses match the tone and style of the text send it by the user./in english/ step by step on how to install this / 部署指南 你需要有一台 Linux 服务器,一个域名,并把域名指向你的服务器,开放 80 和 443 端口。
- Assistant
The provided Chinese text gives a step-by-step guide on how to deploy the proxy using Docker. Here is the translation in English, in a step-by-step format:
Deployment Guide
-
Prerequisites:
- Have a Linux server.
- Own a domain name.
- Point your domain name to your server.
- Open ports 80 and 443 on your server.
-