Commit Graph

176 Commits

Author SHA1 Message Date
zonyitoo
59e80ff1fe move Dockerfile to workspace root 2022-06-29 01:36:34 +08:00
zonyitoo
64ad58bd61 switch user with -a, docker adds entrypoint script, #876 2022-06-29 00:31:57 +08:00
zonyitoo
ac225f0f36 EXPERIMENTAL: AEAD-2022 Extensible Identity Headers
- https://github.com/Shadowsocks-NET/shadowsocks-specs/blob/main/2022-2-shadowsocks-2022-extensible-identity-headers.md

This is an experimental feature, which may be change in the future.

Supported methods: 2022-blake3-aes-128-gcm, 2022-blake3-aes-256-gcm
2022-06-20 16:30:05 +08:00
Kaiyuan Li
946bfdd7c1 Add instructions for Homebrew 2022-06-05 10:32:17 +08:00
zonyitoo
81c3fbe60e add stargazers 2022-05-16 13:55:44 +08:00
zonyitoo
f5c7956904 check REQUEST_SALT only when read() returns non-EOF 2022-05-15 13:23:29 +08:00
zonyitoo
a2bcd6987c add support aead-2022 in Notes 2022-05-12 15:53:32 +08:00
zonyitoo
9d50c2d7c2 AEAD-2022 (SIP022) pre-release 2022-05-08 21:12:15 +08:00
zonyitoo
238b8f4f2d NixOS (nixpkg) release reference
- Thanks @marsam (https://github.com/marsam)
2022-05-08 15:07:40 +08:00
zonyitoo
c9fa0ab3b9 fixed archlinux-cn badges 2022-05-07 18:46:27 +08:00
NeverBehave
0f8ebecd7d fix(docs): JSON config usage update 2022-05-04 07:18:14 +08:00
zonyitoo
3b3dcac2d1 aead-cipher-2022-extra: supporting chacha8-poly1305 non-standard cipher 2022-04-22 16:25:57 +08:00
ty
7c154d2340 AEAD-2022 ciphers (new protocol) (#811) 2022-04-19 11:48:43 +08:00
zonyitoo
62bf462dec add document about socks5_auth_config_path 2022-03-16 23:38:45 +08:00
zonyitoo
6bf2a439c8 SOCKS5 RFC1929 Username/Password Authentication (#788) 2022-03-16 15:57:47 +08:00
zonyitoo
21008accff SS_SYSTEM_DNS_RESOLVER_FORCE_BUILTIN
- ref #773
2022-02-25 22:03:34 +08:00
zonyitoo
9050d726de customizing "system" DNS server with config key "dns" 2022-02-25 14:31:42 +08:00
zonyitoo
0d7927891c add badge link for AUR shadowsocks-rust
- https://aur.archlinux.org/packages/shadowsocks-rust
2022-02-09 01:55:40 +08:00
zonyitoo
78e0e0e243 Build with stable Rust.
- #750 introduced strip=true, but it can only be used in >= 1.59
2022-01-27 21:52:26 +08:00
zonyitoo
7db23b38f4 local-tun also obey "mode" configuration 2022-01-16 04:24:51 +08:00
longkai
5228ef339a chore(k8s): change default image to ghcr latest
also:

- remove the unrecognized nameserver and timeout field
- server address default to "::"
2022-01-10 12:28:47 +08:00
longkai
e269bcb0e6 feat(deploy): support k8s deployment (#739)
- helm chart
- kubectl with raw manifest which generated via helm
- update README
2022-01-09 23:43:47 +08:00
zonyitoo
a10681175a check best server individually configured with check_best_interval
- ref #706
2022-01-08 20:34:08 +08:00
ty
d90fb8a906 "log" and "runtime" specific options configurable in file (#702) 2021-11-28 14:49:53 +08:00
zonyitoo
17d8475ceb support ipv6_only socket option (IPV6_V6ONLY)
This is useful for creating multiple local / server instances listening
on both `::` and `0.0.0.0` with the same port.`

Listener sockets (both TCP and UDP) in redir local is now
IPV6_V6ONLY=1 because transparent proxies couldn't handle V4 and V6
packets simultaneously properly.
2021-11-27 15:10:07 +08:00
zonyitoo
74e8a4f8f5 Reading password from environment variable or TTY
- servers creating from command line options would use TTY,
SS_SERVER_PASSWORD and SS_SERVER_${SERVER_ADDR}_PASSWORD environment
variables
- servers in configuration file "password" would allow ${VAR_NAME} to
read from environment variable VAR_NAME

fixes #419
2021-11-25 17:19:16 +08:00
zonyitoo
aaac00f208 SS_LOG_VERBOSE_LEVEL and SS_LOG_WITHOUT_TIME environment variable
ref #691
2021-11-25 16:15:49 +08:00
zonyitoo
fa3a2a83d2 default configuration file (config.json) for Windows, Linux, macOS
- $XDG_CONFIG_PATH/shadowsocks-rust/config.json
- $HOME/.config/shadowsocks-rust/config.json
- {FOLDERID_RoamingAppData}\shadowsocks\shadowsocks-rust\config\config.json
- $HOME/Library/Application Support/org.shadowsocks.shadowsocks-rust/config.json

fixes #688
2021-11-25 15:14:07 +08:00
Zimo Li
183b4bf0ca Fix spelling (#667)
* spelling: active

* spelling: availability

* spelling: because

* spelling: behavior

* spelling: browsers

* spelling: excessive

* spelling: extended

* spelling: insecure

* spelling: miscellaneous

* *spelling: negotiate

* spelling: particular

* spelling: readiness

* spelling: recommended

* spelling: response

* spelling: respectively

* spelling: reassemble

* spelling: Shadowsocks

* spelling: simultaneously

* spelling: silent

* spelling: stabilized

* spelling: unexpectedly

* *spelling: UNEXPECTEDLY

Co-authored-by: Zimo Li <lzm0@users.noreply.github.com>
2021-11-05 01:17:24 +08:00
zonyitoo
e84c0a6393 reference to showcase projects, #375, #393, #664 2021-11-02 12:53:34 +08:00
zonyitoo
e431722561 configurable balancer max_server_rtt, check_interval 2021-10-04 00:37:15 +08:00
Y0ba
9121583ce6 Use byte regexes to fix compiltation error 2021-09-19 01:08:38 +08:00
Y0ba
afa143db50 Add hashset and domains tree support to ACL rules 2021-09-18 15:22:03 +08:00
DuckSoft
d6616ccb48 rearrange README.md badges (#613)
and add: Snapcraft / archlinuxcn
2021-09-03 20:49:30 +08:00
ty
337ab16adb Local server support Tun interface for both TCP and UDP (#586)
* [POC] basic implementation of TCP redirecting tun (#581)

* [POC] basic implementation of UDP redirection of Tun

* build with action

* add configuration interface for tun

* refine document and command line options

* outbound-bind-addr instead of reusing local_address for outbound sockets

* support customizing udp expiry and capacity

* make clippy happy

* fixed build error for Android

* add docs

* make a customized AsyncFd with the released tun crate

* TUN_INTERFACE_NAME to_owned directly

* ignore accept errors for tcp tun

* tun supports Android only on master branch

* android doesnt support setting IFF_NO_PI

* set route for macos automatically when creating tun

* set route for macos directly with PF_ROUTE

* Linux-like uses ETH_P_IP and ETH_P_IPV6

* use tun on crates.io and ignores Android support temporary

* update dependencies
2021-08-22 04:49:53 +08:00
kallydev
dfe999cb96 Add Docker image usage guide 2021-07-23 12:29:59 +08:00
zonyitoo
13c4fd1633 fix README typo 2021-06-10 11:47:40 +08:00
zonyitoo
df87125212 allow customizing keep-alive seconds on TCP sockets
- ref #490
2021-06-05 18:19:07 +08:00
wyzhou
77714ae90b Update README.md (#545)
fixes tunnel command line example
2021-06-04 21:40:11 +08:00
zonyitoo
bf2f93c43a add guide for checking out the rust-toolchain file 2021-06-04 13:53:08 +08:00
Mygod
e2ac20de66 Update install instructions 2021-06-04 00:23:22 +08:00
zonyitoo
2a5cdb0ec3 separated local configuration 2021-05-21 13:06:47 +08:00
zonyitoo
1fc226594d update README client command line options, fixes #532 2021-05-21 10:14:57 +08:00
zonyitoo
a8a2f0f8bc add local-dns feature in README, fixes #530 2021-05-19 15:31:41 +08:00
zonyitoo
a213db5b3a add release script for nightly builds 2021-05-15 00:54:29 +08:00
zonyitoo
d74e607fba update readme 2021-05-15 00:43:31 +08:00
zonyitoo
7342501a73 compiling with stable rustc is back to TODO
- fixes #512
2021-05-08 17:26:24 +08:00
zonyitoo
e8772950fb allow customizing servers' weight for balancer
- fixes #510
2021-05-07 11:35:35 +08:00
zonyitoo
6c75ce19f4 support snmalloc and rpmalloc 2021-05-07 11:35:35 +08:00
zonyitoo
9977eb724e update README about aead-cipher-extra 2021-04-17 23:42:11 +08:00