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
9 years ago
Max Lv
3d2b980161
add android vpn mode option
9 years ago
Max Lv
94a1c4fa10
use blocking IPC
9 years ago
Max Lv
680007589c
fix a build issue
9 years ago
Max Lv
87fb636545
fix some issues
9 years ago
Max Lv
15010013a4
protect udp relay socket
9 years ago
Max Lv
2c0dd4a33d
fix some issues
9 years ago
Max Lv
feed7cc1f9
add android ipc function
9 years ago
Max Lv
a132e84465
refine a function name
9 years ago
Max Lv
2b1eef1197
fix #356 , disable TLS for uClibc
9 years ago
Max Lv
53ddb3b4d2
enlarge min UDP relay timeout
9 years ago
Max Lv
e762723fc2
Merge pull request #347 from hosiet/fix-grammar
Change 'scoks' to 'socks'
9 years ago
Boyuan Yang
025ea589d0
Change 'scoks' to 'socks'
9 years ago
Max Lv
8283e51597
enlarge the default timeout
9 years ago
Max Lv
e4a795dad2
fix an issue of TPROXY
9 years ago
Max Lv
09152d405d
refine the handling of dest addr
9 years ago
Max Lv
b517ec2c91
fix a corner case
9 years ago
Max Lv
430fa956e3
Merge pull request #344 from shadowsocks/udp-refine
Refine UDP relay on remote side
9 years ago
Max Lv
e980265bde
allow different destination addresses in UDP relay
9 years ago
Max Lv
415da01dcd
refine udp header constructor
9 years ago
Max Lv
78c2ab9166
fix #341
9 years ago
Max Lv
12c3136b9c
fix a typo
9 years ago
Max Lv
7764466998
fix the timer
9 years ago