Commit Graph

2509 Commits

Author SHA1 Message Date
zonyitoo
bc8cfeeda7 fix: TABLE is only enabled for feature="stream-cipher" v1.20.0 2024-06-14 23:27:20 +08:00
zonyitoo
b5f3065f3d fix: TABLE cipher doesn't need to make a derived key
- fix #887
- Reference Implemetation: shadowsocks-libev, shadowsocks (Python)
  5ff4f27b74/src/encrypt.c (L1395-L1399)
2024-06-14 23:24:35 +08:00
ty
fd723259d9 feat: enable ppc64el, s390x on snap 2024-06-13 13:36:52 +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 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
ty
a3a29695d9 fix: android build warning 2024-06-12 13:44:16 +08:00
ty
d71c5d3b86 feat: check online-config response status code 2024-06-12 12:52:39 +08:00
ty
aa0e40155d chore: clippy fix 2024-06-12 10:07:51 +08:00
ty
e2d4826186 feat: remove unnecessary clone 2024-06-12 09:56:58 +08:00
zonyitoo
cc0e4e804a fix(local-online-build): fix online_config missing in default build 2024-06-12 02:20:15 +08:00
zonyitoo
3b7ca91d24 fix(local): windows build 2024-06-12 02:17:38 +08:00
zonyitoo
27f35076d1 fix(local-online-build): fixed build with default features 2024-06-12 02:14:40 +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
e981e7eaaf fix: parse_ipnet enabled for local-fake-dns (#1558) 2024-06-11 23:28:08 +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
v1.19.3
2024-06-10 22:17:08 +08:00
zonyitoo
6c9505c126 release v1.19.3 2024-06-10 21:23:46 +08:00
ty
cd537e942d feat: online-config only limits total request timeout: 30s 2024-06-10 00:39:45 +08:00
ty
27c207ec4d chore: charset is predefined in mime 2024-06-08 22:04:59 +08:00
ty
d07ea6f52e feat: parse content-type with \"mime\" 2024-06-08 22:04:06 +08:00
ty
1e68e2cda2 chore: reqwest::Error print with Debug 2024-06-08 21:47:35 +08:00
ty
be3a5b990a feat: enable reqwest hickory-resolver 2024-06-08 21:41:49 +08:00
ty
f7c9bd53ba fix: dns-over-h3 moved to full-extra, experimental feature 2024-06-08 12:32:34 +08:00
ty
98013d7746 fix: wrong compression name, should be brotli 2024-06-08 12:29:13 +08:00
ty
7e272f6604 feat: online-config set http User-Agent and timeouts 2024-06-08 12:27:32 +08:00
ty
c637d87f65 fix: sled disable compression with zstd 2024-06-08 12:18:15 +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
v1.19.2
2024-06-01 23:53:43 +08:00
zonyitoo
d8191ecf4a fix(local-tun): Linux already has IFF_NO_PI, macOS already set route 2024-06-01 23:09:17 +08:00
zonyitoo
0e78262356 release v1.19.1 v1.19.1 2024-06-01 22:42:17 +08:00
zonyitoo
94c097196e fix(local-tun): Linux tun_config.platform_config 2024-06-01 19:22:13 +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
zonyitoo
57a41a7cb4 fix(local-redir): FreeBSD code cleanup, macOS calls pf natlook 2024-06-01 11:44:59 +08:00
Justin W Smith
2acbaed13b Support cross build with aws-lc-rs 2024-06-01 10:20:29 +08:00
zonyitoo
7de93f78d6 fix(local-fake-dns): Response Message Header get more fields from Request (#1539) 2024-05-27 23:56:59 +08:00
zonyitoo
ad372ec2e6 fix(local-fake-dns): Response message includes the original Query (#1539) 2024-05-27 23:45:11 +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
410dc0ac36 chore: fake-dns configuration helper in README 2024-05-26 10:35:40 +08:00
zonyitoo
600a1d8315 fix: snap build on armhf requires cmake, bindgen, clang 2024-05-26 03:57:51 +08:00
zonyitoo
2b7a20cda1 fix: snap doesnt need protobuf 2024-05-26 03:27:36 +08:00
zonyitoo
22a41d0224 fix: Docker build upgrade to alpine 3.20
- Removed armv7, arm-linux-gnueabihf, windows-gnu in default build
v1.19.0
2024-05-26 03:07:07 +08:00
zonyitoo
d586741c8a fix: fixed bindgen running in old base images
chore: windows-gnu cross build working now
2024-05-26 01:50:19 +08:00
zonyitoo
ab48626382 fix: cargo index fetch bug
- ref: https://github.com/rust-lang/cargo/issues/10303
2024-05-26 00:44:33 +08:00
zonyitoo
7f908c9dd8 fix: add missing cargo in apt-get 2024-05-26 00:36:43 +08:00
zonyitoo
f11484830f fix: pre-build is in [build] section 2024-05-26 00:32:58 +08:00
zonyitoo
7c13e8a913 fix: aws-lc requires bindgen-cli 2024-05-26 00:28:06 +08:00