Client With Proxy
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- rust
- 领域
- networking
调研方向
首先,结合 DefaultClient::new 跟踪提议的 create_proxy_client API。定义外部代理、自定义 x-token 标头和流量解密应如何工作,包括哪些目标主机使用代理。完成的标准是,实现所请求的代理客户端行为,并可通过所示接口使用。
由索引模型根据 Issue 内容生成。
描述
Can you write a client code that will use an external proxy to access blocked and sites and still be able to decrypt traffic?
You can use the standard Basic header as authentication, but in my case the authentication is custom and just uses the x-token: auth_token header.
In the end we will have:
let proxy_client = create_proxy_client(
opt.proxy_addr,
opt.auth_token,
).await?
let default_client = DefaultClient::new()?
so that you can send the desired hosts through an external proxy
- 主要语言
- Rust
- 星标
- 66
- 派生
- 12
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hatoo/http-mitm-proxy 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
hatoo/http-mitm-proxy#120 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 1/100
hatoo/http-mitm-proxy#103 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 15/100
hatoo/http-mitm-proxy#94 ·
-
难度 4/5 3-5 天 新手友好度 35/100
hatoo/http-mitm-proxy#82 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
hatoo/http-mitm-proxy#79 · 1 条评论 ·
查看 hatoo/http-mitm-proxy 的全部 Issue
相似的 Issue
-
marketing
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
help wanted small extra
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 半天 新手友好度 62/100
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
n0-computer/net-tools#282 ·
维护者通常 2 天内回复