Max Lv
37ca6830ad
Refine #2402
5 years ago
神楽坂ニャン
94dc47da9d
Add echo for stat API
5 years ago
WHR
63a991cc43
ss-local: improve verbose logging; print hit of missing option
5 years ago
Max Lv
8d8b1cdcd5
Refine TCP related headers. #2387
5 years ago
Max Lv
a99c39c7dd
Simplify the server auto blocking mechanism
5 years ago
papadave66
5e65dc0fb1
change from bzero(3) to memset(3) for better compatibility. ( #2383 )
* change from bzero(3) to memset(3) for better compatibility.
* cleanup
5 years ago
Max Lv
3c44139f19
Clean up
5 years ago
Max Lv
4a42da641b
Allow bind to local IPv4/v6 addresses. Fix #2372
5 years ago
Max Lv
9c935f762e
Fix #2366
5 years ago
Max Lv
38e83d6b5d
Make sure socket buffer size no larger than max chunk size
5 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.
5 years ago
Max Lv
49526d8556
Fix ss-nat's log
5 years ago
Max Lv
c96e284ea9
Fix an issue of IPv6 NAT
5 years ago
Max Lv
f35c162357
Reduce size of UDP remote context
6 years ago
Chinsyo
7bd382042b
bump copyright year
6 years ago
Max Lv
3fa9e57248
Refine ipv6only handling
6 years ago
Max Lv
1a77023777
Fix #2314
6 years ago
ideal
a67e3308ce
cmake: keep execute permission of files in bin directory (e.g. ss-local) after cmake install
6 years ago
Max Lv
14dd82045e
Refine json config handling. #2308
6 years ago
ideal
b020179bb5
fix cmake build error on macOS: find libsodium header files
6 years ago
Jerry
1d5f250032
ss-nat: use ping to lookup dns A records
6 years ago
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.
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
d217209271
Revert "Switch user before starting plugin server" ( #2275 )
6 years ago
poplite
afeceeaf4d
Switch user before starting plugin server
6 years ago
Max Lv
333e98dc86
Redirect standard fd to /dev/null by default
6 years ago
Max Lv
85b190372b
Fix the ss_free macros
6 years ago
Max Lv
782311ad2b
Refine ss_align interfaces
6 years ago
Max Lv
fbb311ed06
Use _aligned_free for MinGW
6 years ago
Max Lv
4fb34de463
Use _aligned_malloc instead
6 years ago
Max Lv
ba930dcca7
Fix a compiler warning
6 years ago
Max Lv
d7fe31eae7
Refine ss_align for MinGW32
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
Simon Shi
0c2bda940c
Rename variable
6 years ago
Simon Shi
e5d8476afe
Update docs
6 years ago
Simon Shi
f268b278c0
Test homedir for ss-manager
Fix for user args
6 years ago
Ptomerty
d05970fd0c
Use existing IP regex
6 years ago
Ptomerty
f9cc909efa
check if dig exists first
6 years ago
Max Lv
1c1570b28c
Ensure 16-byte alignment. Fix #2233
6 years ago
Gyt
84b157e866
add server port in log file
6 years ago
Ptomerty
1dbeeaa46c
resolve domains in ss-nat
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