Mygod
355adddff1
Remove unused is_remote_dns option
5 years ago
Mygod
301fea635b
Remove sniparser
5 years ago
Max Lv
64b97cd9a3
Clean up
5 years ago
Max Lv
6c28add775
Enable -Wcas-align for #2412
5 years ago
WHR
63a991cc43
ss-local: improve verbose logging; print hit of missing option
6 years ago
Max Lv
a7291ea725
Enlarge the socket buffer size to 16KB.
After five years, memory footprint is not a problem for most of
low-end boxes and high-end routers now.
It should also improve the speed on loopback and high-speed LAN
networks.
6 years ago
Chinsyo
7bd382042b
bump copyright year
6 years ago
Max Lv
3fa9e57248
Refine ipv6only handling
6 years ago
Max Lv
14dd82045e
Refine json config handling. #2308
6 years ago
Max Lv
144138788b
Refine ipv6 only handling. #2300
6 years ago
Max Lv
404ec62b79
Fix #2285
6 years ago
Max Lv
b430124ed8
Refine is_remote_dns defination
6 years ago
Max Lv
782311ad2b
Refine ss_align interfaces
6 years ago
Max Lv
d6b21daa9c
Refine ACL log
6 years ago
Max Lv
c33cf3efc0
Fix #2267
6 years ago
Max Lv
7ad2df9615
Remove all connection timeout from local clients
6 years ago
Mygod
dc298c4f2b
Allow long direct TCP connections
Fixes https://github.com/shadowsocks/shadowsocks-android/issues/2078 .
6 years ago
Mygod
641e4ed9c8
Refine passing plugin args
Refine 68f885c271
. Somehow I postponed this change for 8 months. Good job me!
6 years ago
Mygod
7fc05dcd9d
Specify stat_path on Android
6 years ago
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