Commit Graph

363 Commits

Author SHA1 Message Date
Y. T. Chung
34a70a7dc7 memory optimization 2016-11-07 03:35:48 +08:00
Y. T. Chung
bf01073a14 [#33] Support multithread, bump version to v1.0.0 2016-11-07 01:43:44 +08:00
Y. T. Chung
2f100e1dc1 updated readme and rename crate to shadowsocks v1.0.0 2016-11-05 08:55:36 +08:00
Y. T. Chung
0084bade07 increase server important log level 2016-11-03 02:33:19 +08:00
Y. T. Chung
2a68c3de12 allow enable_udp in config file 2016-11-03 02:27:22 +08:00
Y. T. Chung
310cecc312 simple optimize 2016-11-03 02:11:49 +08:00
Y. T. Chung
688f693f41 remove dummy relay struct 2016-11-03 02:05:40 +08:00
Y. T. Chung
5e5194014b optimize code structure 2016-11-01 22:56:09 +08:00
Y. T. Chung
0b9e302ba8 remove last comma in json object 2016-11-01 09:21:12 +08:00
Y. T. Chung
bd00bc0492 updated deps and document 2016-11-01 09:20:34 +08:00
Y. T. Chung
99029b7f70 add useful logs 2016-11-01 08:56:03 +08:00
Y. T. Chung
d796e19d6e updated readme 2016-11-01 01:18:51 +08:00
Y. T. Chung
8a2b6936af correctify implement udp handler, add udp test 2016-11-01 01:10:16 +08:00
Y. T. Chung
add4824668 initially implement udp associate 2016-10-31 23:31:27 +08:00
Y. T. Chung
0b823fdf6c ssurl support ServerAddr 2016-10-30 21:51:57 +08:00
Y. T. Chung
625cb23ca9 save extended key in config 2016-10-30 21:47:11 +08:00
Y. T. Chung
ee7d7fbbec fixed salsa and chacha key 2016-10-30 21:17:10 +08:00
Y. T. Chung
1b28dbebd6 updated documents 2016-10-30 21:08:32 +08:00
Y. T. Chung
d2cdf083e6 remove appveyor build, bump version to v0.9.15 2016-10-30 17:13:45 +08:00
Y. T. Chung
6c328ab370 check response content by String::from_utf8 2016-10-30 16:59:48 +08:00
Y. T. Chung
6b1344ca91 Add Socks5Client wrap, fulfill more documents, add tcp connect test 2016-10-30 16:45:13 +08:00
Y. T. Chung
510c0068a7 initially implement sslocal udp assoc 2016-10-30 11:44:38 +08:00
Y. T. Chung
2b73b7d1c7 Use Rc instead of Arc, optimize server structure 2016-10-27 23:50:21 +08:00
Y. T. Chung
30f049424b remove all unnecessary Send trait bound 2016-10-27 23:12:20 +08:00
Y. T. Chung
412cf3951c updated readme, appveyor and remove unused tool 2016-10-27 09:34:48 +08:00
Y. T. Chung
68fd3b6aa6 fixed http proxy encrypting writer logic 2016-10-27 02:30:34 +08:00
Y. T. Chung
73cc2b47aa add finalize after read done 2016-10-27 02:01:24 +08:00
Y. T. Chung
c2d9ca53c0 [#28] Add customized write_all and copy fror EncryptedWriter 2016-10-27 01:47:06 +08:00
Y. T. Chung
ea4c1878b7 Fixed #28, should not use write_all on non-blocking sockets 2016-10-27 00:27:11 +08:00
Y. T. Chung
f302298c91 Add dummy cipher 2016-10-26 23:38:35 +08:00
Y. T. Chung
b24f4c961d remove unnecessary flush and if 2016-10-26 23:28:41 +08:00
Y. T. Chung
f3be905c20 Add DnsResolver, support domain name server address 2016-10-26 02:06:14 +08:00
Y. T. Chung
8a8b5b5907 remove unnecessary struct instance 2016-10-26 00:01:37 +08:00
Y. T. Chung
de4dc07f9b updated appveyor build 2016-10-25 23:32:58 +08:00
Y. T. Chung
05b48c1ff1 Remove Arc in Config, wrap it in Relay itself 2016-10-25 23:05:44 +08:00
Y. T. CHUNG
515fb22dd1 Merge pull request #29 from paomian/20161025
(chore) change match to try macro
2016-10-25 15:53:10 +08:00
paomian
e40f035810 (chore) change match to try macro 2016-10-25 14:58:10 +08:00
Y. T. Chung
12453b0195 merge handshake logic 2016-10-25 01:43:36 +08:00
Y. T. Chung
5134507102 fixed http proxy 2016-10-25 00:58:34 +08:00
Y. T. Chung
8a5f45edfc code optimization 2016-10-25 00:23:24 +08:00
Y. T. Chung
20212c4a49 [#28] Split server handshake to futures 2016-10-24 21:21:40 +08:00
Y. T. Chung
ceafe59f61 [#28] Split proxy server connection before IV handshakes 2016-10-24 18:46:26 +08:00
Y. T. Chung
9f5d42ebd8 Fixed partial relay by restoring select to join 2016-10-24 11:12:45 +08:00
Y. T. Chung
2945329744 Fixed partial relay by restoring select to join 2016-10-24 11:12:03 +08:00
Y. T. Chung
5c773b4226 handshake both directions in the mean time 2016-10-24 09:15:21 +08:00
Y. T. Chung
bf612ded39 use select instead of join 2016-10-24 00:56:26 +08:00
Y. T. Chung
43fd644868 ignore empty header name 2016-10-24 00:28:25 +08:00
Y. T. Chung
2085ad091e ignore invalid http header, ignore request X-Forward-IP 2016-10-23 23:45:12 +08:00
Y. T. Chung
3dc790dff1 add more useful logs for debugging 2016-10-23 23:05:23 +08:00
Y. T. Chung
ff194a02d8 continue http proxy only if keep-alive 2016-10-23 22:57:31 +08:00