Commit Graph
232 Commits
Author SHA1 Message Date
zonyitoo 65b0b6c5cd Uses native-tls for better compatiblity to old TLS version 2020-05-05 23:21:43 +08:00
zonyitoo 8b7dbc8a6b Support HTTPS proxy targets with both native and rustls 2020-05-04 20:42:24 +08:00
zonyitoo a1b584ea98 Master is now v1.8.11
Fixed README example for tunnel and redir
2020-04-11 22:52:08 +08:00
zonyitoo a12c171602 Merged tunnel and redir into local 2020-04-09 23:23:41 +08:00
zonyitoo 3cdd215900 Wraps mostly all command line arguments into clap_app! 2020-03-29 16:23:27 +08:00
zonyitoo 05b685b7c9 Control redir with feature local-redir 2020-03-28 01:14:03 +08:00
zonyitoo a8d4e8943b Customized logging format with Local time instead of UTC
fix #217
2020-03-26 01:30:43 +08:00
zonyitoo 7f0ceaae55 Enable http protocol by feature local-protocol-http
Miscellaneous:

- pin_project to ensure safety of Unpin

Fixed Bug:

- Pick remote server every time when received a new HTTP Request
2020-03-24 00:32:57 +08:00
zonyitoo 77e50537ab libc have published IP6T_SO_ORIGINAL_DST 2020-03-18 23:04:23 +08:00
zonyitoo a8fe3b85fc Enable DNS over TLS and HTTPS by feature 2020-03-18 22:43:53 +08:00
zonyitoo 792c648db3 Add local-flow-stat to control flow statistic reports in local server
ref #210
2020-03-17 22:24:21 +08:00
zonyitoo 05cdde3032 Refactor DNS relay
- Allow working in standalone mode
- Use same UDP socket for sending response packet
- Send TCP queries with ProxyStream directly

ref #213
2020-03-17 22:24:21 +08:00
zonyitoo 705f0a510d Uses fat LTO optimizer 2020-03-17 22:24:21 +08:00
zonyitoo 8d64cce45a Removed unnecessary sendfd 2020-03-15 23:07:22 +08:00
zonyitoo 6373040a4d Customized UnixStream for protect() RPC
ref #209
2020-03-15 23:00:52 +08:00
zonyitoo bd2fe561bc Renamed miscreant feature to aes-pmac-siv 2020-03-15 02:34:24 +08:00
zonyitoo c9e277ae71 Updated base64 2020-03-14 11:08:52 +08:00
Max Lv 0d06556e34 Enable dns-relay only for Android 2020-03-13 23:46:44 +08:00
Max Lv 7d099b27bb Add DNS relay 2020-03-12 23:48:31 +08:00
zonyitoo 8a92b5c1ba Refactor redir and support pf on bsd-like systems 2020-03-11 22:38:41 +08:00
zonyitoo 2d777ce6bb Servers created by ssmanager should derive mode config
ref #201
2020-03-08 09:52:30 +08:00
zonyitoo 67baaf04b2 Abort on panic 2020-03-04 21:21:47 +08:00
zonyitoo 95601de02f Updated dependencies 2020-03-02 21:49:15 +08:00
zonyitoo 7d1e625d3a Refactor and support Android's flow statistic report
ref shadowsocks/shadowsocks-android#2452
2020-03-02 21:45:21 +08:00
zonyitoo 37003381b4 Fixed warning 2020-03-01 14:50:44 +08:00
zonyitoo b5e7a77e2f Refine protecting socket logic 2020-03-01 14:36:06 +08:00
Max Lv dd888ebba2 Replace net2 with socket2 2020-03-01 14:05:45 +08:00
Max Lv c963673642 Refine tcp_stream_connect() function 2020-03-01 14:05:45 +08:00
Max Lv 3cf2157316 Protect TcpStream in Android 2020-03-01 14:05:45 +08:00
zonyitoo 778c311e63 Optimized ACL IP searching with Trie Tree
Ref: shadowsocks/shadowsocks-android#2452
2020-02-27 03:43:41 +08:00
zonyitoo 5bf21a34cf Current nightly version is v1.8.10 2020-02-24 09:51:12 +08:00
zonyitoo 1601720d9c CI builds all possible features 2020-02-24 09:48:26 +08:00
zonyitoo d75329e149 Print available ciphers in command line 2020-02-24 01:24:42 +08:00
zonyitoo 806f44244a Support ACL rules in server (both TCP and UDP)
ref: shadowsocks/shadowsocks-android#2452

Reformatted logs
2020-02-23 13:42:54 +08:00
zonyitoo 76bde20fe6 Refactored and ready for adding ACL rules
BREAKING: Removed forbidden_ip in configuration file
2020-02-23 01:43:48 +08:00
zonyitoo dfc0be7e34 Make clippy happy, optimizing code structure 2020-02-23 00:27:02 +08:00
zonyitoo 07a5eac1c2 Clear Hop-to-Hop headers, and support transparent proxy
* Removes hop only headers to prevent ambiguous
* Only allow HTTP 1.x requests
* Allow requesting with Host header
2020-02-14 01:44:10 +08:00
zonyitoo 6561951e34 Enable LTO and disable incremental link 2020-02-11 21:22:07 +08:00
zonyitoo bef28999a5 [#85] Implemented basic manager server listening on UDP 2020-02-08 00:55:39 +08:00
zonyitoo 60fa9a23e1 Choose server by standard deviation 2020-02-07 04:17:14 +08:00
zonyitoo dedc23d190 Windows build on Circle-CI is i686 architecture 2020-02-06 13:46:04 +08:00
zonyitoo e1ea72fda2 Enable osx and windows build on circle-ci, disable LTO 2020-02-05 19:44:54 +08:00
zonyitoo eadbb756ea Updated trust-dns-resolver to v0.19 2020-02-02 23:58:26 +08:00
zonyitoo ee40cedece [#190] Supports UDP transparent proxy on Linux, BSD-like untested 2020-02-02 21:19:05 +08:00
zonyitoo cb89ec78d0 [#190] Supports TCP transparent proxy on Linux 2020-01-31 23:21:02 +08:00
zonyitoo 8117e50e36 Fixed bug, server bind-addr should not contains a specific port
fix #189
2020-01-13 09:28:14 +08:00
zonyitoo ec905dfce1 Bump version to v1.8.6 2020-01-12 09:44:18 +08:00
zonyitoo 1ec30590a6 Depends tokio and bloomfilter after a specific release 2020-01-12 00:09:18 +08:00
zonyitoo 7dba0329ae Bump version to v1.8.5 2020-01-11 21:50:14 +08:00
zonyitoo d8a7f8f5bc Detect repeated iv/salt for defending from reply attacks 2020-01-11 21:49:51 +08:00