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
Y. T. Chung
59c8fc1d95
Bump version to v1.7.0-alpha.14, updated dependencies
v1.7.0-alpha.14
2018-08-07 09:02:34 +08:00
localhost
38a87c0376
🐛 fix dns resolve error ( #122 )
2018-08-07 08:58:25 +08:00
Y. T. Chung
2f9e937a54
Bump version to v1.7.0-alpha.13, finally trust-dns-resolver has a proper release
v1.7.0-alpha.13
2018-07-31 00:38:07 +08:00
Y. T. Chung
2a688c4b62
Exit gracefully if any servers exited, bump version to v1.7.0-alpha.12
v1.7.0-alpha.12
2018-07-19 09:07:34 +08:00
Y. T. Chung
be3a21dd93
Uses ring 0.13 directly
2018-07-18 22:58:24 +08:00
Y. T. Chung
61db4ab6ef
Bump version to v1.7.0-alpha.11
2018-07-18 22:45:21 +08:00
Y. T. Chung
0ff5c053b1
Kill process if any listener exited
2018-07-18 22:35:06 +08:00
Y. T. Chung
046f5764da
Support timeout config in the outer object as the default timeout
2018-07-18 22:10:31 +08:00
Y. T. Chung
c6380f5343
Find a way to bypass impl Trait build failed
2018-07-14 23:26:52 +08:00
Y. T. Chung
759fe9d3dd
Uses impl Future for dns
2018-07-12 08:35:35 +08:00
Y. T. Chung
908391ca34
Bump version to v1.7.0-alpha.10, updated dependencies
v1.7.0-alpha.10
2018-07-12 01:01:17 +08:00
Y. T. Chung
302b477678
Updated dependencies
2018-06-28 23:29:30 +08:00
Y. T. Chung
03ce21ec01
Updated deps, subprocess impls Send on Windows
2018-06-06 23:01:48 +08:00
Y. T. Chung
6091ad2a2b
Optimized aead encrypt code, uses buffer space directly without copy
v1.7.0-alpha.9
2018-06-03 02:23:27 +08:00
Y. T. Chung
05ab45b6ca
Updated docs
2018-06-03 00:25:14 +08:00
Y. T. Chung
e426ad9a30
Bump version to v1.7.0-alpha.9
2018-06-01 09:04:00 +08:00
Y. T. Chung
ab79b69fdd
Correctify naming of ***IetfPoly1305
2018-06-01 08:58:25 +08:00
Y. T. Chung
f23d35c273
fixed bug, miscreant build
v1.7.0-alpha.8
2018-05-31 23:19:47 +08:00
Y. T. Chung
1c52a4647d
Add missing register in new aead encryptor/decryptor
2018-05-31 22:58:14 +08:00
Y. T. Chung
b9aaadf539
Fixed #113 , implemented xchacha20-ietf-poly1305, updated aead trait by combining tag into input or output buffer
2018-05-31 22:53:51 +08:00
Y. T. Chung
7e5cabf4a9
Build travis with miscreant enabled
2018-05-31 08:01:57 +08:00
Y. T. Chung
16cb100bd8
Travis installs libsodium with apt, test appveyor by preinstalled openssl
2018-05-31 07:53:02 +08:00
Y. T. Chung
4bdb41808d
Test if subprocess Sendable Popen works in win32
2018-05-31 07:41:55 +08:00
Y. T. Chung
d9ba5e8445
Fixed bug, Event on windows will spawn tasks to current executor
2018-05-31 07:33:40 +08:00
Y. T. Chung
584aad21c7
Open logs in appveyor test, set timeouts for udp test
2018-05-31 00:53:53 +08:00
Y. T. Chung
e5cf8907b5
Updated doc tests
v1.7.0-alpha.7
2018-05-30 21:41:25 +08:00
Y. T. Chung
0acdb15029
Upgrade rand to v0.5 and use ThreadRng #111 , updated to support the latest trust-dns AsyncResolver
2018-05-30 20:50:15 +08:00