Skip to content

Commit

Permalink
publish site
Browse files Browse the repository at this point in the history
  • Loading branch information
snail007 committed Aug 8, 2019
1 parent 939f0a3 commit 0b19ff8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 46 deletions.
36 changes: 0 additions & 36 deletions docs/manual/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1237,42 +1237,6 @@ Fast :`--nodelay=0 --interval=30 --resend=2 --nc=1`
Fast2:`--nodelay=1 --interval=20 --resend=2 --nc=1`
Fast3:`--nodelay=1 --interval=10 --resend=2 --nc=1`

### 7.1 配置介绍
proxy的很多功能都支持kcp协议,凡是使用了kcp协议的功能都支持这里介绍的配置参数。
所以这里统一对KCP配置参数进行介绍。

### 7.2 详细配置
所有的KCP配置参数共有17个,你可以都不用设置,他们都有默认值,如果为了或者最好的效果,
就需要自己根据自己根据网络情况对参数进行配置。由于kcp配置很复杂需要一定的网络基础知识,
如果想获得kcp参数更详细的���置和解说,请自行搜索。每个参数的命令行名称以及默认值和简单的功能说明如下:
```
--kcp-key="secrect" pre-shared secret between client and server
--kcp-method="aes" encrypt/decrypt method, can be: aes, aes-128, aes-192, salsa20, blowfish,
twofish, cast5, 3des, tea, xtea, xor, sm4, none
--kcp-mode="fast" profiles: fast3, fast2, fast, normal, manual
--kcp-mtu=1350 set maximum transmission unit for UDP packets
--kcp-sndwnd=1024 set send window size(num of packets)
--kcp-rcvwnd=1024 set receive window size(num of packets)
--kcp-ds=10 set reed-solomon erasure coding - datashard
--kcp-ps=3 set reed-solomon erasure coding - parityshard
--kcp-dscp=0 set DSCP(6bit)
--kcp-nocomp disable compression
--kcp-acknodelay be carefull! flush ack immediately when a packet is received
--kcp-nodelay=0 be carefull!
--kcp-interval=50 be carefull!
--kcp-resend=0 be carefull!
--kcp-nc=0 be carefull! no congestion
--kcp-sockbuf=4194304 be carefull!
--kcp-keepalive=10 be carefull!
```
提示:
参数:--kcp-mode中的四种fast3, fast2, fast, normal模式,
相当于设置了下面四个参数:
normal:`--nodelay=0 --interval=40 --resend=2 --nc=1`
fast :`--nodelay=0 --interval=30 --resend=2 --nc=1`
fast2:`--nodelay=1 --interval=20 --resend=2 --nc=1`
fast3:`--nodelay=1 --interval=10 --resend=2 --nc=1`

## 8. Security DNS

### 8.1 Introduction
Expand Down
10 changes: 5 additions & 5 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,31 @@
</url>

<url>
<loc>https://snail007.github.io/goproxy/categories/</loc>
<loc>https://snail007.github.io/goproxy/tags/cdn/</loc>
<lastmod>2019-07-05T08:20:48+08:00</lastmod>
<priority>0</priority>
</url>

<url>
<loc>https://snail007.github.io/goproxy/</loc>
<loc>https://snail007.github.io/goproxy/categories/</loc>
<lastmod>2019-07-05T08:20:48+08:00</lastmod>
<priority>0</priority>
</url>

<url>
<loc>https://snail007.github.io/goproxy/posts/</loc>
<loc>https://snail007.github.io/goproxy/</loc>
<lastmod>2019-07-05T08:20:48+08:00</lastmod>
<priority>0</priority>
</url>

<url>
<loc>https://snail007.github.io/goproxy/tags/</loc>
<loc>https://snail007.github.io/goproxy/posts/</loc>
<lastmod>2019-07-05T08:20:48+08:00</lastmod>
<priority>0</priority>
</url>

<url>
<loc>https://snail007.github.io/goproxy/tags/cdn/</loc>
<loc>https://snail007.github.io/goproxy/tags/</loc>
<lastmod>2019-07-05T08:20:48+08:00</lastmod>
<priority>0</priority>
</url>
Expand Down
4 changes: 2 additions & 2 deletions docs/tags/cdn/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<title>cdn - GOPROXY IN ACTION</title>
<title>CDN - GOPROXY IN ACTION</title>

<link href="https://snail007.github.io/goproxy/css/styles.css" rel="stylesheet">

Expand Down Expand Up @@ -77,7 +77,7 @@


<header class="page-header">
<h1>cdn</h1>
<h1>CDN</h1>
</header>


Expand Down
4 changes: 2 additions & 2 deletions docs/tags/cdn/index.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>cdn on GOPROXY IN ACTION</title>
<title>CDN on GOPROXY IN ACTION</title>
<link>https://snail007.github.io/goproxy/tags/cdn/</link>
<description>Recent content in cdn on GOPROXY IN ACTION</description>
<description>Recent content in CDN on GOPROXY IN ACTION</description>
<generator>Hugo -- gohugo.io</generator>
<language>zh-CN</language>
<lastBuildDate>Fri, 05 Jul 2019 08:20:48 +0800</lastBuildDate>
Expand Down
2 changes: 1 addition & 1 deletion docs/tags/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


<item>
<title>cdn</title>
<title>CDN</title>
<link>https://snail007.github.io/goproxy/tags/cdn/</link>
<pubDate>Fri, 05 Jul 2019 08:20:48 +0800</pubDate>

Expand Down

0 comments on commit 0b19ff8

Please sign in to comment.