All Projects → dearplain → fast-shadowsocks

dearplain / fast-shadowsocks

Licence: Apache-2.0 License
在shadowsocks-go基础上加快传输层,配置和使用方法不变。(注意client端和server端要配合使用,不兼容以前的shadowsocks-go)。下载:https://github.com/dearplain/fast-shadowsocks/releases

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to fast-shadowsocks

canCross
一键部署 SS for Docker
Stars: ✭ 14 (-46.15%)
Mutual labels:  shadowsocks
Alfred ShadowsocksController
ShadowsocksX controller for Alfred
Stars: ✭ 70 (+169.23%)
Mutual labels:  shadowsocks
iosvpn.github.io
iPhone和iOS 翻墙梯子VPN推荐,2022中国苹果手机iPhone翻墙软件和科学上网避坑指南,稳定梯子推荐。
Stars: ✭ 72 (+176.92%)
Mutual labels:  shadowsocks
VPN
Personal vpn using v2ray and shadowsocks hosted on heroku
Stars: ✭ 154 (+492.31%)
Mutual labels:  shadowsocks
shadowsocks-libev
Bug-fix-only libev port of shadowsocks. Future development moved to shadowsocks-rust
Stars: ✭ 14,930 (+57323.08%)
Mutual labels:  shadowsocks
centos7-shadowsock
No description or website provided.
Stars: ✭ 19 (-26.92%)
Mutual labels:  shadowsocks
shadowrocket
A socks5 proxy to build your own shadowsocks private network. PHP based & Composer supported.
Stars: ✭ 23 (-11.54%)
Mutual labels:  shadowsocks
gost
GO Simple Tunnel - a simple tunnel written in golang
Stars: ✭ 154 (+492.31%)
Mutual labels:  shadowsocks
ss-v2ray-docker
Deprecated: please use https://hub.docker.com/r/mazy/ss-xray
Stars: ✭ 28 (+7.69%)
Mutual labels:  shadowsocks
shadowsocks erlite3
Shadowsocks for EdgeRouter Lite3
Stars: ✭ 22 (-15.38%)
Mutual labels:  shadowsocks
groups for netpatch firewall
IP and Domain Groups for Netpatch Firewall
Stars: ✭ 20 (-23.08%)
Mutual labels:  shadowsocks
shadowsocks-java
A Java port of shadowsocks
Stars: ✭ 31 (+19.23%)
Mutual labels:  shadowsocks
brook-ok
brook程序服务端配置程序,一键搭建brook / Shadowsocks / Socks5服务用于科学上网🔥 新增Socks5服务!!Firefox、Chrome可通过SwitchyOmega代理直接翻墙
Stars: ✭ 55 (+111.54%)
Mutual labels:  shadowsocks
overthefirewall
覆盖全平台完全免费节点订阅机场推荐破解VPN软件分享
Stars: ✭ 1,042 (+3907.69%)
Mutual labels:  shadowsocks
shadowsocks-perl
An asynchronous, non-blocking shadowsocks client and server written in Perl.
Stars: ✭ 37 (+42.31%)
Mutual labels:  shadowsocks
ssmgr-deploy
shadowsocks面板节点一键脚本,libev最新版
Stars: ✭ 17 (-34.62%)
Mutual labels:  shadowsocks
docker-ss-tproxy
ss-redir 全局透明代理 (REDIRECT + TPROXY)
Stars: ✭ 35 (+34.62%)
Mutual labels:  shadowsocks
SSServerDeviceLimit
可以让Shadowsocks服务器限制某个端口的设备连接数,防止有人恶意分享ss账号
Stars: ✭ 18 (-30.77%)
Mutual labels:  shadowsocks
mieru
見える是一款 socks5 网络代理(科学上网)工具。Mieru is a socks5 proxy to bypass censorship.
Stars: ✭ 63 (+142.31%)
Mutual labels:  shadowsocks
GeoIP2-CN
小巧精悍、准确、实用 GeoIP2 数据库
Stars: ✭ 3,965 (+15150%)
Mutual labels:  shadowsocks

fast-shadowsocks

新功能

  • 快速传输协议:特性参见dearplain/penet
  • http代理
  • 增加加密方式(aes-128-gcm, aes-192-gcm, aes-256-gcm, chacha20-ietf-poly1305)

速度测试

kcptun

参数: client_windows_amd64 -r "xxxx:2001" -l ":8388" -mode fast3 -nocomp -autoexpire 900 -sockbuf 16777217 -dscp 46

kcptun

fast-shadowsocks

fast-shadowsocks

shadowsocks-go

Current version: 1.1.4 Build Status

shadowsocks-go is a lightweight tunnel proxy which can help you get through firewalls. It is a port of shadowsocks.

The protocol is compatible with the origin shadowsocks (if both have been upgraded to the latest version).

Note server_password option syntax changed in 0.6.2, the client now connects to servers in the order specified in the config.

Please develop on the latest develop branch if you want to send pull request.

Install

Compiled client binaries can be download here. (All compiled with cgo disabled, except the mac version.)

You can also install from source (assume you have go installed):

# on server
go get github.com/shadowsocks/shadowsocks-go/cmd/shadowsocks-server
# on client
go get github.com/shadowsocks/shadowsocks-go/cmd/shadowsocks-local

It's recommended to disable cgo when compiling shadowsocks-go. This will prevent the go runtime from creating too many threads for dns lookup.

Usage

Both the server and client program will look for config.json in the current directory. You can use -c option to specify another configuration file.

Configuration file is in json format and has the same syntax with shadowsocks-nodejs. You can download the sample config.json, change the following values:

server          your server ip or hostname
server_port     server port
local_port      local socks5 proxy port
method          encryption method, null by default (table), the following methods are supported:
                    aes-128-cfb, aes-192-cfb, aes-256-cfb, bf-cfb, cast5-cfb, des-cfb, rc4-md5, chacha20, salsa20, rc4, table
password        a password used to encrypt transfer
timeout         server option, in seconds

Run shadowsocks-server on your server. To run it in the background, run shadowsocks-server > log &.

On client, run shadowsocks-local. Change proxy settings of your browser to

SOCKS5 127.0.0.1:local_port

About encryption methods

AES is recommended for shadowsocks-go. Intel AES Instruction Set will be used if available and can make encryption/decryption very fast. To be more specific, aes-128-cfb is recommended as it is faster and secure enough.

rc4 and table encryption methods are deprecated because they are not secure.

Command line options

Command line options can override settings from configuration files. Use -h option to see all available options.

shadowsocks-local -s server_address -p server_port -k password
    -m aes-128-cfb -c config.json
    -b local_address -l local_port
shadowsocks-server -p server_port -k password
    -m aes-128-cfb -c config.json
    -t timeout

Use -d option to enable debug message.

Use multiple servers on client

server_password    specify multiple server and password, server should be in the form of host:port

Here's a sample configuration client-multi-server.json. Given server_password, client program will ignore server_port, server and password options.

Servers are chosen in the order specified in the config. If a server can't be connected (connection failure), the client will try the next one. (Client will retry failed server with some probability to discover server recovery.)

Multiple users with different passwords on server

The server can support users with different passwords. Each user will be served by a unique port. Use the following options on the server for such setup:

port_password   specify multiple ports and passwords to support multiple users

Here's a sample configuration server-multi-port.json. Given port_password, server program will ignore server_port and password options.

Update port password for a running server

Edit the config file used to start the server, then send SIGHUP to the server process.

Note to OpenVZ users

Use OpenVZ VM that supports vswap. Otherwise, the OS will incorrectly account much more memory than actually used. shadowsocks-go on OpenVZ VM with vswap takes about 3MB memory after startup. (Refer to this issue for more details.)

If vswap is not an option and memory usage is a problem for you, try shadowsocks-libev.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].