Max Lv
dada99c5b6
Fix the SNI issue
7 years ago
Max Lv
2c2063a792
Fix a warning on Android
7 years ago
Max Lv
d4298f71f0
Refine the code structure
7 years ago
Rallets
5d17c0431f
Ignore SIGCHLD for library usage
7 years ago
Mygod
a4c9059ffe
Fix all routing not working in Android
This reverts commit 66ed595c52
.
7 years ago
Max Lv
3e7c852970
Fix a crash
7 years ago
Max Lv
cd72e28bcb
Add missing option
7 years ago
Max Lv
7e414bb993
Disable SNI when DNS forwarding enabled
7 years ago
Max Lv
66ed595c52
Add back the SNI addr reconstructor
7 years ago
Linus Yang
1f9dd2fbf4
MinGW: fix socket closing in wrong place
7 years ago
Linus Yang
14fb82b966
Enable plugins on MinGW
7 years ago
Max Lv
a377c5114a
Fix #1974
7 years ago
Linus Yang
3f00e533bf
Minor format fix
7 years ago
Linus Yang
0a11c87aa5
Do not override error code of setsockopt
7 years ago
Linus Yang
f4c612f832
Support TCP fast open on Windows
7 years ago
Linus Yang
2ed8791dab
Re-add support for MinGW
7 years ago
ksqsf
3c3c50b4f8
Search XDG_CONFIG_HOME for user-specific config
7 years ago
Max Lv
85a64ae836
Bump version
7 years ago
Max Lv
512891c66f
Refine SNI parser in ss-local
7 years ago
Max Lv
539bf6e66d
Avoid reconstructing requests with SNI/HTTP parser
7 years ago
Max Lv
afce1b3f42
Refine #1872
7 years ago
Max Lv
5072be7a02
Disable SNI on Android
7 years ago
Max Lv
65e9d2355d
Avoid reconstructing all the connections
7 years ago
Max Lv
3ed6019e1f
Fix #1843
7 years ago
alberto lalama
70ea7c2e27
Library interface to start ss local with a callback
7 years ago
Max Lv
0c3cf8beb3
Handle runtime fast open check correctly
7 years ago
Max Lv
79f0e3c68d
Fix uninitialized variables
7 years ago
Max Lv
aebb79c222
Refine build on platform without TCP_FASTOPEN
7 years ago
Max Lv
42b29fbb63
Fix cmake builds
7 years ago
Max Lv
6eb93c4c4e
Fix conditional build for new TFO API
7 years ago
Max Lv
9ac81759df
Refine TFO on Darwin
7 years ago
Max Lv
d445ea938b
Refine TFO interface. #1800
7 years ago
星野ハジメ
cc1bb4cf62
format with .uncrustify.cfg ( #1759 )
* format with .uncrustify.cfg
format with .uncrustify.cfg
* format with .uncrustify.cfg
* format with .uncrustify.cfg exclude json.* base64.* uthash.h
* format with .uncrustify.cfg exclude json.* base64.* uthash.h
7 years ago
Max Lv
26ae365f7b
Refine #1756
7 years ago
星野ハジメ
44027da326
enable TCP_NODELAY from config file ( #1757 )
* Fix #1739
Refine #1739
* enable TCP_NODELAY from config file
7 years ago
Vladimir Olteanu
82694c8f19
properly set recv_ctx->connected
7 years ago
Max Lv
666801ddfc
Disable addr reconstruction on Android
7 years ago
Vladimir Olteanu
1c64829dfa
Add command-line argument for keeping TCP_NODELAY ( #1685 )
7 years ago
linxiaocong
da4bbe74fb
fix segment fault when plugin and multi remote servers enabled
7 years ago
Vladimir Olteanu
9201619090
ss-local: properly handle SOCKS5
* close the connection if the client doesn't speak SOCKS5
* check if client supports "no auth. required"
7 years ago
Max Lv
ede744ae7c
Add c-ares support ( #1655 )
* Replace udns with c-ares
* Get IO loop work
* Clean up
* Avoid initializing nameservers each query
* Add ARES_OPT_SERVERS
* Refine resolv_cancel
* Fix a memory leak
* Replace udns.h with ares.h
* Fix all inet_* fucntions
* Clean up
* Enable servers_ports when VERSION_MINOR >= 11
* Avoid ares_inet_XtoX
* Handle multipe nameservers correctly
* Use ares_set_servers for IPv4 and IPv6 mixed list
* Refine c-ares for udprelay
* Refine ares_set_servers()
* Refine the timer based on ares_timeout
* Avoid resolv_cancel
* Fix an issue of null pointer
* Fix another null pointer issue
* Refine the order of resolv_shutdown
* Fix the corrupted ev io
7 years ago
Yousong Zhou
db1728c76d
decouple use_syslog from pid_flags
Sometimes we need processes to run in the foreground to be supervised
and at the same time use syslog facility instead of logging its stdout,
stderr output
8 years ago
Yifu Yu
4ea517daf3
Fix: ss-local and ss-redir should also respect ipv6_first.
7 years ago
Vladimir Olteanu
556627399e
parsing socks 5 request: more suggestive code
7 years ago
Vladimir Olteanu
afb27ad054
count length bit when checking buffer size
7 years ago
Max Lv
b7bdb16338
Fix #1502
8 years ago
Mygod
72622a3e3d
Use standard __ANDROID__ preprocessor macro
8 years ago
Max Lv
33fe5adc19
Remove debug info
8 years ago
Max Lv
0313c8bcc6
Fix stat_update_cb for UDP packets
8 years ago
Max Lv
3f0d39aee6
Fix #1491
8 years ago