Commit Graph
933 Commits
Author SHA1 Message Date
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 73a03b663e [#236] Check-in Cargo.lock for reproducible builds 2020-05-05 09:48:54 +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
Y. T. CHUNG f1bb7c5341 Update default features 2020-04-15 14:35:28 +08:00
Love4Taylor 9f54705473 Update Makefile 2020-04-12 13:06:55 +08:00
zonyitoo a1b584ea98 Master is now v1.8.11
Fixed README example for tunnel and redir
2020-04-11 22:52:08 +08:00
zonyitoo b6f744d5a8 Keep-Alive header is only works in hop v1.8.10 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 f6882c273b Indicates glibc version 2020-04-08 00:26:14 +08:00
zonyitoo 15c9ddae49 Uses vendored openssl 2020-04-07 21:59:24 +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 39a373f3a2 Download prebuilt openssl works anyway 2020-03-29 01:02:49 +08:00
zonyitoo a98ad3ac42 Prints log in shadowsocks crate only by default 2020-03-29 01:01:52 +08:00
zonyitoo 7fcc952923 Use globally installed libsodium and openssl 2020-03-28 21:10:48 +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 1138226419 Enable redir via build.rs 2020-03-28 01:36:00 +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