Releases: shadowsocks/shadowsocks-rust
Releases ยท shadowsocks/shadowsocks-rust
v1.17.0
Features
- Trust-DNS is rebranded to Hickory-DNS https://github.com/hickory-dns/hickory-dns/releases/tag/v0.24.0
- Experimental: Support DNS-over-H3 (Try with configuration
"dns": "google_h3"
and compile with feature"dns-over-h3"
) - #1319 Allow configuring
local-dns
client cache size - Experimental:
local-tun
supports Windows with Wintun
What's Changed
- chore(deps): bump thiserror from 1.0.48 to 1.0.49 by @dependabot in #1313
- chore(deps): bump sysexits from 0.7.2 to 0.7.3 by @dependabot in #1315
- chore(deps): bump clap from 4.4.4 to 4.4.6 by @dependabot in #1314
- bugfix: fix missed client_cache_size config item in SSLocalExtConfig by @chuxi in #1319
- chore(deps): bump sysexits from 0.7.3 to 0.7.4 by @dependabot in #1321
- chore(deps): bump byteorder from 1.4.3 to 1.5.0 by @dependabot in #1320
- chore(deps): bump reqwest from 0.11.20 to 0.11.22 by @dependabot in #1322
Full Changelog: v1.16.2...v1.17.0
v1.16.2
Features
ssurl
: #1287 Support SIP008 linksssserver
: #1293 Disable UDP dual-stack outbound socket when IPv6 is not supportedsswinservice
: #1292 Support Windows Service
What's Changed
- chore(deps): bump sysexits from 0.6.3 to 0.7.1 by @dependabot in #1289
- chore(deps): bump thiserror from 1.0.47 to 1.0.48 by @dependabot in #1288
- ssurl: add support for SIP008 links (ssconf links with ss contents) by @k0tran in #1287
- chore(deps): bump base64 from 0.21.3 to 0.21.4 by @dependabot in #1295
- chore(deps): bump sysexits from 0.7.1 to 0.7.2 by @dependabot in #1296
- chore(deps): bump serde_json from 1.0.105 to 1.0.106 by @dependabot in #1297
- chore(deps): bump bytes from 1.4.0 to 1.5.0 by @dependabot in #1294
- chore(deps): bump serde_json from 1.0.106 to 1.0.107 by @dependabot in #1305
- chore(deps): bump socket2 from 0.5.3 to 0.5.4 by @dependabot in #1304
- chore(deps): bump mimalloc from 0.1.38 to 0.1.39 by @dependabot in #1306
- chore(deps): bump clap from 4.4.2 to 4.4.4 by @dependabot in #1307
- feature: add support to config dns client cache size by @chuxi in #1308
New Contributors
Full Changelog: v1.16.1...v1.16.2
v1.16.1
What's Changed
- chore(deps): bump url from 2.4.0 to 2.4.1 by @dependabot in #1283
- chore(deps): bump nix from 0.26.2 to 0.27.1 by @dependabot in #1284
- [Regression fix] local DNS uses mode
tcp_and_udp
by default by @spyophobia in #1285
Full Changelog: v1.16.0...v1.16.1
v1.16.0
Features
local-redir
: #1159 Linux Redirect (TCP) supports dual-stack listener- #1156 Support Multipath-TCP
- DNS resolver (with
trust-dns
enabled) support outbound socket configurations, likeoutbound-fwmark
,outbound-bind-addr
, ... - #1127 Support SIP003u, UDP plugins
- #1185 Support creating servers with builder pattern to allow users to retrieve the actual listening address of the server listeners
- #1204 Support reading default configuration files
local.json
,server.json
andmanager.json
- #1229 Support configuring DNS cache size with
--dns-cache-size
in command line options anddns_cache_size
in configuration file - #1266 Support Network Adapters'
FriendlyName
on Windows inoutbound_bind_interface
Bug Fixes
- #1239 Fixed misaligned read in shadowsocks' socks5 protocol implementation. It may cause panics compiled by rustc newer than 1.68.
- #1234 PingBalancer shouldn't check TCP mode by default
- #1221 Compatible with Linux Kernels that doesn't support
IP6T_SO_ORIGINAL_DST
- #1254 Fixed Tree-Rule detector for REGEX rules that ends with
$
Miscellaneous
- Docker: #1149 Changed binary path to
/usr/bin
from/usr/local/bin
preventing being overwritten by K8S mount - Snap: Add
network-control
plug fortun
protocol
What's Changed
- Deal with warnings caused by outdated actions in workflows by @zedifen in #1086
- Bump spin from 0.9.5 to 0.9.6 by @dependabot in #1142
- Bump async-trait from 0.1.64 to 0.1.66 by @dependabot in #1129
- Bump daemonize from 0.4.1 to 0.5.0 by @dependabot in #1125
- Bump clap from 4.1.6 to 4.1.8 by @dependabot in #1130
- Bump serde_json from 1.0.93 to 1.0.94 by @dependabot in #1132
- Bump futures from 0.3.26 to 0.3.27 by @dependabot in #1140
- Bump hyper from 0.14.24 to 0.14.25 by @dependabot in #1141
- Revert "Fix UPX compression issue." by @zonyitoo in #1148
- Fix: change binary path in docker image by @just1900 in #1149
- Bump async-trait from 0.1.66 to 0.1.67 by @dependabot in #1155
- Bump thiserror from 1.0.38 to 1.0.40 by @dependabot in #1152
- Bump clap from 4.1.8 to 4.1.11 by @dependabot in #1153
- Bump directories from 4.0.1 to 5.0.0 by @dependabot in #1154
- Bump sysexits from 0.4.1 to 0.5.0 by @dependabot in #1168
- Bump clap from 4.1.11 to 4.2.1 by @dependabot in #1166
- Bump ipnet from 2.7.1 to 2.7.2 by @dependabot in #1163
- Bump spin from 0.9.6 to 0.9.8 by @dependabot in #1164
- Bump windows-sys from 0.45.0 to 0.48.0 by @dependabot in #1167
- Bump tokio-rustls from 0.23.4 to 0.24.0 by @dependabot in #1162
- Bump webpki-roots from 0.22.6 to 0.23.0 by @dependabot in #1169
- feat(mptcp): Basic implementation of Multipath-TCP by @zonyitoo in #1157
- Make udprelay/crypto_io public by @XOR-op in #1172
- Next Release: v1.16 by @zonyitoo in #1139
- Bump directories from 5.0.0 to 5.0.1 by @dependabot in #1184
- Bump xdg from 2.4.1 to 2.5.0 by @dependabot in #1181
- Bump mimalloc from 0.1.36 to 0.1.37 by @dependabot in #1180
- Bump clap from 4.2.2 to 4.2.5 by @dependabot in #1182
- Bump build-time from 0.1.2 to 0.1.3 by @dependabot in #1183
- chore(deps): bump sysexits from 0.5.0 to 0.6.0 by @dependabot in #1192
- Allow creating UDP sockets on iOS by @pinkisemils in #1194
- Update README.md by @NimaQu in #1202
- chore(deps): bump once_cell from 1.17.1 to 1.17.2 by @dependabot in #1208
- chore(deps): bump log from 0.4.17 to 0.4.18 by @dependabot in #1207
- chore(deps): bump clap from 4.2.7 to 4.3.0 by @dependabot in #1199
- chore(deps): bump base64 from 0.21.0 to 0.21.2 by @dependabot in #1206
- Added configs for snap daemons by @fertkir in #1204
- chore(deps): bump idna from 0.3.0 to 0.4.0 by @dependabot in #1212
- chore(deps): bump clap from 4.3.3 to 4.3.4 by @dependabot in #1228
- chore(deps): bump rustls-native-certs from 0.6.2 to 0.6.3 by @dependabot in #1227
- chore(deps): bump serde_json from 1.0.96 to 1.0.97 by @dependabot in #1225
- chore(deps): bump aes from 0.8.2 to 0.8.3 by @dependabot in #1224
- chore(deps): bump notify from 6.0.0 to 6.0.1 by @dependabot in #1226
- Make clippy happier by @zedifen in #1230
- chore(deps): bump serde_json from 1.0.97 to 1.0.99 by @dependabot in #1231
- chore(deps): bump clap from 4.3.4 to 4.3.8 by @dependabot in #1232
- chore(deps): bump sysexits from 0.6.0 to 0.6.1 by @dependabot in #1233
- Add command-line option "dns-cache-size" for trust-dns by @zedifen in #1229
- chore(deps): bump async-trait from 0.1.68 to 0.1.69 by @dependabot in #1238
- chore(deps): bump pin-project from 1.1.1 to 1.1.2 by @dependabot in #1237
- chore(deps): bump smoltcp from 0.9.1 to 0.10.0 by @dependabot in #1236
- Add IPv6 warning for docker by @ShrirajHegde in #1241
- chore(deps): bump blake3 from 1.4.0 to 1.4.1 by @dependabot in #1248
- chore(deps): bump clap from 4.3.10 to 4.3.11 by @dependabot in #1244
- chore(deps): bump serde_json from 1.0.99 to 1.0.100 by @dependabot in #1246
- chore(deps): bump thiserror from 1.0.40 to 1.0.43 by @dependabot in #1247
- chore(deps): bump async-trait from 0.1.69 to 0.1.71 by @dependabot in #1245
- chore(deps): bump webpki-roots from 0.23.1 to 0.24.0 by @dependabot in #1243
- chore(deps): bump serde_json from 1.0.100 to 1.0.103 by @dependabot in #1249
- chore(deps): bump clap from 4.3.11 to 4.3.12 by @dependabot in #1250
- chore(deps): bump xdg from 2.5.0 to 2.5.2 by @dependabot in #1252
- bugfix: acl rule pattern match error for tree rule by @chuxi in #1254
- add HowTo install via snap by @dafanasiev in #1255
- chore(deps): bump serde_json from 1.0.103 to 1.0.104 by @dependabot in #1257
- chore(deps): bump jemallocator from 0.5.0 to 0.5.4 by @dependabot in #1258
- chore(deps): bump webpki-roots from 0.25.1 to 0.25.2 by @dependabot in #1270
- chore(deps): bump sysexits from 0.6.2 to 0.6.3 by @dependabot in #1271
- chore(deps): bump async-trait from 0.1.72 to 0.1.73 by @dependabot in #1272
- chore(deps): bump clap from 4.3.19 to 4.3.21 by @dependabot in #1274
- chore(deps): bump log from 0.4.19 to 0.4.20 by @dependabot in #1273
New Contributors
- @just1900 made their first contribution in #1149
- @XOR-op made their first contribution in #1172
- @pinkisemils made their first contribution in https://gi...
v1.15.4
v1.15.3
Features
- local-tun: Support
tun_interface_destination
for configuring Tun device's destination address - Support
outbound_fwmark
,outbound_user_cookie
,outbound_bind_interface
andoutbound_bind_addr
in configuration file
Bug Fixed
- local-tun: #1138 Fixed TCP state management (Suggest ALL users to update)
- local-redir: #988 UDP compatible with Linux < 2.6.37 (without
IPV6_TRANSPARENT
) - manager: #1101 Set missing
ipv6_first
for servers
Miscellaneous
- Snap: #1088 Disable Snap daemon by default
What's Changed
- Bump clap from 4.0.29 to 4.0.32 by @dependabot in #1068
- Bump num_cpus from 1.14.0 to 1.15.0 by @dependabot in #1069
- Bump once_cell from 1.16.0 to 1.17.0 by @dependabot in #1072
- Bump arc-swap from 1.5.1 to 1.6.0 by @dependabot in #1074
- Bump sysexits from 0.3.4 to 0.4.0 by @dependabot in #1073
- bugfix: salt recheck will cause duplicated iv/salt error by @chuxi in #1082
- Bump ipnet from 2.7.0 to 2.7.1 by @dependabot in #1080
- Bump mimalloc from 0.1.32 to 0.1.34 by @dependabot in #1079
- Bump base64 from 0.13.1 to 0.21.0 by @dependabot in #1081
- #1088 disable snap daemons by default by @fertkir in #1090
- Bump clap from 4.0.32 to 4.1.1 by @dependabot in #1091
- Bump nix from 0.26.1 to 0.26.2 by @dependabot in #1098
- Bump async-trait from 0.1.61 to 0.1.63 by @dependabot in #1097
- Bump windows-sys from 0.42.0 to 0.45.0 by @dependabot in #1096
- Enable tun destination configuration by @BranLiang in #1099
- Bump notify from 5.0.0 to 5.1.0 by @dependabot in #1103
- โ config: deny unknown fields by @database64128 in #1106
- Revert "โ config: deny unknown fields" by @zonyitoo in #1108
- Bump spin from 0.9.4 to 0.9.5 by @dependabot in #1116
- Bump tokio-native-tls from 0.3.0 to 0.3.1 by @dependabot in #1114
- Bump serde_json from 1.0.92 to 1.0.93 by @dependabot in #1115
- Bump smoltcp from 0.8.2 to 0.9.1 by @dependabot in #1117
- Fix UPX compression issue. by @riKirsti in #1123
- macOS fix netmask API by @BranLiang in #1118
- Update docker base image by @vndroid in #1135
New Contributors
- @fertkir made their first contribution in #1090
- @BranLiang made their first contribution in #1099
Full Changelog: v1.15.2...v1.15.3
v1.15.2
Bug Fixes
- #1060 ACL supports checking IPv4-mapped-IPv6 addresses with IPv4 rules
Miscellaneous
- Code style and potential bug fixes with clippy check
What's Changed
- Bump async-trait from 0.1.59 to 0.1.60 by @dependabot in #1059
- Bump thiserror from 1.0.37 to 1.0.38 by @dependabot in #1058
- Bump serde_json from 1.0.89 to 1.0.91 by @dependabot in #1057
Full Changelog: v1.15.1...v1.15.2
v1.15.1
v1.15.0
NOTE: In the next release (v1.16.0), prebuilt binaries will only contain ssservice
.
Features
- #811 AEAD-2022 protocol (SIP022)
- WARN: This is still a draft protocol, use it at your own risk.
- SIP002 Extended Format: Allowing unencoded user-info in URL, shadowsocks/shadowsocks-org#27 (comment)
- #810 Manager standalone mode support bypassing ACL files
- #818 Allow
sslocal
run without anyservers
, which will bypass all connections and packets - #838
"password"
is optional fornone
/plain
method - redir-local: Enable dual-stack support on Linux (TProxy) and FreeBSD
- Disable
md5-asm
andsha1-asm
: shadowsocks/shadowsocks-crypto#16 "acl"
and"outbound_fwmark"
are available in configuration file
Miscellaneous
- shadowsocks/shadowsocks-org#204 Remove
security-iv-printable-prefix
experimental feature - Upgrade clap to v4.0.
- UDP association channel size shrinked to 1024, which could save a lot of memory for each associations
Enhancements
- #855 Properly handle IPv4-mapped-IPv6 addresses in UDP assocations
ssserver
always convert IPv4-mapped-IPv6 addresses to IPv4 in UDP respond target addressessslocal
tun
,socks5
always convert IPv4-mapped-IPv6 addresses to IPv4redir
always use IPv6 sockets for sending back packets
What's Changed
- AEAD-2022 ciphers (new protocol) by @zonyitoo in #811
- Bump nix from 0.23.1 to 0.24.1 by @dependabot in #817
- Update build-release.yml to add popular armv7 build targets by @xiazuojie in #821
- Bump mimalloc from 0.1.28 to 0.1.29 by @dependabot in #825
- Bump thiserror from 1.0.30 to 1.0.31 by @dependabot in #826
- Bump notify from 5.0.0-pre.14 to 5.0.0-pre.15 by @dependabot in #827
- Bump serde_json from 1.0.79 to 1.0.80 by @dependabot in #828
- Bump clap from 3.1.12 to 3.1.14 by @dependabot in #829
- fix(docs): JSON config usage update by @NeverBehave in #831
- Bump clap from 3.1.14 to 3.1.15 by @dependabot in #833
- Bump serde_json from 1.0.79 to 1.0.81 by @dependabot in #832
- Bump smoltcp from 0.8.0 to 0.8.1 by @dependabot in #840
- update: remove rnd from security-iv-printable-prefix feature by @chuxi in #844
- Bump hyper from 0.14.18 to 0.14.19 by @dependabot in #851
- Bump jemallocator from 0.3.2 to 0.5.0 by @dependabot in #852
- Bump once_cell from 1.11.0 to 1.12.0 by @dependabot in #853
- Add instructions for Homebrew by @CourierKyn in #857
- Bump async-trait from 0.1.53 to 0.1.56 by @dependabot in #859
- Bump snmalloc-rs from 0.2.28 to 0.3.0 by @dependabot in #858
- Change the return type of the
main
function by @sorairolake in #865 - Bump snmalloc-rs from 0.3.0 to 0.3.1 by @dependabot in #867
sslocal
,ssservice
,ssmanager
return non-zero exit codes when failing to launch by @spyophobia in #874- UDP relay ไผ ่พๆง่ฝ้็ๅ้้็ๅขๅ ๆ้ไธ้ by @wangjian1009 in #877
- Minor update by @vndroid in #878
- Revert "UDP relay ไผ ่พๆง่ฝ้็ๅ้้็ๅขๅ ๆ้ไธ้" by @zonyitoo in #879
- Bump serde_json from 1.0.81 to 1.0.82 by @dependabot in #880
- Bump clap from 3.2.7 to 3.2.8 by @dependabot in #881
- Bump sendfd from 0.4.1 to 0.4.3 by @dependabot in #882
- Bump pin-project from 1.0.10 to 1.0.11 by @dependabot in #883
- Bump once_cell from 1.12.0 to 1.12.1 by @dependabot in #884
- Bump once_cell from 1.12.1 to 1.13.0 by @dependabot in #885
- Update broken Wiki/documentation URLs by @ValdikSS in #889
- Fix typo in file 'dns_resolver.rs'. by @oing9179 in #894
- Bump nix from 0.24.1 to 0.24.2 by @dependabot in #902
- Bump etherparse from 0.10.1 to 0.11.0 by @dependabot in #901
- Bump rpassword from 6.0.1 to 7.0.0 by @dependabot in #900
- Bump etherparse from 0.11.0 to 0.12.0 by @dependabot in #906
- Bump bytes from 1.2.0 to 1.2.1 by @dependabot in #910
- Bump arc-swap from 1.5.0 to 1.5.1 by @dependabot in #911
- Bump async-trait from 0.1.56 to 0.1.57 by @dependabot in #912
- Bump clap from 3.2.14 to 3.2.16 by @dependabot in #913
- Bump nix from 0.24.2 to 0.25.0 by @dependabot in #921
- Bump serde_json from 1.0.83 to 1.0.85 by @dependabot in #925
- Helm: add service annotations by @LvLs9 in #932
- Bump thiserror from 1.0.33 to 1.0.34 by @dependabot in #935
- Bump trust-dns-proto from 0.21.2 to 0.22.0 by @dependabot in #936
- Bump trust-dns-resolver from 0.21.2 to 0.22.0 by @dependabot in #937
- ๐ฎ Remove
security-iv-printable-prefix
feature by @database64128 in #940 - Bump idna from 0.2.3 to 0.3.0 by @dependabot in #941
- Bump env_logger from 0.9.0 to 0.9.1 by @dependabot in #945
- Bump clap from 3.2.20 to 3.2.22 by @dependabot in #944
- Bump thiserror from 1.0.34 to 1.0.35 by @dependabot in #943
- Bump sysexits from 0.3.1 to 0.3.2 by @dependabot in #942
- Bump webpki-roots from 0.22.4 to 0.22.5 by @dependabot in #952
- Bump once_cell from 1.14.0 to 1.15.0 by @dependabot in #951
- Bump thiserror from 1.0.35 to 1.0.36 by @dependabot in #950
- fix a typo in 'configs/genipset.py' by @lwintermelon in #956
- Bump thiserror from 1.0.36 to 1.0.37 by @dependabot in #960
- Bump windows-sys from 0.36.1 to 0.42.0 by @dependabot in #959
- Bump clap from 4.0.10 to 4.0.11 by @dependabot in #965
- Bump serde_json from 1.0.85 to 1.0.86 by @dependabot in #966
- Bump mimalloc from 0.1.29 to 0.1.30 by @dependabot in #973
- Bump log4rs from 1.1.1 to 1.2.0 by @dependabot in #974
- Bump clap from 4.0.11 to 4.0.15 by @dependabot in #975
- fix(ssurl): use
percent_decode_str
foruserinfo
encoded data by @RAX7 in #985 - Implemented poll_* family functions on UDP ProxySocket by @ibigbug in #987
- Update shadowsocks-rust.rb by @robberphex in #992
- Bump nix from 0.25.0 to 0.26.1 by @dependabot in #1035
- Bump env_logger from 0.9.3 to 0.10.0 by @dependabot in #1018
- Bump webpki-roots from 0.22.5 to 0.22.6 by @dependabot in #1049
- Bump ipnet from 2.6.0 to 2.7.0 by @dependabot in #1048
New Contributors
- @xiazuojie made their first contribution in #821
- @NeverBehave made their first contribution in #831
- @chuxi made their first contribution in https:/...
v1.15.0-alpha.9
Features
- redir-local: Enable dual-stack support on Linux (TProxy) and FreeBSD
Miscellaneous
- shadowsocks/shadowsocks-org#204 Remove
security-iv-printable-prefix
experimental feature - Upgrade clap to v4.0.
What's Changed
- Bump etherparse from 0.11.0 to 0.12.0 by @dependabot in #906
- Bump bytes from 1.2.0 to 1.2.1 by @dependabot in #910
- Bump arc-swap from 1.5.0 to 1.5.1 by @dependabot in #911
- Bump async-trait from 0.1.56 to 0.1.57 by @dependabot in #912
- Bump clap from 3.2.14 to 3.2.16 by @dependabot in #913
- Bump nix from 0.24.2 to 0.25.0 by @dependabot in #921
- Bump serde_json from 1.0.83 to 1.0.85 by @dependabot in #925
- Helm: add service annotations by @LvLs9 in #932
- Bump thiserror from 1.0.33 to 1.0.34 by @dependabot in #935
- Bump trust-dns-proto from 0.21.2 to 0.22.0 by @dependabot in #936
- Bump trust-dns-resolver from 0.21.2 to 0.22.0 by @dependabot in #937
- ๐ฎ Remove
security-iv-printable-prefix
feature by @database64128 in #940 - Bump idna from 0.2.3 to 0.3.0 by @dependabot in #941
- Bump env_logger from 0.9.0 to 0.9.1 by @dependabot in #945
- Bump clap from 3.2.20 to 3.2.22 by @dependabot in #944
- Bump thiserror from 1.0.34 to 1.0.35 by @dependabot in #943
- Bump sysexits from 0.3.1 to 0.3.2 by @dependabot in #942
- Bump webpki-roots from 0.22.4 to 0.22.5 by @dependabot in #952
- Bump once_cell from 1.14.0 to 1.15.0 by @dependabot in #951
- Bump thiserror from 1.0.35 to 1.0.36 by @dependabot in #950
- fix a typo in 'configs/genipset.py' by @lwintermelon in #956
- Bump thiserror from 1.0.36 to 1.0.37 by @dependabot in #960
- Bump windows-sys from 0.36.1 to 0.42.0 by @dependabot in #959
New Contributors
- @LvLs9 made their first contribution in #932
- @lwintermelon made their first contribution in #956
Full Changelog: v1.15.0-alpha.8...v1.15.0-alpha.9