Commit Graph
753 Commits
Author SHA1 Message Date
zonyitoo b5f3065f3d fix: TABLE cipher doesn't need to make a derived key
- fix #887
- Reference Implemetation: shadowsocks-libev, shadowsocks (Python)
  https://github.com/shadowsocks/shadowsocks-libev/blob/5ff4f27b74be9f390e639b960a6ec8baafc1e850/src/encrypt.c#L1395-L1399
2024-06-14 23:24:35 +08:00
zonyitoo 6345c0dcf1 feat(server): tokio v1.38 stablized RuntimeMetrics::num_workers 2024-06-13 00:00:05 +08:00
zonyitoo a5130caa0f release v1.19.4 2024-06-12 23:37:47 +08:00
zonyitoo f43c823881 feat(local-online-config): enable compression 2024-06-12 22:48:50 +08:00
zonyitoo 87c1557fda feat(local-online-config): refactored with local-http client
- removed dependency to reqwest (very large)
- apply outbound configurations on sockets
- fixed #1508
2024-06-12 02:08:47 +08:00
zonyitoo a77f0cb317 fix: local-fake-dns deps add ipnet (#1557) 2024-06-11 22:32:43 +08:00
dependabot[bot] 0f4fe14599 chore(deps): bump idna from 0.5.0 to 1.0.0 (#1556) 2024-06-10 15:04:37 +00:00
dependabot[bot] dfef28645e chore(deps): bump sysexits from 0.7.14 to 0.8.0 (#1555) 2024-06-10 14:47:31 +00:00
zonyitoo 1acfa1355a retag v1.19.3, fix i686 build
- ref seanmonstar/httparse#165
2024-06-10 22:17:08 +08:00
zonyitoo 6c9505c126 release v1.19.3 2024-06-10 21:23:46 +08:00
ty d07ea6f52e feat: parse content-type with \"mime\" 2024-06-08 22:04:06 +08:00
ty be3a5b990a feat: enable reqwest hickory-resolver 2024-06-08 21:41:49 +08:00
ty 7e272f6604 feat: online-config set http User-Agent and timeouts 2024-06-08 12:27:32 +08:00
zonyitoo 84eab9e082 fix(local-tun): tun2 already handles IP packet information
- Removed all excessive IP packet information handling code
- Removed all route setting code
2024-06-01 23:53:43 +08:00
zonyitoo 0e78262356 release v1.19.1 2024-06-01 22:42:17 +08:00
zonyitoo 99f1f92608 feat(snap): enable build for s390x, ppc64el 2024-06-01 19:17:30 +08:00
zonyitoo 94115393df feat(local-tun): changed dependency from tun to tun2
tun (rust-tun) author was lost contact for a long time. Changed to
another actively maintained fork: tun2.

- fixes #1546, removed dependency of ioctl-sys
2024-06-01 19:15:12 +08:00
zonyitoo 0fc35d99ec fix: rollback rustls to v0.22
rustls v0.23 starts to use aws-lc as the default crypto implementation.
But now not all the dependencies are upgraded to the latest rustls. If
there are still any older version of rustls exists in the build process,
aws-lc may fails.

- ref aws/aws-lc-rs#428
- ref aws/aws-lc-rs#427
- ref aws/aws-lc-rs#426
2024-06-01 18:11:16 +08:00
dependabot[bot] 1ec906a03d chore(deps): bump etherparse from 0.14.3 to 0.15.0 (#1541) 2024-05-27 15:14:37 +00:00
zonyitoo 65eca9c7c6 feat: release v1.19.0 2024-05-25 23:36:38 +08:00
zonyitoo c4b8fdd4f0 feat(local-fake-dns): removed deps to prost, use bson 2024-05-25 00:00:43 +08:00
zonyitoo ba8e07e769 feat: local-tun compilable for not-supported platforms
- Prepare for v1.19.0 release. Upgraded MSRV to 1.74
- "default" build feature now contains only basic shadowsocks features
  (BREAKING)
- Add "full" build feature for all suggested features
- Add "full-extra" build feature for including *-extra features
2024-05-24 23:13:14 +08:00
dependabot[bot] 2e3de0fb28 chore(deps): bump prost from 0.12.4 to 0.12.6 (#1533) 2024-05-20 15:09:31 +00:00
dependabot[bot] 989a5ccef0 chore(deps): bump mimalloc from 0.1.41 to 0.1.42 (#1532) 2024-05-20 14:51:53 +00:00
dependabot[bot] bf241ef193 chore(deps): bump sysexits from 0.7.13 to 0.7.14 (#1534) 2024-05-20 14:39:42 +00:00
dependabot[bot] c0e21e86c7 chore(deps): bump thiserror from 1.0.60 to 1.0.61 (#1535) 2024-05-20 14:27:24 +00:00
zonyitoo bb337834e3 feat(local): Support SIP008 online configuration
- https://shadowsocks.org/doc/sip008.html
- fix #302
- ref #1287
2024-05-12 18:02:30 +08:00
zonyitoo 3dcadae8a2 update dependencies 2024-05-12 11:03:10 +08:00
zonyitoo 932a4cfdd8 release v1.18.4 2024-05-11 21:16:11 +08:00
zonyitoo 5c7668e0c4 chore: update dependencies 2024-05-05 14:08:30 +08:00
zonyitoo 6689e05e20 fix: local-dns UDP remote implements AEAD-2022 protocol properly
- Supports UDP control data properly
- fix #1516
2024-04-30 23:50:21 +08:00
zonyitoo 4c32dcff46 update dependencies 2024-04-27 00:53:46 +08:00
Hillwood Yang ec75237290 fix: fix CVE-2024-32650
Rustls is a modern TLS library written in Rust.
`rustls::ConnectionCommon::complete_io` could fall into an infinite loop based
on network input. When using a blocking rustls server, if a client send a
`close_notify` message immediately after `client_hello`, the server's
`complete_io` will get in an infinite loop. This vulnerability is fixed in
0.23.5, 0.22.4, and 0.21.11.
2024-04-22 22:23:52 +08:00
zonyitoo 846752866e release v1.18.3 2024-04-21 21:53:26 +08:00
zonyitoo a40257c245 fix: aws-lc-rs v1.7.0 supports x86_64-pc-windows-gnu 2024-04-19 02:56:16 +08:00
zonyitoo 9f1f3018cf fix: remove unnecessary deps on aws-lc 2024-04-19 02:13:02 +08:00
dependabot[bot] ff01e901cf chore(deps): bump hyper from 1.2.0 to 1.3.1
Bumps [hyper](https://github.com/hyperium/hyper) from 1.2.0 to 1.3.1.
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v1.2.0...v1.3.1)

---
updated-dependencies:
- dependency-name: hyper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-16 21:30:37 +08:00
dependabot[bot] 4fea256210 chore(deps): bump tokio-rustls from 0.25.0 to 0.26.0
Bumps [tokio-rustls](https://github.com/rustls/tokio-rustls) from 0.25.0 to 0.26.0.
- [Release notes](https://github.com/rustls/tokio-rustls/releases)
- [Commits](https://github.com/rustls/tokio-rustls/compare/v/0.25.0...v/0.26.0)

---
updated-dependencies:
- dependency-name: tokio-rustls
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-16 21:30:22 +08:00
dependabot[bot] e6fc7cd98f chore(deps): bump time from 0.3.34 to 0.3.36 (#1505) 2024-04-16 13:18:25 +00:00
dependabot[bot] 5422657889 chore(deps): bump async-trait from 0.1.79 to 0.1.80 (#1504) 2024-04-16 12:54:43 +00:00
dependabot[bot] fa53ad89d4 chore(deps): bump sysexits from 0.7.11 to 0.7.12 (#1506) 2024-04-16 12:44:11 +00:00
dependabot[bot] b37c6e4dfa chore(deps): bump reqwest from 0.12.2 to 0.12.3 (#1496) 2024-04-08 13:45:12 +00:00
dependabot[bot] 6247f1a7a8 chore(deps): bump prost-build from 0.11.9 to 0.12.4 (#1489) 2024-04-06 17:28:59 +00:00
dependabot[bot] d42c1005fa chore(deps): bump prost from 0.11.9 to 0.12.4 (#1488) 2024-04-06 17:18:47 +00:00
dependabot[bot] 77180fc6cb chore(deps): bump etherparse from 0.14.2 to 0.14.3 (#1485) 2024-04-06 17:08:52 +00:00
zonyitoo 355bd8a5c3 feat(local): basic implementation of fake-dns 2024-03-31 03:15:05 +08:00
dependabot[bot] be77407bbd chore(deps): bump bytes from 1.5.0 to 1.6.0 (#1476) 2024-03-28 17:04:50 +00:00
dependabot[bot] 479fd993c6 chore(deps): bump arc-swap from 1.7.0 to 1.7.1 (#1478) 2024-03-28 16:49:37 +00:00
dependabot[bot] a4fc6db42f chore(deps): bump reqwest from 0.11.26 to 0.12.2 (#1481) 2024-03-28 16:28:13 +00:00
dependabot[bot] df93dd5999 chore(deps): bump async-trait from 0.1.78 to 0.1.79 (#1477) 2024-03-28 16:13:07 +00:00