Max Lv
0987fb3632
fix an issue of endian
9 years ago
Max Lv
f3686420ea
fix typos
9 years ago
Max Lv
9f553536cb
Use IV + Chunk id as key of BLAKE2b
9 years ago
Max Lv
552fca1bff
Use one time key for BLAKE2b
9 years ago
Max Lv
d3e43e09a2
Refine the authentication for true CCA
9 years ago
Max Lv
441ac45547
Use one time key for BLAKE2b
9 years ago
Max Lv
1e10661a51
Refine the authentication for true CCA
9 years ago
Max Lv
3042dd6a06
fix an issue of ACL
9 years ago
Max Lv
5ae4df94e4
Update the hash function
9 years ago
Max Lv
b49edb9095
fix a buffer overflow
9 years ago
Gang Zhuo
50b503803c
fix the protocol document
9 years ago
Max Lv
53c2900b19
refine onetime auth
9 years ago
Max Lv
8d13b2d34e
fix #398
9 years ago
Max Lv
de8041b618
fix a buffer issue
9 years ago
Max Lv
6d79387715
use crc16
9 years ago
Max Lv
5c98a84fdd
refine log
9 years ago
Max Lv
703374cae8
fix a buf issue
9 years ago
Max Lv
2feb417e94
refine log
9 years ago
Max Lv
58e6dbd470
refine the protocol document
9 years ago
Max Lv
9e021aa919
add CRC8 for payload authentication
9 years ago
Max Lv
a2e4c02da2
fix a typo
9 years ago
Max Lv
59b6fd992f
Revert "apply onetime auth to the first packet"
This reverts commit 889e4b96a1
.
9 years ago
Max Lv
889e4b96a1
apply onetime auth to the first packet
9 years ago
Max Lv
1b04b52490
update pthread lib configs
9 years ago
Max Lv
d8e83f6598
update openssl m4
9 years ago
Max Lv
226cfa2973
tune udp conn pool size
9 years ago
Max Lv
f19390724b
fix #393
9 years ago
Max Lv
9f4c4953dc
fix #391
9 years ago
Max Lv
4daab0e869
disable iv check for rc4
9 years ago
Max Lv
c78610a37a
bump version
9 years ago
Max Lv
20bc7fa227
fix auth issue of tunnel and redir
9 years ago
Max Lv
656c97e64e
fix auth flag in tunnel and redir
9 years ago
Max Lv
9d2c14b335
encode auth flag in atyp
9 years ago
Max Lv
42ee808681
add onetime authentication
9 years ago
Max Lv
e686d6594f
fix iv cache
9 years ago
Max Lv
5a52a97bd4
fix typo
9 years ago
Max Lv
491d22f7a8
remove md5 in conn cache
9 years ago
Max Lv
a50e00c240
refine conn cache
9 years ago
Max Lv
ea2326ec8f
Update utils.c
9 years ago
Max Lv
096e1eca5d
fix a build issue
9 years ago
Max Lv
4c508e1ed4
add ip addr support
9 years ago
Max Lv
7f9e158f85
fix a build issue
9 years ago
Max Lv
5f3c2e1256
Add ss-manager for multi-user control and traffic statistics.
10 years ago
Syrone Wong
a8059f4e6f
Fix typo in encrypt.c
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Max Lv
e3ed222360
Revert "use abstract namespace"
This reverts commit 5d4db4f093
.
10 years ago
Max Lv
5d4db4f093
use abstract namespace
10 years ago
Max Lv
35297b6c22
clean up
10 years ago
Max Lv
ac186749ee
clean up
10 years ago
Syrone Wong
e81b205e61
Add mbed TLS support for shadowsocks-libev
Notes:
- Test cipher CFB support just in case (i.e. OpenWrt disabled it)
- Added some inline notes, please feel free to modify or remove them.
- Sorry for my bad English
- If you want to compile for OpenWrt, please make sure this hunk[1] not exists.
- Only tested on ARM mamba (Linksys WRT1900AC v1), it works.
[1] https://github.com/openwrt-mirror/openwrt/blob/master/package/libs/mbedtls/patches/200-config.patch#L12-L20
Have fun!
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
10 years ago
Max Lv
aaf7284234
avoid protect socket every time
10 years ago