Commit Graph
664 Commits
Author SHA1 Message Date
zonyitoo 3e2cddb374 Supports UDP tunnel 2019-12-01 20:30:55 +08:00
zonyitoo 6b4be3211f Parse packet in other tokio workers 2019-12-01 19:59:49 +08:00
zonyitoo cdb3210434 UDP relay local implements association properly (#168) 2019-12-01 19:36:10 +08:00
zonyitoo 9b6669d0bd UDP relay server implements association properly (#168) 2019-12-01 17:57:08 +08:00
zonyitoo 3ba4f08260 Version v1.8.0-alpha.1 2019-12-01 13:59:15 +08:00
Y. T. CHUNG a3b33f2614 Migrate to std::future, async/await (#165)
* Socks5 library, main tcp relay implementation migrated with async/await

* UDP relay local migrated to async/await

* UDP relay server migrated to async/await

* Migrated UDP DNS to async/await, follows tokio-process

* Removed unused uses, add dyn keyword for TraitObjects

* [#151] Uses dl.google.com/generate_204 to check connection latency

* Make sslocal/ssserver TCP relay work successfully, disabled UDP and DNS relay temporary

* Handshake before performing actual read & write

* Wraps timeout logic into a Connection<S> struct

* Make UDP relay work again

* Local uses copy directly

* Completely removed unused ssdns

* Fixed test

* Uses tokio::main macro for main entrance

* Fixed a missing use in local.rs

* Updated travis openssl to 1.1.0L

* Windows signal

* Migrated tokio 0.2 release with std::future support

fix #173

* fixed windows monitor build

* Uses tokio on crates.io

* ctrl_c is a Future

* Run tests with single tokio runtime

* Uses spawn_blocking only with threaded runtime

* Killing all detached Tasks if server is exited

* Updated version to v1.8.0

* Removed unused pin-project

* Uses dns resolver built in tokio

* Explicitly uses threaded scheduler by default

* Reverted, it is threaded scheduler by default

* Updated bytes to v0.5

* Updated many dependencies

* Add a tunnel app (#175)

It can be used to benchmark.

Usage:
sstunnel -v -s 127.0.0.1:8488 -m plain -k password -b 127.0.0.1:1090 -f 127.0.0.1:5201

"-f xxx" : the target/forwad address xxx

* Removed unused remote-dns config field (ssdns is removed)

* Separated TCP local tunneling to its own module

* Implements FromStr for Address

* Fixed typo

* Add tunnel unit test

* Updated tokio to v0.2.2, fixed basic scheduler bug

* Removed Connection, uses try_timeout instead. Revert back to use 8K buffer

* Revert "Removed Connection, uses try_timeout instead. Revert back to use 8K buffer"

This reverts commit 82f698e520.

* Uses Delay instead of Timeout

* Delay doesnt return io::Result

* Revert "Delay doesnt return io::Result"

This reverts commit 74dc294d16.

* Fixed bug, Connection timeout should be shared between read & write operations
2019-12-01 12:20:39 +08:00
CoderYellow 39c5446524 Tips for ssdns (#172)
* Update README.md

#171

* Update README.md
2019-11-02 13:46:01 +08:00
zonyitoo 6f4f75466d Make BoxStreamCipher as a Boxed dyn StreamCipher trait object 2019-08-07 01:43:13 +08:00
zonyitoo 283b868135 Fixed build, feature camellia-cfb 2019-08-07 01:16:57 +08:00
zonyitoo 8be3774f61 Not every openssl build has camellia enabled v1.7.2 2019-08-06 23:53:45 +08:00
zonyitoo 7258d70370 Updated libsodium 2019-08-06 23:42:05 +08:00
zonyitoo dff72e8c7f Updated libsodium 2019-08-06 22:15:54 +08:00
zonyitoo c24e063c9e Fixed bug, register aes-192 and camellia-cfb as stream cipher 2019-08-06 21:39:56 +08:00
zonyitoo 9acda94eca Bump version to v1.7.2 2019-08-06 21:33:21 +08:00
zonyitoo d5c68bfad4 Removed load balancing filter by deviation logic 2019-08-06 21:32:00 +08:00
zonyitoo 837a21352c Add aes-192-cfb*, aes-*-ctr and camellia-*-cfb into README 2019-08-06 21:22:54 +08:00
zonyitoo 36bc0bec27 Supports camellia-*-cfb 2019-08-06 21:19:10 +08:00
zonyitoo b6976a2a6b Supports aes-192-cfb and aes-*-ctr (#161) 2019-08-06 20:44:39 +08:00
zonyitoo b126b7b7a5 Skip server if deviation is too large 2019-07-28 04:04:22 +08:00
zonyitoo f45c46e37b Skipped server delay that are not initialized yet 2019-07-28 03:24:16 +08:00
zonyitoo 3bcb17fc68 Merge branch 'master' of github.com:shadowsocks/shadowsocks-rust 2019-07-28 03:17:11 +08:00
zonyitoo e982cddd72 Remove outliner before choosing median for ping balancer 2019-07-28 03:16:51 +08:00
Jason Cooke dd410390d3 docs: fix typo (#158) 2019-07-10 08:54:38 +08:00
zonyitoo 7895ce1bb0 OpenSSL for win64 updated to v1.1.0k 2019-06-03 01:40:51 +08:00
zonyitoo b015fe0e4d Updated dependencies 2019-06-03 01:14:16 +08:00
zonyitoo bb490163c3 [#152] Rate servers by latency median and calculate latency with full HTTP GET request 2019-06-03 01:08:59 +08:00
zonyitoo 8aa23e0909 Version should be v1.7.1 2019-04-30 09:04:59 +08:00
zonyitoo 3de0158e18 Allow disabling aes-cfb feature to stop linking with openssl 2019-04-30 09:01:30 +08:00
zonyitoo 2ba6d8c22d Print delay in switch info 2019-04-30 00:35:52 +08:00
zonyitoo e2d5f28795 Updated dependencies 2019-04-26 09:17:03 +08:00
zonyitoo 6eb50c1169 Print log when switching server 2019-04-26 09:08:45 +08:00
zonyitoo 3d3e5feb18 Make picking server complexity O1 2019-04-26 08:59:23 +08:00
zonyitoo d048d25120 Make clippy happy 2019-04-26 01:33:20 +08:00
zonyitoo c14c5b1bca Updated README based on markdown linter 2019-04-22 03:14:52 +08:00
zonyitoo 5b31ee89ec Updated dependencies, removed DNS packet pretty printer 2019-04-20 02:50:17 +08:00
zonyitoo eff680bbbe Updated README for style guide 2019-04-20 02:29:06 +08:00
Codacy Badger 70801b8517 Add Codacy badge (#153) 2019-04-20 02:12:01 +08:00
zonyitoo c3cd902e0d Check server 3 times and use avg delay time 2019-04-18 19:29:23 +08:00
zonyitoo c72a8d0ce3 Pick the best server instead of choosing by weight 2019-04-18 09:35:31 +08:00
zonyitoo a9ecb5aa80 Add a load-balancer checking server status by active detection 2019-04-18 09:10:30 +08:00
zonyitoo 47f373bf34 Add optional feature description in Readme, bump version to v1.7.1 2019-04-01 09:34:43 +08:00
zonyitoo e8bc450e90 Add feature single-threaded to enable single threaded mode 2019-04-01 02:10:23 +08:00
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