Max Lv
87e4bece84
Enlarge the timeout of protecting socket
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
be795e1985
Refine query interface
7 years ago
Max Lv
10ce3ed5d3
Refine query handling
7 years ago
Max Lv
57ab828ba1
Fix a potential null pointer acceess issue. #1854
It's possible that c-ares calls the callback function immediately in ares_gethostbyname, which may free the server
structure in that callback function.
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
b26cbc2755
Refine #1852
7 years ago
Max Lv
3ed6019e1f
Fix #1843
7 years ago
Max Lv
83e637cc57
Disable port reusing in manager mode
7 years ago
alberto lalama
70ea7c2e27
Library interface to start ss local with a callback
7 years ago
alberto lalama
d237a05739
Fix off-by-one bug in free_udprelay
7 years ago
Max Lv
0c3cf8beb3
Handle runtime fast open check correctly
7 years ago
Max Lv
2152274311
Force to disable new TFO API on Android
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
a15251b2fc
Fix the missing addr reset
7 years ago
Max Lv
9317d3b159
Fix the missing TFO flags on Android
7 years ago
Max Lv
9ac81759df
Refine TFO on Darwin
7 years ago
Max Lv
2cad381036
Refine TFO in redir and server mode
7 years ago
Max Lv
d445ea938b
Refine TFO interface. #1800
7 years ago
Syrone Wong
7df4178db8
update entropy info based on libsodium documentation
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
Max Lv
f19a96e1fa
Refine #1739
7 years ago
Max Lv
b3f3b58a1d
Fix #1739
7 years ago
Max Lv
c67d275803
Fix #1734
7 years ago
Vladimir Olteanu
82694c8f19
properly set recv_ctx->connected
7 years ago
Max Witten
b721c0fa6d
Update docs for TCP_NODELAY
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
Max Lv
c213ef1963
Add ARES_VERSION_MAJOR
7 years ago
Max Lv
0cb9cbe50d
Fix #1682
7 years ago
Max Lv
277d6d0b5b
Disable DNS rotate
7 years ago
Max Lv
01df436bb1
Refine #1677
7 years ago
linxiaocong
da4bbe74fb
fix segment fault when plugin and multi remote servers enabled
7 years ago
Max Lv
7abac61466
Fix #1663
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
7b7223da44
Fix cmake files
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
Xingwang Liao
f1fde57111
Redirect 'INFO' log to stdout
Signed-off-by: Xingwang Liao <kuoruan@gmail.com>
7 years ago
Max Lv
f8283fcc89
Fix #1626
7 years ago
Timothy Qiu
32466ed51b
Discards long ACL lines
7 years ago
Zhuoyun Wei
a46d2a1a83
ss-nat: Specify LAN interface with -I flag
7 years ago
Daniel
ac974ecf82
acl: remove unused 'n' var
7 years ago