Commit Graph
718 Commits
Author SHA1 Message Date
zonyitoo db5a2ca3de [#184] Uses blocking ConnectEx on Windows (FIXME) 2020-01-04 22:26:10 +08:00
zonyitoo b35758c2c6 [#184] Supports platforms that requires connect with the first packets 2020-01-04 21:09:05 +08:00
zonyitoo e107c81b63 Create socket all from raw APIs 2020-01-04 13:28:16 +08:00
zonyitoo a9fdfc52a2 [#184] Send IV/Salt with the first payload packet
TFO on macOS (seems) the second send call must wait until the first recv
has called. Don't know why.
2020-01-03 01:11:23 +08:00
zonyitoo 353e7fc605 Uses last_os_error to prevent direct access to __error() 2020-01-02 21:34:50 +08:00
zonyitoo 5825f276a9 [#184] Supported freebsd and fuchsia TCP_FASTOPEN 2020-01-02 20:49:35 +08:00
zonyitoo e905aa2bda [#184] Basic supports for TCP Fast Open on Windows, macOS, Linux
Removed `trust-dns` feature gate, uses trust-dns-resolver as default
2020-01-02 01:26:39 +08:00
zonyitoo af958e8655 Optimized http local code 2019-12-29 09:20:17 +08:00
zonyitoo 06c8ea0294 Updated makefile and changelog 2019-12-29 00:35:27 +08:00
zonyitoo ed3dd9c4a6 Add HTTP client README 2019-12-29 00:30:15 +08:00
zonyitoo 9202c09da1 [#182] Supports HTTP RFC7230 proxy protocol 2019-12-28 23:55:07 +08:00
zonyitoo 20d46a1b7a [#182] Supports HTTP CONNECT relay for sslocal 2019-12-28 17:32:20 +08:00
zonyitoo 0d3cc067d4 Bump version to v1.8.0 v1.8.0 2019-12-27 22:29:31 +08:00
zonyitoo e529d1541b Better strategy to drop UDP local <- remote task 2019-12-27 22:27:52 +08:00
zonyitoo d08bfff00f Print forward address in start message 2019-12-27 21:02:00 +08:00
zonyitoo 97a1c725cc UDP tunnel doesnt need TCP server 2019-12-27 20:35:00 +08:00
zonyitoo 4ccade6a17 Just check once before actual start 2019-12-27 20:26:40 +08:00
zonyitoo fe70816eb2 Fixed bug, single server doesnt need to wait 2019-12-27 19:19:28 +08:00
zonyitoo da1c4f8015 Resolved deprecated std::error::Error functions 2019-12-27 09:35:23 +08:00
zonyitoo 600bd57755 forward-address is required for tunnel client 2019-12-27 09:19:18 +08:00
zonyitoo e4a836d4ce Choosing UDP remote server with ping balancer 2019-12-26 23:37:07 +08:00
zonyitoo c19108ab89 Pick server only for new associations 2019-12-26 01:03:52 +08:00
zonyitoo 2d9a6e6ccd Start local TCP server after the ping balancer is ready 2019-12-26 00:55:50 +08:00
zonyitoo 08e9a49d0d [#151] Retry 3 times if failed to connect to proxy server 2019-12-25 23:35:08 +08:00
zonyitoo f13dd1c760 Updated readme 2019-12-24 23:18:50 +08:00
zonyitoo 721eb51cda Updated dependencies, time v0.2 and miscreant v0.5 2019-12-24 23:05:06 +08:00
zonyitoo 8172ec2e33 Uses stable version of trust-dns-resolver v1.8.0-alpha.4 2019-12-24 21:55:57 +08:00
zonyitoo 507fae2ad7 Prevent locking the whole association map if channel::send is blocked 2019-12-24 21:52:15 +08:00
zonyitoo a50d452ad6 Points to pre-built libsodium 2019-12-23 01:22:47 +08:00
zonyitoo c3d117ea43 libsodium-sys is already good enough to depend 2019-12-23 01:19:07 +08:00
zonyitoo d69450f6e6 Let travis download libsodium from release server 2019-12-23 00:55:39 +08:00
zonyitoo c907c98321 [#179] Temporary workaround for UdpSocket WSAECONNRESET 2019-12-23 00:25:09 +08:00
zonyitoo f551300440 Bump version to v1.8.0-alpha.4 2019-12-22 17:40:14 +08:00
zonyitoo f6a9ee45f2 [#179] UDP association expire time update in both direction, removed UDP association limit count 2019-12-22 17:38:29 +08:00
zonyitoo 1062ed951d Removed Cargo.lock 2019-12-19 22:46:23 +08:00
zonyitoo 54e2027721 Fixed identifier in error log 2019-12-19 22:03:51 +08:00
zonyitoo 96e3e99d08 Refine ping ranking logic v1.8.0-alpha.3 2019-12-15 23:45:27 +08:00
zonyitoo 45e8bc63ed Upgrade trust-dns to alpha.3 and bump version to v1.8.0-alpha.3 2019-12-15 22:08:04 +08:00
zonyitoo d0af887cad Print server addr if connect failed 2019-12-15 18:30:27 +08:00
zonyitoo 5488fb7fc6 Windows target should output zip package 2019-12-13 01:06:55 +08:00
zonyitoo 4b2a315510 Making Build docker actually works for mingw64 and musl target 2019-12-13 00:47:14 +08:00
zonyitoo c2650d8b0f Properly shutdown expired UDP association, bump version to v1.8.0-alpha.2 v1.8.0-alpha.2 2019-12-08 22:04:36 +08:00
zonyitoo 78b3b4a9d4 [#173] Socks5 local should return server connect port 2019-12-08 11:10:13 +08:00
zonyitoo da12a4c56e Build with cross instead v1.8.0-alpha.1 2019-12-08 10:59:36 +08:00
zonyitoo 206c8c7f09 Set trust-dns as default, optimized most of the context.clone()s 2019-12-07 14:32:23 +08:00
zonyitoo 4613a05978 Fixed tunnel error log 2019-12-07 11:50:44 +08:00
zonyitoo 620ebafd39 Reformatted with nightly rustfmt 2019-12-07 11:32:00 +08:00
zonyitoo 7fb3fc395f Merge branch 'master' of github.com:shadowsocks/shadowsocks-rust 2019-12-05 23:36:58 +08:00
zonyitoo 68dd36e6df [#174] Wraps TCP connections with BufReader 2019-12-05 23:36:21 +08:00
漂流 44aa44bcf1 reduce loops and type conversions (#176) 2019-12-02 22:10:10 +08:00