Commit Graph
709 Commits
Author SHA1 Message Date
Mygod 61d3ebd211 Simplify interface to use Query 2020-05-09 02:48:05 +08:00
zonyitoo 2ea466d3a2 Code formatting 2020-05-08 23:35:54 +08:00
zonyitoo 84db921d34 Uses native certs with rustls 2020-05-08 23:33:28 +08:00
zonyitoo 5c30743fd2 [#240] Wait 10s for plugins to start, keep running if any one not started 2020-05-08 22:54:41 +08:00
Mygod 10e1f86b1f Refine reverse_lookup_cache 2020-05-08 09:36:37 +08:00
zonyitoo ea24418ffc Prints plugin process ID in log 2020-05-07 21:06:21 +08:00
zonyitoo 74d3c61f8e Use "none" as dummy cipher's ID replacing "plain"
ref shadowsocks/shadowsocks-org#161
2020-05-07 19:49:19 +08:00
Max Lv 0b84a85b7a Fix bugs in #235 2020-05-07 19:31:13 +08:00
Max Lv c58b2a58cb Revert "Fix bugs in #235"
This reverts commit 1aa8a0cb57.
2020-05-07 15:04:39 +08:00
Max Lv 9e9e7a2dfc Revert "Revert the compare order in check_ip_in_proxy_list"
This reverts commit ee1fd01698.
2020-05-07 15:04:35 +08:00
Max Lv ee1fd01698 Revert the compare order in check_ip_in_proxy_list 2020-05-07 14:35:32 +08:00
Max Lv e388c354a1 Make clippy happy 2020-05-07 13:43:33 +08:00
Max Lv 1aa8a0cb57 Fix bugs in #235 2020-05-07 13:43:33 +08:00
zonyitoo b6c3fb0bab [#234] Actively wait for plugin subprocesses to exit gracefully 2020-05-07 01:22:46 +08:00
Mygod 87a63a36e5 Refine DNS relay
Add missing cfg

Gate entire mod behind local-dns-relay

Remove unused dns mod
2020-05-06 14:08:06 +08:00
zonyitoo 65b0b6c5cd Uses native-tls for better compatiblity to old TLS version 2020-05-05 23:21:43 +08:00
zonyitoo 59bce61764 [#237] Increase ACL regex size limit to usize::max_value
WARN: This may cause OOM
2020-05-05 21:06:54 +08:00
zonyitoo 67de1242a7 [#234] Send SIGTERM for plugins to exit gracefully 2020-05-05 13:38:35 +08:00
zonyitoo 0f4dae5865 Optimized server exit message 2020-05-05 11:37:05 +08:00
zonyitoo 40c188b565 [#234] Ensure plugin subprocesses are killed when server is exited 2020-05-05 11:20:03 +08:00
zonyitoo 162326bb84 Connecting remote H2 with ALPN negociate 2020-05-04 23:21:35 +08:00
zonyitoo 8b7dbc8a6b Support HTTPS proxy targets with both native and rustls 2020-05-04 20:42:24 +08:00
zonyitoo 45a3469840 [#232] Send data along with header (handshake) 2020-05-03 19:59:52 +08:00
Max Lv a3cbc57813 Clean up 2020-05-02 09:53:51 +08:00
Max Lv 62670b0110 Fix UDP only mode in android build 2020-05-02 09:53:51 +08:00
Max Lv a68a0582f0 Fix #230 2020-05-02 09:53:51 +08:00
Max Lv 32d2450cc8 Fix a warning 2020-05-02 09:53:51 +08:00
Max Lv 7bd130ea16 Clean up 2020-05-02 09:53:51 +08:00
Max Lv 8aa7c7da1b Only enable unix domain DNS resolver on Android 2020-05-02 09:53:51 +08:00
Max Lv 9e6261a47d Enable UnixStream based local DNS resolver 2020-05-02 09:53:51 +08:00
Mygod ae24e389c3 Add Upstream trait (WIP) 2020-05-02 09:53:51 +08:00
zonyitoo b6f744d5a8 Keep-Alive header is only works in hop 2020-04-10 19:39:14 +08:00
zonyitoo 6741389858 Optimize manager command line option help 2020-04-10 00:38:04 +08:00
zonyitoo e529158dd3 ACL and Config loading error fail by panic! 2020-04-10 00:28:20 +08:00
zonyitoo a12c171602 Merged tunnel and redir into local 2020-04-09 23:23:41 +08:00
zonyitoo 7ace411b5b Update OpenSSL to 1.1.1f 2020-04-06 22:39:36 +08:00
zonyitoo b161f4afc6 Optimized basic key derivation memory allocation 2020-04-06 20:51:46 +08:00
zonyitoo f32666241c Uses futures builtin abortable 2020-04-06 15:20:17 +08:00
zonyitoo b45fb08f2f Fixed wrong requires in ssmanager command line defines
fix #224
2020-03-31 09:21:09 +08:00
zonyitoo 66e1b1d510 Fixed bug, uses bypass_rules by default 2020-03-29 22:57:54 +08:00
zonyitoo 1736cee449 Fixed build with local-flow-stat feature 2020-03-29 16:37:25 +08:00
zonyitoo 3cdd215900 Wraps mostly all command line arguments into clap_app! 2020-03-29 16:23:27 +08:00
zonyitoo 0f9838546f Add back log-without-time
ref #223
2020-03-29 09:44:43 +08:00
zonyitoo 1362d6f697 Format with nightly rustfmt 2020-03-29 01:29:14 +08:00
zonyitoo a98ad3ac42 Prints log in shadowsocks crate only by default 2020-03-29 01:01:52 +08:00
zonyitoo 3c2bdd2c9a Fixed bug, rc4 doesn't need IV and should be processed by OpenSSL cipher
ref #222
2020-03-28 02:03:00 +08:00
zonyitoo 715ed90455 Fixed bug, ssserver doesnt have URL 2020-03-28 01:49:17 +08:00
zonyitoo 05b685b7c9 Control redir with feature local-redir 2020-03-28 01:14:03 +08:00
Stzx c391fc0fae Simple parameter configuration replaced with macro expressions 2020-03-27 20:36:46 +08:00
Y. T. CHUNG c96ab84ad2 Revert "Simple parameter configuration replaced with macro expressions"
This reverts commit 4772192a9b.
2020-03-27 19:54:37 +08:00