JS Deck
910e29abba
Make local address 0.0.0.0 work with udp relay
6 years ago
JS Deck
4a51c2858e
Fix udp relay when tcp only (e.g. for use with kcptun)
6 years ago
Max Lv
482040a5dd
Fix a potential stackoverflow issue
6 years ago
Max Lv
57e74eaa34
Fix a bug in bypassing
6 years ago
Max Lv
dd5e954ab4
Clean up
6 years ago
Mygod
307088ed4a
Support hostname resolving in VPN mode
6 years ago
sxyoxygen
059780ff9b
Update local.c
6 years ago
Mygod
d107f9ecdb
More bugfix
6 years ago
Max Lv
fad3ca59e7
Revert "Refine ip initialization"
This reverts commit 9a56155513
.
6 years ago
Max Lv
9a56155513
Refine ip initialization
6 years ago
Mygod
4a97acd44e
Refine local server_handshake
* Removed STAGE_PARSE and the 5-year-old hacky "fake" reply;
* SOCKS5 server returns more error code than 0x07;
* Ensure `ip` is initialized in all cases; (I guess security guys don't want to audit the local part)
* Code more readable magically.
6 years ago
Max Lv
11a0d8db60
Reset timer in server_stream as well
6 years ago
Yegor Ievlev
8fd83e2686
Use chacha20-ietf as a default cipher instead of rc4-md5 ( #2080 )
* Use chacha20-ietf as a default cipher instead of rc4-md5
* Update tunnel.c
* Update utils.c
* Update ss-local.asciidoc
* Update ss-local.asciidoc
* Update tunnel.c
* Update ss-tunnel.asciidoc
* Update ss-manager.asciidoc
* Update ss-redir.asciidoc
* Update shadowsocks-libev.asciidoc
* Update aead.c
* Update local.c
* Update server.c
* Update utils.c
7 years ago
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