update readme
This commit is contained in:
parent
e0fc0d6944
commit
df1ee8cc46
30
README.html
30
README.html
@ -392,30 +392,30 @@ code {
|
||||
<h4 id="31-windows">3.1 windows</h4>
|
||||
<ol>
|
||||
<li>客户端访问<code>https://github.com</code></li>
|
||||
<li>客户端向dns查询github.com的ip,fastgithub拦截dns数据包并伪造解析结果为127.0.0.1</li>
|
||||
<li>客户端请求到fastgithub的<code>https://127.0.0.1:443</code></li>
|
||||
<li>fastgithub使用fastgithub.cer颁发服务器证书给客户端</li>
|
||||
<li>fastgithub查询和计算github.com最快的ip</li>
|
||||
<li>fastgithub与github.com进行无sni的tls连接</li>
|
||||
<li>fastgithub将请求反向代理到<code>https://github.com</code></li>
|
||||
<li>客户端向dns查询github.com的ip,FastGithub拦截dns数据包并伪造解析结果为127.0.0.1</li>
|
||||
<li>客户端请求到FastGithub的<code>https://127.0.0.1:443</code></li>
|
||||
<li>FastGithub使用fastgithub.cer颁发服务器证书给客户端</li>
|
||||
<li>FastGithub查询和计算github.com最快的ip</li>
|
||||
<li>FastGithub与github.com进行无sni的tls连接</li>
|
||||
<li>FastGithub将请求反向代理到<code>https://github.com</code></li>
|
||||
</ol>
|
||||
<h4 id="32-linuxosx">3.2 linux/osx</h4>
|
||||
<ol>
|
||||
<li>客户端访问<code>https://github.com</code></li>
|
||||
<li>客户端使用fagithub的代理端口38457代理请求</li>
|
||||
<li>fastgithub将代理的流量请求到自身的反向代理服务</li>
|
||||
<li>fastgithub使用fastgithub.cer颁发服务器证书给客户端</li>
|
||||
<li>fastgithub查询和计算github.com最快的ip</li>
|
||||
<li>fastgithub与github.com进行无sni的tls连接</li>
|
||||
<li>fastgithub将请求反向代理到<code>https://github.com</code></li>
|
||||
<li>FastGithub将代理的流量请求到自身的反向代理服务</li>
|
||||
<li>FastGithub使用fastgithub.cer颁发服务器证书给客户端</li>
|
||||
<li>FastGithub查询和计算github.com最快的ip</li>
|
||||
<li>FastGithub与github.com进行无sni的tls连接</li>
|
||||
<li>FastGithub将请求反向代理到<code>https://github.com</code></li>
|
||||
</ol>
|
||||
<h3 id="4-%E8%AF%81%E4%B9%A6%E9%AA%8C%E8%AF%81">4 证书验证</h3>
|
||||
<h4 id="41-git">4.1 git</h4>
|
||||
<p>git操作提示<code>SSL certificate problem</code></br></p>
|
||||
<p>需要关闭git的证书验证:<code>git config --global http.sslverify false</code></p>
|
||||
<p>git操作提示<code>SSL certificate problem</code></br>
|
||||
需要关闭git的证书验证:<code>git config --global http.sslverify false</code></p>
|
||||
<h4 id="42-firefox">4.2 firefox</h4>
|
||||
<p>firefox提示<code>连接有潜在的安全问题</code></br></p>
|
||||
<p>设置->隐私与安全->证书->查看证书->证书颁发机构,导入cacert/fastgithub.cer,勾选信任由此证书颁发机构来标识网站</p>
|
||||
<p>firefox提示<code>连接有潜在的安全问题</code></br>
|
||||
设置->隐私与安全->证书->查看证书->证书颁发机构,导入cacert/fastgithub.cer,勾选“信任由此证书颁发机构来标识网站”</p>
|
||||
<h3 id="5-%E5%AE%89%E5%85%A8%E6%80%A7%E8%AF%B4%E6%98%8E">5 安全性说明</h3>
|
||||
<p>FastGithub为每台不同的主机生成自颁发CA证书,保存在cacert文件夹下。客户端设备需要安装和无条件信任自颁发的CA证书,请不要将证书私钥泄露给他人,以免造成损失。</p>
|
||||
<h3 id="6-%E5%90%88%E6%B3%95%E6%80%A7%E8%AF%B4%E6%98%8E">6 合法性说明</h3>
|
||||
|
||||
26
README.md
26
README.md
@ -23,32 +23,30 @@ github加速神器,解决github打不开、用户头像无法加载、releases
|
||||
### 3 加速原理
|
||||
#### 3.1 windows
|
||||
1. 客户端访问`https://github.com`
|
||||
2. 客户端向dns查询github.com的ip,fastgithub拦截dns数据包并伪造解析结果为127.0.0.1
|
||||
3. 客户端请求到fastgithub的`https://127.0.0.1:443`
|
||||
4. fastgithub使用fastgithub.cer颁发服务器证书给客户端
|
||||
5. fastgithub查询和计算github.com最快的ip
|
||||
6. fastgithub与github.com进行无sni的tls连接
|
||||
7. fastgithub将请求反向代理到`https://github.com`
|
||||
2. 客户端向dns查询github.com的ip,FastGithub拦截dns数据包并伪造解析结果为127.0.0.1
|
||||
3. 客户端请求到FastGithub的`https://127.0.0.1:443`
|
||||
4. FastGithub使用fastgithub.cer颁发服务器证书给客户端
|
||||
5. FastGithub查询和计算github.com最快的ip
|
||||
6. FastGithub与github.com进行无sni的tls连接
|
||||
7. FastGithub将请求反向代理到`https://github.com`
|
||||
|
||||
#### 3.2 linux/osx
|
||||
1. 客户端访问`https://github.com`
|
||||
2. 客户端使用fagithub的代理端口38457代理请求
|
||||
3. fastgithub将代理的流量请求到自身的反向代理服务
|
||||
4. fastgithub使用fastgithub.cer颁发服务器证书给客户端
|
||||
5. fastgithub查询和计算github.com最快的ip
|
||||
6. fastgithub与github.com进行无sni的tls连接
|
||||
7. fastgithub将请求反向代理到`https://github.com`
|
||||
3. FastGithub将代理的流量请求到自身的反向代理服务
|
||||
4. FastGithub使用fastgithub.cer颁发服务器证书给客户端
|
||||
5. FastGithub查询和计算github.com最快的ip
|
||||
6. FastGithub与github.com进行无sni的tls连接
|
||||
7. FastGithub将请求反向代理到`https://github.com`
|
||||
|
||||
### 4 证书验证
|
||||
#### 4.1 git
|
||||
git操作提示`SSL certificate problem`</br>
|
||||
|
||||
需要关闭git的证书验证:`git config --global http.sslverify false`
|
||||
|
||||
#### 4.2 firefox
|
||||
firefox提示`连接有潜在的安全问题`</br>
|
||||
|
||||
设置->隐私与安全->证书->查看证书->证书颁发机构,导入cacert/fastgithub.cer,勾选信任由此证书颁发机构来标识网站
|
||||
设置->隐私与安全->证书->查看证书->证书颁发机构,导入cacert/fastgithub.cer,勾选“信任由此证书颁发机构来标识网站”
|
||||
|
||||
|
||||
### 5 安全性说明
|
||||
|
||||
Loading…
Reference in New Issue
Block a user