-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
rui.zheng
committed
Apr 2, 2015
1 parent
dc9b5ef
commit 850d815
Showing
13 changed files
with
118 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2014 郑锐 | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
gost - GO Simple Tunnel | ||
==== | ||
|
||
###GO语言实现的安全隧道 | ||
|
||
####目的 | ||
目前这种软件已经很多了,像shadowsocks, goagent等等都很成熟了,那为什么我要再发明一个轮子? | ||
一般公司的上网都是通过公司代理服务器,而且大部分都会有或多或少的限制,比如只能访问特定的端口(80, 443, 8080), | ||
只允许http协议等。 | ||
我一开始在网上找了好多类似功能的软件,但都有一个问题:无法设置上层代理,这样就无法通过公司网络。 | ||
最后找了半天也没找到,于是就自己写了一个,主要是在公司使用。 | ||
|
||
增加shadowsocks服务器模式,是方便我的手机使用,这样我的手机就可以使用shadowsocks客户端连接到本地的shadowsocks服务器,几乎所有软件都可以使用了。 | ||
|
||
#####注:前提条件是要有一台可访问的具有公网IP的主机。 | ||
|
||
|
||
####特性 | ||
1. 支持设置上层http代理。 | ||
2. 客户端可用作http(s), socks5代理。 | ||
3. 服务器端兼容标准的socks5协议, 可直接用作socks5代理, 并额外增加协商加密功能。 | ||
4. Tunnel UDP over TCP, UDP数据包使用TCP通道传输,以解决防火墙的限制。 | ||
5. 多种加密方式(tls,aes-256-cfb,des-cfb,rc4-md5等)。 | ||
6. 客户端兼容shadowsocks协议,可作为shadowsocks服务器。 | ||
|
||
####参数说明 | ||
> -L=":8080": listen address | ||
> -P="": proxy for forward | ||
> -S="": the server that connecting to | ||
> -cert="cert.pem": cert.pem file for tls | ||
> -key="key.pem": key.pem file for tls | ||
> -m="tls": tunnel cipher method | ||
> -p="[email protected]": tunnel cipher password | ||
> -sm="rc4-md5": shadowsocks cipher method | ||
> -sp="[email protected]": shadowsocks cipher password | ||
> -ss=false: run as shadowsocks server | ||
|
||
####使用方法 | ||
#####服务器端: | ||
`$ gost -L=:443` | ||
|
||
#####服务器端有上层http代理: | ||
`$ gost -L=:443 -P=proxy_ip:port` | ||
|
||
#####客户端(默认使用tls加密方法): | ||
`$ gost -L=:8080 -S=your_server_ip:443` | ||
|
||
#####客户端有上层http代理: | ||
`$ gost -L=:8080 -S=your_server_ip:443 -P=proxy_ip:port` | ||
|
||
#####作为shadowsocks服务器(默认使用rc4-md5加密,密码:ginuerzh@gmail.com): | ||
`$ gost -L=:8080 -S=your_server_ip:443 -ss` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
layout: default | ||
title: Downloads | ||
--- | ||
|
||
gost downloads (version 1.0) | ||
|
||
### Darwin (Apple Mac) | ||
|
||
* [gost\_1.0\_darwin\_386.zip](gost_1.0_darwin_386.zip) | ||
* [gost\_1.0\_darwin\_amd64.zip](gost_1.0_darwin_amd64.zip) | ||
|
||
### Linux | ||
|
||
* [gost\_1.0\_amd64.deb](gost_1.0_amd64.deb) | ||
* [gost\_1.0\_i386.deb](gost_1.0_i386.deb) | ||
* [gost\_1.0\_linux\_386.tar.gz](gost_1.0_linux_386.tar.gz) | ||
* [gost\_1.0\_linux\_amd64.tar.gz](gost_1.0_linux_amd64.tar.gz) | ||
|
||
### MS Windows | ||
|
||
* [gost\_1.0\_windows\_386.zip](gost_1.0_windows_386.zip) | ||
* [gost\_1.0\_windows\_amd64.zip](gost_1.0_windows_amd64.zip) | ||
|
||
### Other files | ||
|
||
* [control.tar.gz](.goxc-temp/control.tar.gz) | ||
* [data.tar.gz](.goxc-temp/data.tar.gz) | ||
* [LICENSE](LICENSE) | ||
* [README.md](README.md) | ||
|
||
|
||
|
||
Generated by goxc |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.