Max Lv
59417b9779
Revert "Specify the alignment of all structs"
This reverts commit d0285d6b4f
.
5 years ago
Max Lv
d0285d6b4f
Specify the alignment of all structs
5 years ago
Max Lv
f0205e7f13
Refine the helper function
5 years ago
Max Lv
ab9764dbdf
Fix building issues on Linux
5 years ago
Max Lv
6c28add775
Enable -Wcas-align for #2412
5 years ago
Max Lv
a161265786
Reduce the verbosity on plugin terminating error
5 years ago
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
5 years ago
Chinsyo
7bd382042b
bump copyright year
5 years ago
Max Lv
3fa9e57248
Refine ipv6only handling
5 years ago
Max Lv
1a77023777
Fix #2314
5 years ago
ideal
a67e3308ce
cmake: keep execute permission of files in bin directory (e.g. ss-local) after cmake install
5 years ago
Max Lv
14dd82045e
Refine json config handling. #2308
5 years ago
ideal
b020179bb5
fix cmake build error on macOS: find libsodium header files
5 years ago
Jerry
1d5f250032
ss-nat: use ping to lookup dns A records
5 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.
5 years ago
Max Lv
144138788b
Refine ipv6 only handling. #2300
5 years ago
Max Lv
404ec62b79
Fix #2285
5 years ago
Max Lv
b430124ed8
Refine is_remote_dns defination
5 years ago
Max Lv
d217209271
Revert "Switch user before starting plugin server" ( #2275 )
5 years ago
poplite
afeceeaf4d
Switch user before starting plugin server
5 years ago
Max Lv
333e98dc86
Redirect standard fd to /dev/null by default
5 years ago
Max Lv
85b190372b
Fix the ss_free macros
5 years ago
Max Lv
782311ad2b
Refine ss_align interfaces
5 years ago
Max Lv
fbb311ed06
Use _aligned_free for MinGW
5 years ago
Max Lv
4fb34de463
Use _aligned_malloc instead
5 years ago
Max Lv
ba930dcca7
Fix a compiler warning
5 years ago
Max Lv
d7fe31eae7
Refine ss_align for MinGW32
5 years ago
Max Lv
d6b21daa9c
Refine ACL log
5 years ago
Max Lv
c33cf3efc0
Fix #2267
5 years ago
Max Lv
7ad2df9615
Remove all connection timeout from local clients
5 years ago
Mygod
dc298c4f2b
Allow long direct TCP connections
Fixes https://github.com/shadowsocks/shadowsocks-android/issues/2078 .
5 years ago
Mygod
641e4ed9c8
Refine passing plugin args
Refine 68f885c271
. Somehow I postponed this change for 8 months. Good job me!
5 years ago
Mygod
7fc05dcd9d
Specify stat_path on Android
5 years ago
Simon Shi
0c2bda940c
Rename variable
5 years ago
Simon Shi
e5d8476afe
Update docs
5 years ago
Simon Shi
f268b278c0
Test homedir for ss-manager
Fix for user args
5 years ago
Ptomerty
d05970fd0c
Use existing IP regex
6 years ago