Commit Graph
1080 Commits
Author SHA1 Message Date
zonyitoo d0c86df74f Build with local-redir 2020-08-07 00:14:19 +08:00
zonyitoo 2b55f9c0fa Windows build with vendored openssl 2020-08-07 00:12:21 +08:00
zonyitoo 8bfa7e3e41 Build on linux, windows, macos 2020-08-07 00:06:16 +08:00
ty eba114acaf Create build-and-test.yml 2020-08-07 00:00:13 +08:00
zonyitoo b226d2a50d [#273] Use AtomicUsize for maximum compatibility 2020-08-06 22:10:22 +08:00
zonyitoo 23c2695b3d Support mimalloc and tcmalloc 2020-08-04 00:08:49 +08:00
Stzx f6565fb948 Refactor some code 2020-08-03 23:46:50 +08:00
zonyitoo 357e1a06f5 Uses tokio *_buf APIs for better styling, kill plugins when Dropped 2020-08-03 02:09:17 +08:00
zonyitoo 7eac5416b3 Optimize ring AEAD cipher data copy 2020-07-24 19:22:07 +08:00
Max Lv e39de3416f Remove the VPN option hack 2020-07-23 11:05:41 +08:00
zonyitoo efd9e7747d Master is now v1.8.14 2020-07-22 00:22:05 +08:00
Max Lv edf69098f4 Fix the tx/rx update in ProxyStream v1.8.13 2020-07-20 10:37:35 +08:00
Max Lv b56eaac692 Revert "Fix tx/rx order for android RPC"
This reverts commit 205eaa95ad.
2020-07-20 10:37:35 +08:00
zonyitoo 5324ab7829 Removed unnecessary ACL cache 2020-07-13 23:03:14 +08:00
zonyitoo 1f29c73111 fix #277, compilation error for feature=local-dns-relay 2020-07-07 01:47:22 +08:00
zonyitoo 1ae41274ad linux-gnu target is now built with docker
ref #275, cross docker's glibc version is 2.15
2020-07-05 01:09:33 +08:00
zonyitoo ad12d59d12 AEAD TCP protocol should check the reserved higher 2 bits
- https://shadowsocks.org/en/spec/AEAD-Ciphers.html
- Higher 2 bits are reserved for future use
2020-07-04 22:11:43 +08:00
zonyitoo a940a4085f [#272] Support customizing manager created server's bind address 2020-06-28 21:05:18 +08:00
zonyitoo 2765766772 Print error when server exited unexpectly 2020-06-21 22:18:22 +08:00
zonyitoo a27c3902e0 Do not panic for listen error 2020-06-21 22:03:41 +08:00
zonyitoo 1a9529b43f Add necessary INFO log for ssmanager 2020-06-20 10:23:30 +08:00
zonyitoo 7ac3ea491f Updated dependencies 2020-06-20 02:24:55 +08:00
zonyitoo 66fcb5947b User abortable for killing servers 2020-06-20 02:23:28 +08:00
zonyitoo c84387dc8c Cache recently ACL checking results
ACL checking may requires lots of calculation and network I/O (DNS resolution)
2020-06-15 09:13:55 +08:00
zonyitoo d3e2922120 Logging elapse time for DNS resolving and ACL checking
fix #269
2020-06-11 22:56:06 +08:00
zonyitoo edab23bf94 Enable jemalloc by feature. Enable parking_lot feature for tokio
ref: #174
2020-06-09 23:08:36 +08:00
zonyitoo d231c7f3fe Direct send for none ciphers, prevent unnecessary data copy 2020-06-07 12:38:37 +08:00
zonyitoo e64eb3f82a Update README 2020-06-06 21:48:07 +08:00
zonyitoo 9ca4bc416b Update dependencies for pin-project 2020-06-06 21:31:48 +08:00
Taiki Endo 34f1728cfb Remove uses of pin_project::project attribute
pin-project will deprecate the project attribute due to some unfixable
limitations.

Refs: https://github.com/taiki-e/pin-project/issues/225
2020-06-06 13:44:30 +08:00
zonyitoo 72a6f13ff7 Master is now v1.8.13 2020-06-02 00:02:34 +08:00
zonyitoo 66d1dda67a Disable travis build cache, because it is so huge v1.8.12 2020-06-01 23:48:55 +08:00
zonyitoo 62832b9ad9 [#149] Setting timeout, udp_timeout, udp_max_associations from opt
Add ManagerConfig for encapsulating add manager's options
Removed Config.timeout, servers should always use ServerConfig.timeout
2020-06-01 21:55:00 +08:00
zonyitoo 4efb5daa6d deps.rs is unmaintained. srijs/deps.rs#40 2020-06-01 20:00:31 +08:00
zonyitoo f9ed9d35ea Fixed error messages 2020-06-01 00:09:27 +08:00
zonyitoo a26ef6a8da Update README for HTTP/HTTPS 2020-06-01 00:05:37 +08:00
zonyitoo 07307fc4e8 [#260] Support HTTPS local with rustls 2020-06-01 00:02:07 +08:00
zonyitoo 5a1d9efd83 [#260] Support HTTPS local server with native-tls 2020-05-31 22:50:17 +08:00
zonyitoo ab41fbcf17 Trim IPv6 host with trim_end_matches 2020-05-31 12:40:10 +08:00
zonyitoo 130503ae18 Enable neon feature for aarch64 build targets 2020-05-30 23:58:56 +08:00
zonyitoo 99fb4341d2 Preallocate buffer with Vec::with_capacity 2020-05-30 00:54:32 +08:00
zonyitoo 3c283862e1 Updated dependencies 2020-05-30 00:42:45 +08:00
zonyitoo 4140b21a4a Proxies everything if there is no ACL configured
Avoid creating an useless socket for bypass addresses
2020-05-30 00:40:20 +08:00
zonyitoo 1b6b0366fb Hide all socks4 implementations behind feature 2020-05-27 01:07:30 +08:00
zonyitoo 5ef6c8821e Revert "UDP associations' default timeout to be 15 seconds"
This reverts commit 98474e2329.
2020-05-25 09:32:46 +08:00
zonyitoo 98474e2329 UDP associations' default timeout to be 15 seconds
ref #262
2020-05-24 16:22:17 +08:00
zonyitoo 1f75f7a6b0 Optimized UDP association debug log 2020-05-24 16:12:59 +08:00
zonyitoo 688b4f235e More specific log for association closing 2020-05-24 11:24:49 +08:00
zonyitoo 23660d099d Merge branch 'Mygod-udp-connect' 2020-05-24 04:14:16 +08:00
zonyitoo 086f35eb63 associate_with_acl also requires connect()
fixed tests
2020-05-24 04:13:27 +08:00