Commit Graph
887 Commits
Author SHA1 Message Date
zonyitoo 715ed90455 Fixed bug, ssserver doesnt have URL 2020-03-28 01:49:17 +08:00
zonyitoo 1138226419 Enable redir via build.rs 2020-03-28 01:36:00 +08:00
zonyitoo 05b685b7c9 Control redir with feature local-redir 2020-03-28 01:14:03 +08:00
Stzx c391fc0fae Simple parameter configuration replaced with macro expressions 2020-03-27 20:36:46 +08:00
Y. T. CHUNG c96ab84ad2 Revert "Simple parameter configuration replaced with macro expressions"
This reverts commit 4772192a9b.
2020-03-27 19:54:37 +08:00
zx 4772192a9b Simple parameter configuration replaced with macro expressions 2020-03-27 19:17:07 +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 a88cb1a980 Transparent proxies now supports pf 2020-03-19 23:02:12 +08:00
zonyitoo 63ccb93964 Uses stable version of openssl for windows build 2020-03-18 23:17:14 +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 e60cc485eb All paths in Config should be PathBuf 2020-03-18 22:30:44 +08:00
zonyitoo 4d22e77c2b Fixed README ssmanager example 2020-03-18 09:54:01 +08:00
Max Lv d336d4b861 Make clippy happy 2020-03-17 22:24:21 +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 fcf94d3804 Set ip_strategy by ipv6_first while reading from system config
ref #205
2020-03-15 23:03:06 +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 fe7468a629 Suppress warning for platforms that doesnt have redir support 2020-03-15 02:21:22 +08:00
zonyitoo 9b383bfecb Resolve hosts to IPv6 address first
ref #205
2020-03-15 01:44:03 +08:00
Max Lv 27e74f8287 Refine China DNS 2020-03-15 01:43:30 +08:00
zonyitoo 304f265552 Local dns relay socks5 query with client
Optimized code structure and improvements
2020-03-14 20:48:40 +08:00
zonyitoo c9e277ae71 Updated base64 2020-03-14 11:08:52 +08:00
zonyitoo d292ed26ec Fixed bug, checking NotSupported 2020-03-14 10:56:01 +08:00
zonyitoo e97ca31e62 OpenBSD uses SO_BINDANY 2020-03-14 01:03:12 +08:00
zonyitoo 5a315eed83 Only openbsd and freebsd supports IP_ORIGDSTADDR 2020-03-14 00:59:47 +08:00
zonyitoo 666c3619f2 Add possible values in parameter help messages 2020-03-14 00:07:16 +08:00
Max Lv 205eaa95ad Fix tx/rx order for android RPC 2020-03-13 23:46:44 +08:00
Max Lv b5840e31bc Fix the domain match 2020-03-13 23:46:44 +08:00
Max Lv be0bca7463 Ensure socket is protected before connecting 2020-03-13 23:46:44 +08:00
Max Lv f4c89534c8 Refine message id 2020-03-13 23:46:44 +08:00
Max Lv 0d06556e34 Enable dns-relay only for Android 2020-03-13 23:46:44 +08:00
zonyitoo 695bd7ad8c Make clippy happy 2020-03-13 02:02:39 +08:00
zonyitoo 0b085f1886 Code cleanup and add command line argument dependencies 2020-03-13 01:55:30 +08:00
zonyitoo 330c651861 Get TCP target address inside separated task
Refactored redir trait define
2020-03-13 00:08:12 +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 f937356b12 Updated README 2020-03-05 00:22:36 +08:00
zonyitoo 67baaf04b2 Abort on panic 2020-03-04 21:21:47 +08:00
zonyitoo c2b9001ce5 Remove unnecessary unsafe 2020-03-02 23:39:09 +08:00
zonyitoo 5d589ba591 Update ACL document 2020-03-02 22:32:50 +08:00
zonyitoo 1204d58161 Expose shadowsocks server client
ref #199
2020-03-02 22:15:38 +08:00
zonyitoo 293896f7e8 TcpStream does not have flush() 2020-03-02 22:09:54 +08:00
zonyitoo ee92e6414b Pin future on stack 2020-03-02 22:08:01 +08:00
zonyitoo 95601de02f Updated dependencies 2020-03-02 21:49:15 +08:00