Commit Graph
1794 Commits
Author SHA1 Message Date
zonyitoo a2cf3cae92 updated dependencies 2022-03-26 23:51:04 +08:00
zonyitoo 00c7d3f0aa automatically bump RLIMIT_NOFILE on Unix (except Android)
- https://github.com/golang/go/issues/46279
- http://0pointer.net/blog/file-descriptor-limits.html

The I/O runtime, Tokio and Mio, in this Project won't use select(2), so
it is safe to bump the RLIMIT_NOFILE soft limit to hard limit
automatically.
2022-03-26 23:48:21 +08:00
zonyitoo 4785d17c3f release v1.14.2 v1.14.2 2022-03-22 22:40:19 +08:00
zonyitoo f3d76c37e1 missing socks5_auth when local-socks4 is disabled
fixes #791
2022-03-21 09:43:10 +08:00
zonyitoo 24ab2ca426 updated dependencies 2022-03-20 22:10:34 +08:00
zonyitoo 7a22f8d582 create Task for every local/server instances
- making good use of multicore runtime
2022-03-20 22:09:53 +08:00
zonyitoo 62bf462dec add document about socks5_auth_config_path 2022-03-16 23:38:45 +08:00
zonyitoo 65a5f73620 renamed Password auth request to shorter name 2022-03-16 23:33:40 +08:00
zonyitoo 5f3b50e7e3 shadowsocks-service requires socks5 U/W protocol define 2022-03-16 16:01:28 +08:00
zonyitoo 6bf2a439c8 SOCKS5 RFC1929 Username/Password Authentication (#788) 2022-03-16 15:57:47 +08:00
zonyitoo a9215fbd02 HKDF-SHA1 uses ring implementation, reusing AEAD cipher instance
- RustCrypto/ring-compat#79
- Upgraded other dependencies
2022-03-13 10:51:25 +08:00
zonyitoo ebb509ddf9 TryFrom is already pre-included in edition 2021 v1.14.1 2022-03-08 10:57:41 +08:00
zonyitoo e5ac4946eb remove dry-run when publishing 2022-03-08 10:51:45 +08:00
zonyitoo a17eab7205 release v1.14.1 2022-03-08 10:46:57 +08:00
zonyitoo 4b22d82694 shadowsocks, shadowsocks-service upgrade to edition 2021
probably ref #780
2022-03-08 10:44:22 +08:00
zonyitoo 403dd27eca shadowsocks/shadowsocks-crypto#14 sha1-asm only enabled for linux &
macos on aarch64
2022-03-08 09:34:38 +08:00
zonyitoo f240662d12 enable strip=symbols, 1.59 is already released 2022-03-07 15:28:10 +08:00
zonyitoo 5a7105f55f release v1.14.0 v1.14.0 2022-03-07 10:25:33 +08:00
zonyitoo 94d44064a0 updated dependencies 2022-03-07 10:13:29 +08:00
zonyitoo 2d81724881 UDP association consts should be defined in crate::net
fixes #779
2022-03-06 21:42:24 +08:00
zonyitoo c878566937 UDP association removed unnecessary keep-alive task
OPTIMIZATION: lower memory consumption and no atomic operations required
2022-03-05 08:26:18 +08:00
zonyitoo 2bc0bcc321 UDP associations' send channel size 100K
NOTE: This value is tested with iperf3 locally running 6.40Gbps bitrates
and keeping lost rate lower than 5.0%.
2022-03-05 00:56:03 +08:00
zonyitoo c2c405c340 constants should be defined with const 2022-03-05 00:39:02 +08:00
zonyitoo 445e306aa9 UDP associations manager removes unnecessary blocking calls
- removes Mutex on manager's association map
- avoids send-back keep-alive events piling up in queue
2022-03-05 00:32:29 +08:00
zonyitoo e32b8dc823 Record::rdata replaced with Record::data 2022-03-01 00:21:53 +08:00
dependabot[bot] 77d3f7c29c Bump trust-dns-resolver from 0.20.4 to 0.21.1
Bumps [trust-dns-resolver](https://github.com/bluejekyll/trust-dns) from 0.20.4 to 0.21.1.
- [Release notes](https://github.com/bluejekyll/trust-dns/releases)
- [Changelog](https://github.com/bluejekyll/trust-dns/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bluejekyll/trust-dns/compare/v0.20.4...v0.21.1)

---
updated-dependencies:
- dependency-name: trust-dns-resolver
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 00:03:21 +08:00
dependabot[bot] 8cef7efd23 Bump trust-dns-proto from 0.20.4 to 0.21.1
Bumps [trust-dns-proto](https://github.com/bluejekyll/trust-dns) from 0.20.4 to 0.21.1.
- [Release notes](https://github.com/bluejekyll/trust-dns/releases)
- [Changelog](https://github.com/bluejekyll/trust-dns/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bluejekyll/trust-dns/compare/v0.20.4...v0.21.1)

---
updated-dependencies:
- dependency-name: trust-dns-proto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 23:21:33 +08:00
zonyitoo 21008accff SS_SYSTEM_DNS_RESOLVER_FORCE_BUILTIN
- ref #773
v1.13.5
2022-02-25 22:03:34 +08:00
zonyitoo 3e58abd96b release v1.13.4 v1.13.4 2022-02-25 14:48:03 +08:00
zonyitoo f13ccf15c2 updated dependencies 2022-02-25 14:37:58 +08:00
zonyitoo 9050d726de customizing "system" DNS server with config key "dns" 2022-02-25 14:31:42 +08:00
John 12eadcdd39 remove deprecated code for clap 3.1.0 (#774) 2022-02-25 10:46:18 +08:00
dependabot[bot] 2c85eef518 Bump clap from 3.0.14 to 3.1.0 (#772)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 22:09:59 +08:00
zonyitoo 66e192e894 fix(ssservice): fixed command line option when running as symlink of ssserver/ssmanager 2022-02-21 22:02:02 +08:00
zonyitoo 120737e63e release v1.13.3 v1.13.3 2022-02-20 17:12:24 +08:00
zonyitoo 5ffab23b72 fixed regression, rc4-md5 cipher IV length should be 16
- ref shadowsocks/shadowsocks-crypto#12
2022-02-16 00:52:23 +08:00
zonyitoo e3c1da15e3 regression: server-host option for ssmanager
- fixes #767
- introduced since v1.13.0
2022-02-14 16:55:24 +08:00
zonyitoo e94681773d depending on new version ensuring the outbound-user-cookie option 2022-02-13 10:14:16 +08:00
zonyitoo a2ad0c3d2d release v1.13.2 v1.13.2 2022-02-13 09:59:02 +08:00
zonyitoo 46934f5675 fixed regression of client blocking ACL strategy
- fixes #764
- bug introduced since v1.9.0
2022-02-11 01:05:51 +08:00
Mike Borsetti c3a801a6e1 Update broken url in --help (#765) 2022-02-11 00:51:18 +08:00
zonyitoo 0e0edda77b support SO_USER_COOKIE on FreeBSD 2022-02-09 02:59:26 +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 45acb87f78 updated dependencies, #760 2022-02-09 01:38:13 +08:00
zonyitoo ab1ba43a7b check waker before take (mem::replace) 2022-02-05 23:29:07 +08:00
zonyitoo caafcbcc7c make packet queue unbound, wake loop thread when buffer is full/empty 2022-02-05 12:07:11 +08:00
zonyitoo 95674f2160 manager thread wakeup atomically with park() 2022-02-04 02:39:19 +08:00
zonyitoo 6cb5ab3b99 TcpConnection::poll_read pcb guarded by spinlock 2022-02-04 02:20:10 +08:00
zonyitoo dc0de88c44 VirtDevice::poll manager without lock 2022-02-04 01:34:11 +08:00
zonyitoo 2e9fc33389 VirtDevice::poll mutex unlocked by cond 2022-02-03 23:11:31 +08:00