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
aced168bbc
Merge pull request #390 from hosiet/fix-pkgconfig
Fix mistake in pkgconfig .pc file
9 years ago
Boyuan Yang
7672e5fe67
Fix mistake in pkgconfig .pc file
9 years ago
Max Lv
4daab0e869
disable iv check for rc4
9 years ago
Max Lv
f45f7f2815
update README
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
8cc32a18e0
Update README.md
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
07a8bb1e0d
Merge pull request #371 from shadowsocks/manager-int
Add ss-manager for multi-user control and traffic statistics.
9 years ago
Max Lv
5f3c2e1256
Add ss-manager for multi-user control and traffic statistics.
9 years ago
Max Lv
e2654bf702
Merge pull request #370 from wongsyrone/patch-1
Fix typo in encrypt.c
9 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
.
9 years ago
Max Lv
5d4db4f093
use abstract namespace
9 years ago
Max Lv
35297b6c22
clean up
9 years ago
Max Lv
cd3e20f97d
Merge pull request #368 from wongsyrone/fix-libsodium-redefined-marco
libsodium: Fix _FORTIFY_SOURCE redefined issue
9 years ago
Syrone Wong
a135d9c41e
libsodium: Fix _FORTIFY_SOURCE redefined issue
If we already defined `CFLAGS=-D_FORTIFY_SOURCE=1`, it will still check `-D_FORTIFY_SOURCE=2` and
add it to CPPFLAGS. In this case, we redefine `_FORTIFY_SOURCE` to both 1 and 2 if compiler accepts `-D_FORTIFY_SOURCE=2`.
Fix this issue by checking whether `_FORTIFY_SOURCE` was defined or not.
If defined, do nothing. If not, then check `-D_FORTIFY_SOURCE=2`.
BTW, OpenWrt's buildroot uses `-D_FORTIFY_SOURCE=1` for most targets by default.
9 years ago
Max Lv
91730267dd
Merge pull request #367 from wongsyrone/patch-1
generate config.h.in for mbed TLS support
9 years ago
Syrone Wong
b232d3bbb6
generate config.h.in for mbed TLS support
9 years ago
Max Lv
ac186749ee
clean up
9 years ago
Max Lv
bde0d26c7c
Merge pull request #366 from wongsyrone/master
Add more mbed TLS cipher check
9 years ago
Syrone Wong
56daf99944
Add more mbed TLS cipher check
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Max Lv
5424cbe27c
Merge pull request #365 from wongsyrone/master
Add mbed TLS support for shadowsocks-libev
9 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>
9 years ago
Max Lv
aaf7284234
avoid protect socket every time
9 years ago
Max Lv
7260153439
add log for possible ip fragmentation
9 years ago
Max Lv
b3911fc84f
fix a build issue
9 years ago
Max Lv
a9f8b2bdfa
drop large UDP packets
9 years ago
Max Lv
6c9ad95232
fix a typo
9 years ago
Max Lv
2e65ccaf78
bump version
9 years ago
Max Lv
d2794c0c98
disable TCP_FASTOPEN for EI Capitan
9 years ago
Max Lv
60bdea5b85
update a marco of detecting linux
9 years ago
Max Lv
23ff3bf96a
fix a build issue
9 years ago
Max Lv
1d5a3b9f1b
fix #357
9 years ago
Max Lv
3af591c565
Merge pull request #359 from shadowsocks/android-ipc
Add some IPC functions for Android VPN mode
10 years ago
Max Lv
3d2b980161
add android vpn mode option
10 years ago
Max Lv
94a1c4fa10
use blocking IPC
10 years ago