Commit Graph
578 Commits
Author SHA1 Message Date
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
Y. T. Chung 8f69141b33 Call tokio::run from the outermost, allow test to run tokio runtime in multiple threads 2018-05-18 23:21:30 +08:00
Y. T. Chung 8f4ba32b58 Updated join_all in DNS relay, enable backtrace in appveyor 2018-05-18 22:32:57 +08:00
Y. T. Chung b7b0c59322 Plugin must be sendable 2018-05-18 22:12:52 +08:00
Y. T. Chung d5ff24cd93 Updated appveyor openssl version 2018-05-18 21:34:17 +08:00
Y. T. Chung 3055aab518 Replaced join_all with futures_unordered 2018-05-18 19:14:57 +08:00
Y. T. Chung 1e6bc3ba76 Optimize server listening logic, join_all v1.7.0-alpha.6 2018-05-17 20:57:22 +08:00
Y. T. Chung b4f44f4850 Fixed bug, should not return error if peer_addr() failed, #106 2018-05-17 20:48:13 +08:00
Y. T. Chung 212735450a Fixed bug, UDP relay must be started before plugin v1.7.0-alpha.5 2018-05-17 01:40:53 +08:00
Y. T. CHUNG 8be6da51f3 Migrate tokio and uses new features (#108)
* Add #102 link in README

* Migrating to tokio, #100

* Migrated to tokio-signal v0.2, reformatted

* Should not call tokio::spawn before tokio::run

* Build nightly and stable with different image tag

* Removed unnecessary rustup install

* Renamed version to v1.7.0-alpha

* Removed deprecated calls of Buf

* Updated dependencies

* [#106] Fixed bug, should not hold UDP connections forever

* Lower info log to debug

* Bump version to v1.7.0-alpha.2

* Implement a simple DNS relay server, bump version to v1.7.0-alpha.3

* Better logging

* Fixed build on travis

* Add elapsed time in log

* Should not exit if handler return error

* reformatted

* Add test for DNS

* Updated ssdns param

* Use `trust-dns` and impl Trait
1. Replaced `ToSocketAddrs` with `trust-dns`
2. Uses impl Trait for functions
3. Updated dependencies
4. Fixed bugs

* Bug fixed, logging crate in ssdns
2018-05-16 00:03:50 +08:00
6r0k b37103deed 修改README配置示例错误 (#101) 2018-04-02 20:57:33 +08:00
Y. T. Chung 948da8eac3 Removed unnecessary update 2018-03-04 05:51:51 +08:00
Y. T. Chung 34313e6202 Updated deps, optimize err log 2018-03-04 01:43:23 +08:00
Y. T. Chung eb6c080dca [#94] Properly show how to use make to install, updated dependencies 2018-02-12 22:56:10 +08:00
Y. T. Chung 4b05a6661e Bump version to v1.6.12 v1.6.12 2018-02-10 23:31:59 +08:00
Y. T. Chung 9b3764ed6f [#96] Do not panic if peer_addr() failed after accept 2018-02-02 22:40:45 +08:00
Y. T. Chung 804eb63759 ssurl should generate proper url for qrcode 2018-01-30 01:43:20 +08:00
Y. T. Chung 154ec5d172 Updated to v1.6.11 v1.6.11 2018-01-20 20:47:06 +08:00