Commit Graph
419 Commits
Author SHA1 Message Date
Y. T. Chung dfa1345ac2 Removed deprecated calls of Buf 2018-05-09 00:59:26 +08:00
Y. T. Chung b95e17203b Should not call tokio::spawn before tokio::run 2018-05-08 22:05:31 +08:00
Y. T. Chung 4cd03a4317 Migrated to tokio-signal v0.2, reformatted 2018-05-08 21:12:56 +08:00
Y. T. Chung fabcb05783 Migrating to tokio, #100 2018-05-01 05:14:25 +08:00
Y. T. Chung dc72c93813 Add #102 link in README 2018-04-27 22:16:40 +08:00
Y. T. Chung 34313e6202 Updated deps, optimize err log 2018-03-04 01:43:23 +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 2018-01-20 20:47:06 +08:00
Y. T. Chung 5c89e61a2e Reformatted with new rustfmt 2018-01-20 01:10:16 +08:00
quininer 32d5a2d9e9 update dependencies (#91)
update dependencies and fix #90
2018-01-08 21:44:35 +08:00
Y. T. Chung b42fbad1ad [#88] Prints peer addr while failing to handshake 2017-12-06 09:15:04 +08:00
Y. T. Chung ac8de69b04 Guarded AEAD packet maximum length, v1.6.10 2017-12-02 22:55:03 +08:00
Y. T. Chung da3e850e4a Bump version to v1.6.9, updated dependencies 2017-11-26 18:35:00 +08:00
BenYip 67284fce18 fix increase_nonce (#84) 2017-11-24 15:23:16 +08:00
quininer dc8f7e2832 Add experimental SIV support (#81)
* add optional miscreant support

* add miscreant test

* fix miscreant version

* update README

+ add `aes-128-pmac-siv`, `aes-256-pmac-siv`
+ remove `aes-192-gcm`
2017-11-01 16:23:36 +08:00
quininer 47551d832a Fix a typo (#80) 2017-11-01 15:44:54 +08:00
Y. T. Chung 0c495c9e36 Properly split 2017-10-29 18:17:09 +08:00
Y. T. Chung 7802f08d04 Remove unnecessary to_string 2017-10-29 18:14:32 +08:00
Y. T. Chung 833f31442d let sslocal supports ssurl 2017-10-29 18:07:57 +08:00
Y. T. Chung 6f9f272700 Optimize logging in DNS resolving and connecting 2017-10-19 23:51:38 +08:00
Y. T. Chung 1efffaf8d0 Remove unused LOCAL_ADDR, LOCAL_PORT for ssserver 2017-10-17 21:10:03 +08:00
Y. T. Chung 289cbf6722 Lower log level for connecting, fixed #75 2017-10-15 22:43:04 +08:00
Y. T. Chung 2a5d2edcb3 Optimized DNS resolving logic 2017-10-15 22:31:41 +08:00
Y. T. Chung 2a42daff64 Fixed warning, removed unused mut 2017-10-15 13:24:10 +08:00
Y. T. Chung a70ce43b03 Optimized server ip resolving error messages 2017-10-14 10:03:38 +08:00
Y. T. Chung 1e6b2e60bc Fixed bug, filter return false will be filtered, updated error messages 2017-10-12 09:05:09 +08:00
Simon Shi 3b09d7633d Debian package fixes (#73)
* General cleanup & Refine Makefile

* Add sysinit & systemd file

* refine readme

* Bump deb version
Use `dch -i` for this work.

* Fix dependency

* Unnecessary postrm

* Add missing arguments
2017-10-12 02:00:46 +08:00
Y. T. Chung 132aaf3ac3 Removed DNS local cache, uses CpuPool with system DNS resolver 2017-10-12 01:57:12 +08:00
Y. T. Chung 884fd8fc8b Moe exit message 2017-10-09 19:55:47 +08:00
依云 0b89960f1f exit with 0 on SIGTERM / SIGINT (#71)
so that the manager / supervisor knows that we're exiting successfully.
2017-10-09 14:31:17 +08:00
Y. T. Chung 25090ee1b6 Lower log level 2017-10-09 09:33:59 +08:00
Y. T. Chung 03cf77cf76 Fixed monitor on Windows 2017-10-09 01:46:59 +08:00
Y. T. Chung 91ec4cdbd5 Allow building without libsodium 2017-10-09 01:24:41 +08:00
Y. T. Chung 262b22bfbb Exit normally with properly exit code, handles events in Windows.
* Also fixed [#70]
2017-10-09 00:51:19 +08:00
Y. T. Chung d6f4932cf9 Allow logging without time, enable LTO 2017-10-07 22:55:00 +08:00
Y. T. Chung ad924db56b Removed aes-128-ctr and updated Makefile
* aes128ctr has been deprecated in libsodium 1.0.15
2017-10-04 04:23:35 +08:00
Y. T. Chung 89adb72b97 Updated README 2017-09-08 09:20:59 +08:00
Y. T. Chung a6bbe2dd05 bump to v1.6.5, rename chacha20-ietf-poly1305
* fixed #65
2017-08-31 23:52:13 +08:00
Y. T. Chung 7ee4356948 Bump to v1.6.4, add missing sodium_init() call 2017-08-31 22:10:05 +08:00
Y. T. Chung ff58d06e99 bump version to v1.6.3, uses faster nonce increment 2017-08-31 21:49:24 +08:00
Y. T. Chung fe07ff33d8 [#61] Add support of chacha20-ietf cipher
Removed sodiumoxide, use self contained libsodium-ffi
2017-08-31 00:40:34 +08:00
Y. T. Chung 56a30cbe61 Fixed warnings in Windows 2017-08-30 00:48:27 +08:00
Y. T. Chung d1bc1a5713 Removed unused dependencies and upgrade others 2017-08-30 00:07:21 +08:00
Y. T. Chung dd848401ab Completely rewrite UDP associate 2017-08-29 23:50:10 +08:00
Y. T. Chung a1d605b8e2 Improved log, prints in ns 2017-08-19 14:21:39 +08:00
Y. T. Chung 7074d6bebc uses bytestring to print salt 2017-08-19 14:00:38 +08:00
Y. T. Chung b6c5b0474d Abort plugin if specific signal received 2017-07-29 12:20:26 +08:00
Y. T. Chung 5663623f59 Abort process if plugin failed to start 2017-07-26 02:36:38 +08:00
Y. T. Chung 42e29972a4 Uses a more acceptable rustfmt style config 2017-07-26 00:44:16 +08:00