Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sun8911879/shadowsocksr
ShadowsocksR(SSR) for Go library
https://github.com/sun8911879/shadowsocksr
go go-library golang-library shadowsocks shadowsocksr ss ssr
Last synced: 5 days ago
JSON representation
ShadowsocksR(SSR) for Go library
- Host: GitHub
- URL: https://github.com/sun8911879/shadowsocksr
- Owner: sun8911879
- License: mit
- Created: 2018-02-28T09:19:18.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-21T03:12:18.000Z (over 4 years ago)
- Last Synced: 2025-01-06T14:17:50.399Z (5 days ago)
- Topics: go, go-library, golang-library, shadowsocks, shadowsocksr, ss, ssr
- Language: Go
- Homepage:
- Size: 31.3 KB
- Stars: 279
- Watchers: 15
- Forks: 92
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-network-stuff - **209**星
README
# shadowsocksR
[shadowsocksR](https://github.com/sun8911879/shadowsocksR) is a shadowsocksR for Go library
* shadowsocksR is based on [avege](https://github.com/avege/avege) and [shadowsocksR for Python](https://github.com/shadowsocksr-backup/shadowsocksr) changes.
* Repair avege SSR communication BUG and streamline version. Is a normal use version.#### Use
```go
bi := &BackendInfo{
Address: "www.domain.com:445",
Type: "ssr",
SSInfo: SSInfo{
EncryptMethod: "aes-128-cfb",
EncryptPassword: "password",
SSRInfo: SSRInfo{
Protocol: "auth_aes128_sha1",
ProtocolParam: "",
Obfs: "tls1.2_ticket_auth",
ObfsParam: "",
},
},
}
dst, err := bi.DialSSRConn(rawaddr)
bi.Pipe(src, dst)
bi.Pipe(dst, src)
```See 'example/client.go' for detailed usage.
#### SS Encrypting algorithm
* aes-128-cfb
* aes-192-cfb
* aes-256-cfb
* aes-128-ctr
* aes-192-ctr
* aes-256-ctr
* aes-128-ofb
* aes-192-ofb
* aes-256-ofb
* des-cfb
* bf-cfb
* cast5-cfb
* rc4-md5
* chacha20
* chacha20-ietf
* salsa20
* camellia-128-cfb
* camellia-192-cfb
* camellia-256-cfb
* idea-cfb
* rc2-cfb
* seed-cfb#### SSR Obfs
* plain
* http_simple
* http_post
* random_head
* tls1.2_ticket_auth#### SSR Protocol
* origin
* verify_sha1 aka. one time auth(OTA)
* auth_sha1_v4
* auth_aes128_md5
* auth_aes128_sha1## Todo (help wanted)
* Optimize performance
### Thanks avege project
* [avege](https://github.com/avege/avege)### Reference
* [avege](https://github.com/avege/avege)
* [shadowsocks-go](https://github.com/shadowsocks/shadowsocks-go)
* [go-shadowsocks2](https://github.com/shadowsocks/go-shadowsocks2)
* [ShadowsocksR](https://github.com/shadowsocksr-backup/shadowsocksr)