zonyitoo
|
42ef48be3d
|
Encapsulate port() in Address
|
2020-03-01 14:42:38 +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
|
df5c5b7917
|
Fix Windows build
|
2020-03-01 14:05:45 +08:00 |
|
Max Lv
|
8b9ff6d96b
|
Clean up
|
2020-03-01 14:05:45 +08:00 |
|
Max Lv
|
b69be24ffb
|
Refine interfaces and ACL for Android
|
2020-03-01 14:05:45 +08:00 |
|
Max Lv
|
4e0885b790
|
Force to redirect TCP traffic to dest 53 port (for Android)
|
2020-03-01 14:05:45 +08:00 |
|
Max Lv
|
0989444c48
|
Protect UDPSocket as well
|
2020-03-01 14:05:45 +08:00 |
|
Max Lv
|
3cf2157316
|
Protect TcpStream in Android
|
2020-03-01 14:05:45 +08:00 |
|
zonyitoo
|
391b47a923
|
Remove Arc for most cases
|
2020-02-27 23:09:50 +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
|
924b9b0202
|
Remove confusing log in HTTP local
|
2020-02-26 23:26:22 +08:00 |
|
zonyitoo
|
6f8c0238ea
|
Adding connect timeout for bypass connections
|
2020-02-26 23:02:24 +08:00 |
|
zonyitoo
|
5b77751144
|
Uses Table cipher and aes-128-gcm for test
|
2020-02-24 13:31:52 +08:00 |
|
zonyitoo
|
2139b356b4
|
Disable tests related to aes-cfb
|
2020-02-24 10:19:06 +08:00 |
|
zonyitoo
|
8b5eaf5eaf
|
Add ACL example
|
2020-02-24 10:07:36 +08:00 |
|
zonyitoo
|
d55fdbecfa
|
Add ACL in README
|
2020-02-24 09:44:21 +08:00 |
|
Max Lv
|
8fefe0ce99
|
Fix the build without trust-dns
|
2020-02-24 09:42:42 +08:00 |
|
zonyitoo
|
f557b29b31
|
Fixed CryptoStream thread safe issue, optimized code structure, hide proxy connection functions
|
2020-02-24 01:48:27 +08:00 |
|
zonyitoo
|
d75329e149
|
Print available ciphers in command line
|
2020-02-24 01:24:42 +08:00 |
|
zonyitoo
|
b91048b73a
|
Support ACL for UDP relays
|
2020-02-24 00:46:28 +08:00 |
|
zonyitoo
|
2b2d5beb8e
|
All TCP relay variants are now support ACL
FIXME: ACL checking requires one more DNS resolving request (may be
cached by trust-dns)
|
2020-02-23 21:48:31 +08:00 |
|
Max Lv
|
8ca9d0ada4
|
Disable set_nofile in Android build
RLIMT_NOFILE is private in Android system.
|
2020-02-23 21:21:21 +08:00 |
|
zonyitoo
|
51dd8f5fcd
|
Optimized ip network with binary search
|
2020-02-23 14:57:59 +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
|
784d54c7f9
|
read_system_conf returns ResolverResult on Windows
|
2020-02-13 01:13:07 +08:00 |
|
zonyitoo
|
064c5ac757
|
Fallback to tokio resolver if trust-dns initialize failed
|
2020-02-12 10:41:11 +08:00 |
|
zonyitoo
|
8039fc1ba8
|
Removed stat support in manager, which is useless
|
2020-02-11 21:03:42 +08:00 |
|
zonyitoo
|
4f24413cc0
|
Fixed bug, manager report task sleep 10s
|
2020-02-11 11:01:22 +08:00 |
|
zonyitoo
|
6b316f9d7b
|
Add common timeout in configuration, fixed multi-server config serialization
|
2020-02-11 10:23:47 +08:00 |
|
zonyitoo
|
8f418e5b36
|
Manager stat command allows unnamed socket address
|
2020-02-11 09:39:55 +08:00 |
|
zonyitoo
|
200b5f4483
|
Getting --manager-address back for ssserver and support stat command in manager
|
2020-02-11 00:07:11 +08:00 |
|
zonyitoo
|
981e5d3f0b
|
Hide std::fs use for windows build
|
2020-02-10 09:27:46 +08:00 |
|
zonyitoo
|
70784d12c1
|
Manager supports Unix Socket
|
2020-02-10 05:25:10 +08:00 |
|
zonyitoo
|
03f2815930
|
Updated README
|
2020-02-08 21:11:24 +08:00 |
|
zonyitoo
|
4213b8a4cb
|
[#85] Allowing adding server with default method
|
2020-02-08 16:43:03 +08:00 |
|
zonyitoo
|
0a993aad4d
|
[#85] ssmanager configuration file is not required
|
2020-02-08 15:46:45 +08:00 |
|
zonyitoo
|
29abc82cc1
|
[#85] Refactored for sharing DNS resolver in manager
|
2020-02-08 14:59:30 +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
|
18fc497974
|
Fixed #191, do not check duplicated nonce for Plain cipher
|
2020-02-05 20:22:37 +08:00 |
|
zonyitoo
|
80b3212cdd
|
Optimize logs, yield coroutine instead of sleep 100ms when connect failed
|
2020-02-04 22:02:45 +08:00 |
|
zonyitoo
|
6ce0fbe7c1
|
RTT is millisecond
|
2020-02-04 16:35:12 +08:00 |
|
zonyitoo
|
b1c71672c1
|
Print original server addr in log
|
2020-02-04 15:23:17 +08:00 |
|
zonyitoo
|
528807b68e
|
Refactored balancer, report failure for every relay connections
|
2020-02-04 15:10:26 +08:00 |
|
zonyitoo
|
508c6dac3c
|
Check plugin and confirm it starts before listening
|
2020-02-03 21:31:55 +08:00 |
|