Max Lv
3c44139f19
Clean up
2019-05-16 14:32:07 +08:00
Max Lv
4a42da641b
Allow bind to local IPv4/v6 addresses. Fix #2372
2019-05-09 10:59:16 +08:00
Max Lv
9c935f762e
Fix #2366
2019-05-06 00:07:56 -04:00
Max Lv
38e83d6b5d
Make sure socket buffer size no larger than max chunk size
2019-04-30 09:34:31 +08:00
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
Max Lv
49526d8556
Fix ss-nat's log
2019-04-26 17:07:46 +08:00
Max Lv
c96e284ea9
Fix an issue of IPv6 NAT
2019-04-26 16:55:49 +08:00
Max Lv
f35c162357
Reduce size of UDP remote context
2019-03-24 22:15:25 -04: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
1a77023777
Fix #2314
2019-03-10 07:21:55 +08:00
ideal
a67e3308ce
cmake: keep execute permission of files in bin directory (e.g. ss-local) after cmake install
2019-03-06 11:42:52 +08:00
Max Lv
14dd82045e
Refine json config handling. #2308
2019-03-05 09:52:44 +08:00
ideal
b020179bb5
fix cmake build error on macOS: find libsodium header files
2019-03-04 20:35:37 +08:00
Jerry
1d5f250032
ss-nat: use ping to lookup dns A records
2019-03-02 20:52:09 +08:00
Jerry
6734e12172
ss-nat: fix hostname lookup bugs introduced in #2230
...
Fixes: An ipv4 address went through dig and returns nothing, causing the script to print help.
ip address can be handled correctly now.
2019-03-02 20:12:41 +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
d217209271
Revert "Switch user before starting plugin server" ( #2275 )
2019-02-04 08:27:02 +08:00
poplite
afeceeaf4d
Switch user before starting plugin server
2019-02-03 23:32:52 +08:00
Max Lv
333e98dc86
Redirect standard fd to /dev/null by default
2019-01-28 21:59:30 +08:00
Max Lv
85b190372b
Fix the ss_free macros
2019-01-22 16:20:49 +08:00
Max Lv
782311ad2b
Refine ss_align interfaces
2019-01-22 12:59:29 +08:00
Max Lv
fbb311ed06
Use _aligned_free for MinGW
2019-01-22 12:43:39 +08:00
Max Lv
4fb34de463
Use _aligned_malloc instead
2019-01-22 12:39:29 +08:00
Max Lv
ba930dcca7
Fix a compiler warning
2019-01-22 09:17:53 +08:00
Max Lv
d7fe31eae7
Refine ss_align for MinGW32
2019-01-21 17:51:37 +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
Simon Shi
0c2bda940c
Rename variable
2019-01-05 09:34:52 +08:00
Simon Shi
e5d8476afe
Update docs
2019-01-04 23:28:52 +08:00
Simon Shi
f268b278c0
Test homedir for ss-manager
...
Fix for user args
2019-01-04 23:11:25 +08:00
Max Lv
9545ce20a4
Merge pull request #2230 from Ptomerty/patch-1
...
Use dig builtin to resolve hostnames in ss-nat
2018-12-03 09:22:05 +08:00
Ptomerty
d05970fd0c
Use existing IP regex
2018-11-29 23:13:06 -05:00
Ptomerty
f9cc909efa
check if dig exists first
2018-11-29 21:33:17 -05:00
Max Lv
1c1570b28c
Ensure 16-byte alignment. Fix #2233
2018-11-28 16:23:27 +08:00
Gyt
84b157e866
add server port in log file
2018-11-26 21:16:25 +08:00
Ptomerty
1dbeeaa46c
resolve domains in ss-nat
2018-11-25 21:29:18 -05: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
519776cee4
Relax the nonce check in clients
2018-11-13 23:09:05 +08:00
Max Lv
569570cfa9
Fix #2215
2018-11-13 21:31:34 +08:00
Max Lv
92cab3503c
Add check for reusing server's nonce/salt
2018-10-19 09:01:39 +08:00
Max Lv
482040a5dd
Fix a potential stackoverflow issue
2018-10-19 08:52:04 +08:00
Max Lv
1acdb1997d
Fix #2194
2018-10-15 12:58:40 +08:00