Commit Graph
1049 Commits
Author SHA1 Message Date
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
Mygod 5ddaf21447 Connect UDP sockets
Fixes #263.
2020-05-23 13:38:01 -04:00
zonyitoo 3b47fa67fa Unified server and local association manager implementation 2020-05-24 01:03:38 +08:00
zonyitoo b3052199df Encapsulate ProxyAssociation management logic 2020-05-24 00:25:30 +08:00
zonyitoo 520018d30a Add socks version in INFO 2020-05-22 21:49:05 +08:00
Mygod 4a1312c862 Fix build 2020-05-22 16:03:46 +08:00
Mygod 7917683121 Reduce unnecessary cloning 2020-05-22 16:03:46 +08:00
zonyitoo ccd0df5c1d Fixed README typo 2020-05-21 22:07:11 +08:00
Mygod 69b0370441 Refine cache key for assoc_map 2020-05-21 22:06:34 +08:00
Mygod cea84e1690 Remove unnecessary wakeups from UDP 2020-05-21 22:06:34 +08:00
Mygod ab80e40dbb Warn when using tokio DNS resolver
Fixes #208.
2020-05-21 22:04:24 +08:00
zonyitoo 2a9f5369a9 Add socks4/4a into README 2020-05-20 00:44:30 +08:00
zonyitoo 227cf267be Support SOCKS4/4a protocol
fix #233
2020-05-20 00:36:35 +08:00
zonyitoo 5685612f2f Fixed extra_flags, passing arguments without quote 2020-05-18 00:27:34 +08:00
zonyitoo f460c8a0b2 publish-github-releases ignore all branches and build for tags 2020-05-17 23:36:10 +08:00
zonyitoo 7014cb1ca2 golang version is too old 2020-05-17 23:25:55 +08:00
zonyitoo e916635ac0 Circle-CI will only build for tags 2020-05-17 22:20:34 +08:00
zonyitoo 9c83eaaddc filters.tags empty then job is skipped for all tags 2020-05-17 22:15:58 +08:00
zonyitoo b2013ac5ce how about removing all filters 2020-05-17 22:15:58 +08:00
zonyitoo 0d10c4217e publish-github-releases ignores all branch push 2020-05-17 22:15:58 +08:00
zonyitoo fcd5f232dc persist_to_workspace root is not present in attach_workspace 2020-05-17 22:15:58 +08:00
Mygod f990462858 Support MX and NS records 2020-05-17 22:04:12 +08:00
Mygod 9a1b34f88e Check rec.name() in answers 2020-05-17 22:04:12 +08:00
Mygod 59d1535e18 Be more conservative when skipping resolving
As we examine CNAME records in answer section and possibly A/AAAA records in additional section, we should only skip the second stage only if the entire ACL is empty.
2020-05-17 09:32:40 +08:00
zonyitoo 48fc7c6632 Optimized publish-github-releases logic 2020-05-17 01:23:05 +08:00
zonyitoo 19295b8a3b Fixed publish-github-releases and release v1.8.12-alpha.1 2020-05-17 00:47:39 +08:00
zonyitoo c5c98d3552 Fixed persist_to_workspace root 2020-05-17 00:30:56 +08:00
zonyitoo 3946491a8f Fixed circle-ci config 2020-05-17 00:23:11 +08:00
zonyitoo 3561119f99 branches and tags are filters 2020-05-17 00:06:39 +08:00
zonyitoo 0662e52133 Upload release outputs automatically 2020-05-17 00:04:05 +08:00
zonyitoo 7fd445a17e Release name removed -stable 2020-05-16 23:01:33 +08:00
zonyitoo 4f0a8138d9 Useful ACL script for merging gfwlist and china_ip_list 2020-05-16 14:54:47 +08:00