Commit Graph
981 Commits
Author SHA1 Message Date
Aaron Chen 918730497f update links 2024-07-06 11:12:23 +08:00
zonyitoo 6345c0dcf1 feat(server): tokio v1.38 stablized RuntimeMetrics::num_workers 2024-06-13 00:00:05 +08:00
ty aa0e40155d chore: clippy fix 2024-06-12 10:07:51 +08:00
zonyitoo 3b7ca91d24 fix(local): windows build 2024-06-12 02:17:38 +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
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 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
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
zonyitoo f3c9ecd2b3 chore: reformatted with nightlly rustc 2024-05-18 23:52:08 +08:00
zonyitoo 7aed79b201 fix: service_config warning ignored (#1529) 2024-05-18 20:54:53 +08:00
zonyitoo 60b1ecd4e9 feat(local): online_config handled only in binary 2024-05-13 23:28:42 +08:00
ty 62867b3f3e chore: suppress warnings 2024-05-13 14:43:05 +08:00
ty 562e3deb1d feat(local): check integrity for online config 2024-05-13 10:12:12 +08:00
zonyitoo 222adb38b3 fix(local): reverted wrong assumption 2024-05-12 19:01:39 +08:00
zonyitoo 1a6335c861 fix(local): online_config checked only when feature enabled 2024-05-12 18:56:49 +08:00
zonyitoo 200463dcd2 feat(local): load servers from remote before running 2024-05-12 18:44:52 +08:00
zonyitoo ffa8054de8 fix(local): fixed windows build 2024-05-12 18:09:57 +08: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 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
Liu Dongmiao fc7d88c65e add command argument --plugin-mode, should close #1495 2024-04-26 15:09:02 +08:00
zonyitoo f8410cc329 chore: reformatted with nightlly rustc 2024-04-14 22:08:08 +08:00
stormynoct a5d71a28b9 Fix load balancer to add per server fwmark for outbound traffic 2024-04-14 22:03:12 +08:00
zonyitoo 355bd8a5c3 feat(local): basic implementation of fake-dns 2024-03-31 03:15:05 +08:00
zonyitoo da9927ce1d feat: disable ansi if stdout is not terminal 2024-02-16 16:03:32 +08:00
zonyitoo 1033df0ed4 feat: remove logging ascii escape color 2024-02-16 15:37:37 +08:00
zonyitoo 186c0883e7 feat: IsTerminal in std since v1.70 2024-02-16 15:16:38 +08:00
zonyitoo 5ced7d184e reformatted 2024-02-16 10:51:03 +08:00
zonyitoo 08386d982f updated log4rs deprecation message 2024-02-16 10:43:18 +08:00
zonyitoo bde0d05858 feat: default logger changed to tracing-subscriber
Older version was using log4rs as logging subscriber, which doesn't
support tracing outputs.
2024-02-16 10:40:07 +08:00
zonyitoo 65eb758ad4 feat: support tracing in default logging output (console)
Some depended libraries supports "tracing" structured logs, for example:
tokio, hickory-dns. They don't use "log" framework to emit logs, so
log4rs won't be able to receive those debugging informations.

Current implementation rely on a tracing subscriber called trace4rs,
which has mostly the same configuration interface like log4rs, but still
missing many features comparing with log4rs.
2024-02-08 02:29:15 +08:00
zonyitoo a82911c8bd chore: more clippy checked suggestions 2024-02-01 21:59:06 +08:00
zonyitoo 609de80b47 chore: make clippy happy 2024-02-01 21:48:23 +08:00
zonyitoo 7736b01431 feat(local): local-tun ignore non-unicast packets 2023-10-18 21:31:56 +08:00
zonyitoo ce344c613b fix(shadowsocks): run_as_user abort if error occurs (#1328) 2023-10-18 21:17:42 +08:00
zonyitoo 268e520a72 feat(sswinservice): Running ssservice as a Windows Service
ref #1292

https://learn.microsoft.com/en-us/windows/win32/services/about-services
2023-09-19 00:29:35 +08:00
zonyitoo a359a84892 make clippy happy 2023-07-19 00:45:35 +08:00
Tim Xylon 535ee0b37f Add "dns-cache-size" command-line option 2023-06-27 13:22:55 +08:00
Tim Xylon 0234a4a571 Remove derivable implementation 2023-06-26 23:59:11 +08:00
zonyitoo 7c5d3cb9c6 Updated config URL in help message, fix #1214 2023-06-17 00:21:34 +08:00
Kirill Fertikov 67232c3010 Added configs for snap daemons (#1204) 2023-06-14 20:45:10 +08:00
zonyitoo c4cec6d8b1 feat(local): Local server builder pattern 2023-05-05 03:25:12 +08:00
zonyitoo c9c59f9664 feat(plugin): Support SIP003u, Plugin UDP mode
- ref shadowsocks/shadowsocks-org#180
- "plugin_mode" option in configuration file, and ssmanager API
- "plugin_mode" is "tcp_only" by default
- ref shadowsocks/shadowsocks-rust#1127
2023-04-15 18:30:22 +08:00
zonyitoo 2dff4ec4da trust-dns setsockopt with outbound socket configs
Outbound configurations, like outbound-fwmark, outbound-bind-interface,
         outbound-bind-addr, ... will also applies to the TCP/UDP
         sockets created by trust-dns DNS resolver.

NOTE: On Android platform, DNS sockets will also be protected.
2023-04-15 17:28:15 +08:00
zonyitoo 7d7fb195f5 feat(mptcp): Basic implementation of Multipath-TCP
- Currently support macOS (Client Only) and Linux (> 5.19)
  - ref #1156
2023-04-05 23:19:50 +08:00