782 Commits
Author SHA1 Message Date
Max Lv 096e1eca5d fix a build issue v2.3.0 2015-08-12 12:42:09 +08:00
Max Lv 4c508e1ed4 add ip addr support 2015-08-12 12:27:59 +08:00
Max Lv 7f9e158f85 fix a build issue 2015-08-12 09:53:33 +08:00
Max Lv 07a8bb1e0d Merge pull request #371 from shadowsocks/manager-int
Add ss-manager for multi-user control and traffic statistics.
2015-08-11 18:11:39 +08:00
Max Lv 5f3c2e1256 Add ss-manager for multi-user control and traffic statistics. 2015-08-11 18:57:18 +09:00
Max Lv e2654bf702 Merge pull request #370 from wongsyrone/patch-1
Fix typo in encrypt.c
2015-08-10 19:47:09 +08:00
Syrone Wong a8059f4e6f Fix typo in encrypt.c
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2015-08-10 19:26:01 +08:00
Max Lv e3ed222360 Revert "use abstract namespace"
This reverts commit 5d4db4f093.
2015-08-05 08:58:33 +08:00
Max Lv 5d4db4f093 use abstract namespace 2015-08-04 09:23:15 +08:00
Max Lv 35297b6c22 clean up 2015-08-02 15:23:08 +09:00
Max Lv cd3e20f97d Merge pull request #368 from wongsyrone/fix-libsodium-redefined-marco
libsodium: Fix _FORTIFY_SOURCE redefined issue
2015-08-02 14:20:59 +08:00
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.
2015-08-02 10:21:42 +08:00
Max Lv 91730267dd Merge pull request #367 from wongsyrone/patch-1
generate config.h.in for mbed TLS support
2015-08-01 20:55:59 +08:00
Syrone Wong b232d3bbb6 generate config.h.in for mbed TLS support 2015-08-01 20:46:30 +08:00
Max Lv ac186749ee clean up 2015-08-01 14:23:47 +08:00
Max Lv bde0d26c7c Merge pull request #366 from wongsyrone/master
Add more mbed TLS cipher check
2015-08-01 11:34:20 +08:00
Syrone Wong 56daf99944 Add more mbed TLS cipher check
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2015-08-01 11:16:33 +08:00
Max Lv 5424cbe27c Merge pull request #365 from wongsyrone/master
Add mbed TLS support for shadowsocks-libev
2015-08-01 08:36:12 +08:00
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>
2015-08-01 07:52:04 +08:00
Max Lv aaf7284234 avoid protect socket every time 2015-07-31 18:50:30 +08:00
Max Lv 7260153439 add log for possible ip fragmentation 2015-07-31 16:38:25 +08:00
Max Lv b3911fc84f fix a build issue 2015-07-31 13:11:35 +08:00
Max Lv a9f8b2bdfa drop large UDP packets 2015-07-31 10:28:46 +08:00
Max Lv 6c9ad95232 fix a typo 2015-07-30 16:43:23 +08:00
Max Lv 2e65ccaf78 bump version 2015-07-30 17:40:54 +09:00
Max Lv d2794c0c98 disable TCP_FASTOPEN for EI Capitan 2015-07-30 16:29:41 +08:00
Max Lv 60bdea5b85 update a marco of detecting linux 2015-07-30 16:19:19 +08:00
Max Lv 23ff3bf96a fix a build issue 2015-07-28 19:28:32 +08:00
Max Lv 1d5a3b9f1b fix #357 2015-07-28 19:18:42 +08:00
Max Lv 3af591c565 Merge pull request #359 from shadowsocks/android-ipc
Add some IPC functions for Android VPN mode
2015-07-25 06:56:44 +08:00
Max Lv 3d2b980161 add android vpn mode option 2015-07-24 21:38:12 +08:00
Max Lv 94a1c4fa10 use blocking IPC 2015-07-24 20:42:22 +08:00
Max Lv 680007589c fix a build issue 2015-07-24 18:55:19 +08:00
Max Lv 87fb636545 fix some issues 2015-07-24 14:07:53 +08:00
Max Lv 15010013a4 protect udp relay socket 2015-07-24 13:51:36 +08:00
Max Lv 2c0dd4a33d fix some issues 2015-07-24 10:55:29 +08:00
Max Lv feed7cc1f9 add android ipc function 2015-07-24 10:42:46 +08:00
Max Lv a132e84465 refine a function name 2015-07-23 12:53:41 +08:00
Max Lv 2b1eef1197 fix #356, disable TLS for uClibc 2015-07-20 00:32:03 +09:00
Max Lv 53ddb3b4d2 enlarge min UDP relay timeout v2.2.3 2015-07-14 21:05:46 +08:00
Max Lv e762723fc2 Merge pull request #347 from hosiet/fix-grammar
Change 'scoks' to 'socks'
2015-07-14 15:11:32 +08:00
Boyuan Yang 025ea589d0 Change 'scoks' to 'socks' 2015-07-14 14:36:09 +08:00
Max Lv 8283e51597 enlarge the default timeout 2015-07-14 09:08:29 +08:00
Max Lv e4a795dad2 fix an issue of TPROXY 2015-07-13 20:20:53 +08:00
Max Lv 09152d405d refine the handling of dest addr 2015-07-13 10:22:24 +08:00
Max Lv b517ec2c91 fix a corner case 2015-07-12 22:20:40 +08:00
Max Lv 430fa956e3 Merge pull request #344 from shadowsocks/udp-refine
Refine UDP relay on remote side
2015-07-12 22:16:58 +08:00
Max Lv e980265bde allow different destination addresses in UDP relay 2015-07-12 22:06:37 +08:00
Max Lv 415da01dcd refine udp header constructor 2015-07-12 21:51:31 +08:00
Max Lv 78c2ab9166 fix #341 2015-07-12 18:02:56 +08:00