90 Commits
Author SHA1 Message Date
Klaaktu e33daa7114 systemd unit improvements (#2187)
* systemd: Use network-online.target for server

Fixes #2186
ss-server needs to wait for the network to be up to be able to bind to non-wildcard IPs. Interface is configured at `network-online.target` but not at `network.target`.

ss-local unit is kept the same, with `After=network.target` for proper ordering at shutdown - unit is stopped before network is shutdown.

* systemd unit: improvements

`exec` is [recommended](https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html#Type=).
Add `NoNewPriviledges` which has been used in [Arch packaging](https://gitlab.archlinux.org/archlinux/packaging/packages/shadowsocks-rust/-/blob/main/shadowsocks-rust-server%40.service?ref_type=heads).
Add `CAP_NET_ADMIN` in ss-local which is needed for TUN mode.
Removed `CAP_NET_BIND_SERVICE` from ss-local. Do you really need to bind to priviledged port in *client*?
Debian unit left un-hardened. I'm not sure why it's different from the other ss-server unit.
2026-09-29 10:03:02 +08:00
ty ab388c7466 chore: release v1.25.0 2026-08-27 02:30:21 +08:00
zonyitoo 7d28db736b feat: bump version v1.25.0
- MSRV upgraded to v1.91, due to smoltcp v0.13.
- Upgrade dependencies
- Add cursor rule orientation
2026-03-23 00:03:27 +08:00
Aaron Chen 46c96ac1fb chore: fix typos 2026-02-09 15:53:16 +08:00
zonyitoo 7ee1aa9223 chore: release v1.24.0 2025-12-11 07:38:59 +08:00
zonyitoo 19aac11049 chore: debian build fixes 2025-09-04 00:33:28 +08:00
zonyitoo 8f9419efa5 chore: release v1.23.5 2025-07-04 22:57:36 +08:00
zonyitoo 76551f56ea chore: release v1.23.4 2025-05-12 23:26:26 +08:00
zonyitoo c9f47c6db3 chore: release v1.23.3 2025-05-11 21:17:55 +08:00
zonyitoo 586154d29a chore: release v1.23.2 2025-04-25 08:17:06 +08:00
zonyitoo 3f95ad9d22 chore: release v1.23.1 2025-04-21 22:25:04 +08:00
zonyitoo 25ce5f2d3e chore: release v1.23.0 2025-03-19 21:37:55 +08:00
zonyitoo 7e059ca6dd chore: updated debian changelog 2025-01-02 22:43:37 +08:00
zonyitoo 72beacc2f4 chore: update debian changelog 2024-10-25 00:41:32 +08:00
zonyitoo 441a82ec59 chore: update debian changelog 2024-10-24 21:18:00 +08:00
mesher2024andmesher2024 ac3dc699c3 debian: fixup debian packaging build scripts (#1722)
* debian: fix up postinst bad substitution

Fix up postinst bad substitution caused by Bash string manipulation in the Dash script.

* debian: update compat file

Fix up the warning caused by compatibility levels before 10 are deprecated.

* debian: replace user nobody in systemd file with dynamicuser

* debian: remove dependency on apg and pwgen in control file

* debian: update shadowsocks-rust-server@.service

Add `DynamicUser=yes` in shadowsocks-rust-server@.service

* debian: update shadowsocks-rust-local@.service

Add `DynamicUser=yes` in shadowsocks-rust-local@.service

---------

Co-authored-by: mesher2024 <mesher2024@users.noreply.github.com>
2024-10-21 10:02:33 +08:00
Marek Küthe f64d745aae Remove dependency on pwgen (#1702)
Fixes https://github.com/shadowsocks/shadowsocks-rust/issues/1700

Signed-off-by: Marek Küthe <m.k@mk16.de>
2024-10-04 23:48:41 +08:00
zonyitoo bd4efaaa7d chore: release v1.21.0 2024-09-22 22:39:20 +08:00
zonyitoo c341c89908 chore: release v1.20.4 2024-08-16 00:18:20 +08:00
zonyitoo 87ac73829e feat: release v1.20.3 2024-07-29 01:29:50 +08:00
zonyitoo ab83dbb7db chore: release v1.20.2 2024-07-10 23:26:56 +08:00
zonyitoo 0432d131a3 release v1.20.1 2024-06-20 00:01:58 +08:00
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 a5130caa0f release v1.19.4 2024-06-12 23:37:47 +08:00
zonyitoo 6c9505c126 release v1.19.3 2024-06-10 21:23:46 +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 65eca9c7c6 feat: release v1.19.0 2024-05-25 23:36:38 +08:00
zonyitoo 932a4cfdd8 release v1.18.4 2024-05-11 21:16:11 +08:00
zonyitoo 846752866e release v1.18.3 2024-04-21 21:53:26 +08:00
zonyitoo 920ebb29d5 add missing changelog 2024-03-13 22:41:40 +08:00
zonyitoo e4d4503821 chore: release v1.18.1 2024-02-18 22:07:53 +08:00
zonyitoo 74f8e29719 release v1.18.0 2024-02-08 00:23:25 +08:00
zonyitoo 8ea6fc1940 release v1.17.2 2024-02-01 22:49:29 +08:00
zonyitoo fbc1fd6ad5 release v1.17.1 2023-11-26 23:51:12 +08:00
time-river 280aa869e9 debian: fixup changelog format (#1338) 2023-10-27 22:14:14 +08:00
zonyitoo f1da6d4e72 release v1.17.0 2023-10-15 10:21:41 +08:00
zonyitoo 0c5f693e9a release v1.16.2 2023-09-23 14:41:57 +08:00
zonyitoo 173cc6c858 release v1.16.1 2023-09-01 12:11:26 +08:00
zonyitoo 5f8fd179f1 release v1.16.0 2023-08-27 00:44:22 +08:00
zonyitoo 9767c3b05e release v1.15.3 2023-03-13 00:32:34 +08:00
zonyitoo e5f0ab9518 release v1.15.2 2022-12-24 14:28:36 +08:00
zonyitoo e05ab8adee upgrade Dockerfile and Debian/changelog 2022-12-17 09:48:04 +08:00
zonyitoo cab8d0fa2b chosen 2022-06-24 09:56:38 +08:00
zonyitoo 3331500b6e add Server::create 2022-04-05 01:02:27 +08:00
zonyitoo 4785d17c3f release v1.14.2 2022-03-22 22:40:19 +08:00
zonyitoo a17eab7205 release v1.14.1 2022-03-08 10:46:57 +08:00
zonyitoo 5a7105f55f release v1.14.0 2022-03-07 10:25:33 +08:00
zonyitoo 21008accff SS_SYSTEM_DNS_RESOLVER_FORCE_BUILTIN
- ref #773
2022-02-25 22:03:34 +08:00
zonyitoo 3e58abd96b release v1.13.4 2022-02-25 14:48:03 +08:00