Commit Graph
622 Commits
Author SHA1 Message Date
zonyitoo a3bcdb7ead Updated dependencies, copy returns WriteZero error when write EOF 2019-04-01 00:36:04 +08:00
zonyitoo dcb7ecca95 Updated build script sodium verison to v1.0.17 2019-02-20 01:32:04 +08:00
zonyitoo 604d070138 Updated dependencies and release v1.7.0 v1.7.0 2019-02-20 01:18:20 +08:00
zonyitoo c2dae9170c Updated debian changelog 2019-02-20 01:15:54 +08:00
zonyitoo aa882d1f70 Release v1.7.0 2019-02-20 00:59:48 +08:00
zonyitoo 5a99c8a5c2 Updated dependencies 2019-02-14 10:19:36 +08:00
zonyitoo acc14d4fc1 Add backtrace in travis 2019-01-31 22:28:23 +08:00
mvd-ows e254078794 Properly display the port bound to (#148) 2019-01-31 22:27:10 +08:00
Linus Färnstrand f62a26fd41 Move logging code into reused module (#144)
* Move logging code into reused module

* Take binary name to logging initialization
2019-01-29 21:54:11 +08:00
Linus Färnstrand 986d48f55b Test on windows (#145)
* Run Travis-CI on Windows

* Add a normal `cargo build` run to travis-ci
2019-01-28 23:56:50 +08:00
Linus Färnstrand 3d25b71a20 Remove extern crate statements (#143) 2019-01-26 00:30:06 +08:00
zonyitoo 7bb73f7828 Travis windows does not have openssl yet 2019-01-25 01:01:41 +08:00
zonyitoo c7bd013beb Can always build with miscreant v1.7.0-alpha.20 2019-01-25 00:51:31 +08:00
zonyitoo 6c7b133db5 Built with miscreant 0.4.2 2019-01-25 00:34:26 +08:00
zonyitoo 6ca7fad076 Updated travis for building with +aes,+ssse3, add multiple os 2019-01-25 00:21:07 +08:00
mvd-ows 36d91c68ae Prepare crate for library use (#139)
* Move all process signal monitoring out of the library

* Run plugins with tokio-process and monitor them for exit
2019-01-25 00:05:55 +08:00
Linus Färnstrand afff1982aa Misc simplification (#142)
* Remove unused addr field in Plugin struct

* Replace many Option matches with Option::map and and_then

* Rustfmt run

* Various changes suggested by clippy
2019-01-24 22:14:48 +08:00
zonyitoo b9911c888a Merged with master 2019-01-21 23:38:16 +08:00
Linus Färnstrand 988a816fa2 Apply cargo fix --edition and upgrade to 2018 (#141)
* Apply cargo fix --edition and upgrade to 2018

* Fix 2018 imports for miscreant
2019-01-21 22:33:40 +08:00
zonyitoo 15b742f4f0 [#139] Make signal monitor optional 2019-01-08 00:38:54 +08:00
zonyitoo 37f2649608 Set keep-alive with config 2019-01-06 16:52:50 +08:00
zonyitoo 592d831391 Optimized error log in local 2019-01-02 01:00:27 +08:00
zonyitoo 552af56f27 Supports -U and -u as libev version 2019-01-01 17:15:25 +08:00
zonyitoo cecc62e4b4 [#85] Supporting shadowsocks-manager reports 2019-01-01 14:56:29 +08:00
zonyitoo db04bdb36d Follows config key no_delay and mode in ss-libev 2019-01-01 02:32:20 +08:00
zonyitoo 09c622ba8e Removed logs that no body cares v1.7.0-alpha.19 2018-12-31 23:36:05 +08:00
zonyitoo 429b7ab653 Bump version to v1.7.0-alpha.19 2018-12-30 16:17:09 +08:00
zonyitoo 5dec63a044 Removed all global state maps, which will allow starting multiple shadowsocks instances in one process 2018-12-30 16:02:52 +08:00
zonyitoo 1e026296ae Add missing skip serialize 2018-12-30 03:43:41 +08:00
zonyitoo 3d9c40ea3d Reformatted 2018-12-30 03:42:51 +08:00
zonyitoo 8edd07c3d1 Merge branch 'feature-hjson' 2018-12-30 03:34:32 +08:00
zonyitoo 876342737e Read config with json5 2018-12-30 03:34:17 +08:00
Linus Färnstrand 92c4058be8 Don't pass around Copy types as references (#131) 2018-12-13 14:54:31 +08:00
Linus Färnstrand 2a2ff35dc2 Fix unused warning, simplify assignment (#130)
* Feature gate libsodium specific constant

* Simplifies assignment by removing one layer of (de)referencing
2018-12-13 14:50:52 +08:00
Linus Färnstrand 1024e6dbd5 Feature gate RC4 cipher (#132)
* Feature gate the RC4 cipher

* Enable RC4 cipher by default
2018-12-13 14:50:09 +08:00
Linus Färnstrand 17be5d4c4d Fix .travis.yml to actually build on beta and nightly (#133) 2018-12-13 14:49:00 +08:00
zonyitoo 5cc2d6d191 Allow redefine build env v1.7.0-alpha.17 2018-11-20 21:11:13 +08:00
zonyitoo 8bedea1316 Removed buggy mingw x86 ci 2018-11-20 10:09:58 +08:00
zonyitoo a1f1fb57b1 bump version to 1.7.0-alpha.17, updated dependencies 2018-11-20 01:04:42 +08:00
zonyitoo 73ea03ba6f Uses trust-dns on crates.io, build spin-rs on stable, fixed #129 2018-11-20 00:37:39 +08:00
zonyitoo 998f7db6c2 Removed unused function 2018-11-14 01:31:21 +08:00
Y. T. Chung 23829543e8 Removed some boxed_future calls 2018-10-01 23:15:11 +08:00
Y. T. Chung c60869aa50 Refactor some boxed futures with impl Trait
- Replaced EncryptedWriterFut and DecryptedReaderFut with impl Trait
- Replaced boxed future in try_timeout and io_timeout with a static type
- Modified rustfmt configuration, fully reformatted
2018-10-01 10:32:04 +08:00
Y. T. Chung e78c5ff6e6 Run trust-dns background resolving Future in current reactor 2018-09-24 19:12:59 +08:00
Y. T. Chung ba2cb079a9 Uses spinlock for resolver config 2018-09-23 23:13:11 +08:00
Y. T. Chung f2b402e126 [#119] Configurable DNS server 2018-09-23 17:43:47 +08:00
Meitian Huang 38b2df66fc Add set_nodelay and set_keepalive (#123)
These additions are similar to those in 271e24d, which were then
removed during the transition to futures and tokio in 5bf6560.
v1.7.0-alpha.15
2018-09-23 10:33:09 +08:00
Y. T. Chung 35c69593d0 Add support of udp_timeout config 2018-09-22 22:25:17 +08:00
Y. T. Chung 171173b32c Replaced deprecated deadline() with timeout() 2018-09-01 01:48:55 +08:00
Y. T. Chung 8caac329b0 Impl trait ICE is fixed, updated dependencies 2018-09-01 01:41:44 +08:00