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.
2019-04-30 09:22:54 +08:00
Chinsyo
7bd382042b
bump copyright year
2019-03-21 12:39:29 +08:00
Max Lv
3fa9e57248
Refine ipv6only handling
2019-03-10 07:40:07 +08:00
Max Lv
14dd82045e
Refine json config handling. #2308
2019-03-05 09:52:44 +08:00
Max Lv
144138788b
Refine ipv6 only handling. #2300
2019-03-01 07:32:25 +08:00
Max Lv
404ec62b79
Fix #2285
2019-02-18 09:59:40 +08:00
Max Lv
b430124ed8
Refine is_remote_dns defination
2019-02-13 19:32:32 +08:00
Max Lv
782311ad2b
Refine ss_align interfaces
2019-01-22 12:59:29 +08:00
Max Lv
d6b21daa9c
Refine ACL log
2019-01-21 12:26:27 +08:00
Max Lv
c33cf3efc0
Fix #2267
2019-01-21 12:12:42 +08:00
Max Lv
7ad2df9615
Remove all connection timeout from local clients
2019-01-17 21:36:49 +08:00
Mygod
dc298c4f2b
Allow long direct TCP connections
...
Fixes https://github.com/shadowsocks/shadowsocks-android/issues/2078 .
2019-01-17 16:41:03 +08:00
Mygod
641e4ed9c8
Refine passing plugin args
...
Refine 68f885c271 . Somehow I postponed this change for 8 months. Good job me!
2019-01-17 00:48:29 +08:00
Mygod
7fc05dcd9d
Specify stat_path on Android
2019-01-12 18:23:08 +08:00
JS Deck
910e29abba
Make local address 0.0.0.0 work with udp relay
2018-11-21 10:42:29 +08:00
JS Deck
4a51c2858e
Fix udp relay when tcp only (e.g. for use with kcptun)
2018-11-19 18:37:47 +08:00
Max Lv
482040a5dd
Fix a potential stackoverflow issue
2018-10-19 08:52:04 +08:00
Max Lv
57e74eaa34
Fix a bug in bypassing
2018-09-08 11:38:18 +08:00
Max Lv
dd5e954ab4
Clean up
2018-09-02 17:21:23 -07:00
Mygod
307088ed4a
Support hostname resolving in VPN mode
2018-08-24 14:00:13 +08:00
sxyoxygen
059780ff9b
Update local.c
2018-08-08 01:56:37 +08:00
Mygod
d107f9ecdb
More bugfix
2018-07-30 23:50:35 +08:00
Max Lv
9387267267
Merge pull request #2132 from Mygod/master
...
Refine local server_handshake
2018-07-30 23:15:54 +08:00
Max Lv
fad3ca59e7
Revert "Refine ip initialization"
...
This reverts commit 9a56155513 .
2018-07-30 23:15:28 +08:00
Max Lv
9a56155513
Refine ip initialization
2018-07-30 23:06:22 +08:00
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.
2018-07-30 22:52:40 +08:00
Max Lv
11a0d8db60
Reset timer in server_stream as well
2018-07-02 12:51:20 +08:00
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
2018-06-07 08:58:10 +08:00
Max Lv
dada99c5b6
Fix the SNI issue
2018-04-08 22:32:21 -07:00
Max Lv
c377dcac97
Merge pull request #2017 from rallet/master
...
Ignore SIGCHLD for library usage
2018-04-09 09:47:32 +08:00
Max Lv
2c2063a792
Fix a warning on Android
2018-04-08 18:36:38 -07:00
Max Lv
d4298f71f0
Refine the code structure
2018-04-08 18:32:32 -07:00
Rallets
5d17c0431f
Ignore SIGCHLD for library usage
2018-04-08 12:51:45 +08:00
Mygod
a4c9059ffe
Fix all routing not working in Android
...
This reverts commit 66ed595c52 .
2018-04-04 19:02:26 -07:00
Max Lv
3e7c852970
Fix a crash
2018-04-01 21:27:16 -07:00
Max Lv
cd72e28bcb
Add missing option
2018-04-01 20:01:16 -07:00
Max Lv
7e414bb993
Disable SNI when DNS forwarding enabled
2018-04-01 10:15:06 +08:00
Max Lv
66ed595c52
Add back the SNI addr reconstructor
2018-03-30 01:14:44 -07:00
Linus Yang
1f9dd2fbf4
MinGW: fix socket closing in wrong place
2018-03-22 19:31:01 +08:00
Linus Yang
14fb82b966
Enable plugins on MinGW
2018-03-14 09:58:25 +08:00
Max Lv
a377c5114a
Fix #1974
2018-03-13 02:58:48 -07:00
Linus Yang
3f00e533bf
Minor format fix
2018-03-12 13:16:37 +08:00
Linus Yang
0a11c87aa5
Do not override error code of setsockopt
2018-03-12 12:41:51 +08:00
Linus Yang
f4c612f832
Support TCP fast open on Windows
2018-03-09 17:46:38 +08:00
Linus Yang
2ed8791dab
Re-add support for MinGW
2018-03-08 17:26:11 +08:00
ksqsf
3c3c50b4f8
Search XDG_CONFIG_HOME for user-specific config
2018-02-11 00:30:09 +08:00
Max Lv
85a64ae836
Bump version
2018-01-15 17:25:03 -08:00
Max Lv
512891c66f
Refine SNI parser in ss-local
2018-01-07 20:20:15 -08:00
Max Lv
539bf6e66d
Avoid reconstructing requests with SNI/HTTP parser
2018-01-07 18:17:21 -08:00
Max Lv
afce1b3f42
Refine #1872
2018-01-05 01:09:41 -08:00