Max Lv
32057ed3c5
Fix key sizes
8 years ago
Max Lv
c89f5f3f3f
Limit the max payload length to 0x3FFF
8 years ago
Max Lv
9c7add71dd
Fix #1148
8 years ago
Max Lv
e18f71b03f
Add Argon2i password hashing for AEAD
8 years ago
Max Lv
28e07cc08a
Clean up
8 years ago
Max Lv
4ebe5aeb12
Add SIP004 (AEAD) support
8 years ago
Roger Shimizu
d714d1f182
Refine #1133 second time ( #1136 )
8 years ago
Max Lv
c5807058ba
Add missing ss-nat
8 years ago
Max Lv
7ad1e65f6e
Fix array size with old libsodium
8 years ago
Max Lv
30fe158d88
Refine #1133
8 years ago
ElTopo
3aa92e3f0a
libsodium version checking with crypto_stream_chacha20_ietf_xor_ic() ( #1133 )
* crypto_stream_chacha20_ietf_xor_ic() was first available when libsodium was bumpped to version major 8. Debian jessie still uses major 7 minor 2, so check SODIUM_LIBRARY_VERSION_MAJOR and keep backwards compatibility.
* crypto_stream_chacha20_ietf_xor_ic() was first available when libsodium was bumped to version major 8. Debian jessie still uses major 7 minor 2, so check SODIUM_LIBRARY_VERSION_MAJOR and maintain backward compatibility.
8 years ago
Max Lv
d783aab537
Remove _WIN32
8 years ago
Max Lv
3f8cd982e5
Drop MinGW32 support
8 years ago
Max Lv
cb60579c74
Refine buffer handling in ss-manager
8 years ago
Max Lv
2d3a1b2a3e
Fix #1123
8 years ago
Max Lv
bcdc5559a8
Fix #1122
8 years ago
Max Lv
e3027c9bee
Remove P: from getopt
8 years ago
Mygod
da6a6884a9
Remove prefix option
8 years ago
Max Lv
4fd36ecf03
Fix building issues on MingW
8 years ago
Max Lv
633de3e228
Remove embedded libraries
8 years ago
Max Lv
8fce46ed62
Fix #1078
8 years ago
Max Lv
0acc79b430
Fix UDP relay when plugin enabled
8 years ago
Max Lv
92f0baa789
Update SIP003 interfaces
8 years ago
Max Lv
bfd365f0fd
Revert "Fix #1064"
This reverts commit dc94267fa1
.
8 years ago
Max Lv
dc94267fa1
Fix #1064
8 years ago
Max Lv
ad4bd45caa
Fix #1063
8 years ago
Max Lv
3fde843ec8
Fix #1061
8 years ago
Max Lv
dc39af8195
Avoid free the cwd with getcwd()
8 years ago
Max Lv
ecf1fcc845
Fix #1059
8 years ago
Roger Shimizu
1397bf133b
Fix FTBFS of PATH_MAX on GNU/Hurd
Info:
- https://www.gnu.org/software/hurd/community/gsoc/project_ideas/maxpath.html
- https://www.gnu.org/software/hurd/hurd/porting/guidelines.html#PATH_MAX_tt_MAX_PATH_tt_MAXPATHL
Quote:
when the __GLIBC__ macro is defined, getcwd() calls can be just
replaced by get_current_dir_name() calls.
8 years ago
Max Lv
c6355f5060
Fix #1057
8 years ago
Max Lv
355c264a20
Fix #1055
8 years ago
Max Lv
51135c9184
Fix #1054
8 years ago
Max Lv
dc96bced39
Fix #1051
8 years ago
Roger Shimizu
f59cd07992
fix typo in src/manager.c
8 years ago
Max Lv
94a341fe2c
Refine SIGCHLD handling
8 years ago
Max Lv
f67518a9d4
Fix #1050
8 years ago
Max Lv
77da84fb21
Validate hostname in redir mode #1047
8 years ago
Max Lv
97c58ad44d
Refine signal handling
8 years ago
Max Lv
61b82c45c5
Add SIP003 plugin support ( #1044 )
https://github.com/shadowsocks/shadowsocks-org/issues/28
8 years ago
GhostFlying
c807d2d6c4
fix bug when port reuse fail ( #1037 )
8 years ago
Max Lv
3b4af24fec
Fix indent
8 years ago
GhostFlying
9753cc54dc
Check port before add port via ss-manager ( #1035 )
* add simple port check functions
* release sock lock when manager exit
* simplfy the sock lock
* release sock lock when receive the stat report
* simplfy dns query
* add udp port check
* enable port check function
* clean code and logs
8 years ago
Max Lv
2f3eb4c11e
Fix building warnings on Cygwin
8 years ago
Max Lv
96a16f2612
Remove static_assert for clang
8 years ago
Mygod
5f33b73d4e
Add support for comments in the middle of the line in ACL files
8 years ago
Max Lv
79c722cded
Add static assert
8 years ago
Mygod
422b9d3df2
Refine ACL logic in local.c
8 years ago
Max Lv
b9e19bfdb7
Remove the hardcode compiler-time endian convert
8 years ago
Max Lv
15dfb6f10d
Refine the alignment again
8 years ago