William Wong
1948330bc2
Fix a compile error with mingw64
Fix an error below.
json.c:135:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
(state, values_size + ((unsigned long) value->u.object.values), 0)) )
^
10 years ago
William Wong
aaccd9f5db
Fix compile errors with mingw64
Fix two errors:
win32.c:36:9: error: format '%s' expects argument of type 'char *', but argument 5 has type 'void **' [-Werror=format=]
LOGE("%s: %s", s, msg);
^
and
win32.c:47:9: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Werror=format=]
LOGE("ioctlsocket failed with error: %ld\n", iResult);
^
10 years ago
Max Lv
94bd9dfa0a
fix an issue
10 years ago
Max Lv
2128fc9bab
update OpenWRT's makefile
10 years ago
Max Lv
c9c4873347
fix setuid issue
10 years ago
Max Lv
c9a0f9b3eb
Revert "update scripts"
This reverts commit d14da247dc
.
10 years ago
Max Lv
d14da247dc
update scripts
10 years ago
Max Lv
2ad32adcb6
bump OpenWRT's version
10 years ago
Max Lv
f403bc7f06
bump version
10 years ago
Max Lv
bcad7d5193
Merge pull request #57 from KennethLaw/master
Duplicate text
10 years ago
luojianhui
fa1ce72469
Duplicate text
10 years ago
Max Lv
f7765385f5
update shadowsocks init
10 years ago
Max Lv
465e487e30
Merge pull request #56 from Hexcles/master
Better support for daemon command line arguments (for Debian).
10 years ago
Hexcles Ma
2943e176d1
Better support for daemon command line arguments.
Put DAEMON_ARGS into init script and add it to service default
configuration.
10 years ago
Max Lv
a9e7dad7c8
fix #54
10 years ago
Max Lv
528b4dab8a
fix #20
10 years ago
Max Lv
087e67a732
refine the log output
10 years ago
Max Lv
0012b27365
Merge pull request #52 from linusyang/applecc
Serious bug fix for Apple CC branch
10 years ago
Linus Yang
5fd6cd22f7
darwin: applecc: fix compile warnings
10 years ago
Linus Yang
8f88399ffc
darwin: applecc: fix iv not randomized issue
10 years ago
Max Lv
e0d8a15971
Merge pull request #51 from linusyang/applecc
Support for Apple's CommonCrypto API
10 years ago
Linus Yang
5e5c853807
darwin: initial support for CommonCrypto API
10 years ago
Max Lv
40ea3f690b
Merge pull request #50 from nanpuyue/patch-1
refine openwrt build / init scripts
10 years ago
南浦月
0ce9c15186
Update shadowsocks.init
1.使用OpenWrt提供的service_start及service_stop函数控制服务开关
2.由service_start函数生成pid文件
3.改配置文件目录为/etc/shadowsocks.json
10 years ago
南浦月
82d6d2f772
Update Makefile
1./etc/config下的配置文件都是uci的配置文件,所以建议将shadowsocks.json置于/etc/shadowsocks.json
2.PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION),为两个版本设置不同的编译目录,否则当同时编译两个版本时出错
3.优化安装脚本
10 years ago
Max Lv
5709df6e83
add run_as option
10 years ago
Max Lv
f402119f6d
refine get_addr_str
10 years ago
Max Lv
b2df5a4c26
fix redir
10 years ago
Max Lv
2b92b57bed
fix the ambiguous type defination
10 years ago
Max Lv
78c79de7dc
update usage
10 years ago
Max Lv
e48a7ceeeb
update OpenWRT
10 years ago
Max Lv
69f8bd61c0
fix the udp connection cache
10 years ago
Max Lv
11da9b233a
fix the buffer corruption
10 years ago
Max Lv
7063d1fa6f
update json-parser
10 years ago
Max Lv
bcd7864a4b
update README
10 years ago
Max Lv
26f46bee1f
Merge pull request #45 from madeye/ss-tunnel
Add tunnel mode
10 years ago
Max Lv
f7212f01f9
Merge branch 'ss-tunnel' of https://github.com/madeye/shadowsocks-libev into ss-tunnel
10 years ago
Max Lv
45c1aecfe3
bump version
10 years ago
Max Lv
b0b2a30bb8
fix the udp tunnel
10 years ago
Max Lv
3ed440f6ae
fix a memory corruption
10 years ago
Max Lv
84e04eefaa
WiP: finish the udp part
10 years ago
Max Lv
6107427bf0
WiP: handle both ipv4 and ipv6
10 years ago
Max Lv
2153e3fd04
WiP: add tunnel mode
10 years ago
Max Lv
e737a1ceff
bump version
10 years ago
Max Lv
a407a064d0
fix the udp tunnel
10 years ago
Max Lv
3a8bf98ebc
fix a memory corruption
10 years ago
Max Lv
30cbb8e8c1
fix #44
10 years ago
Max Lv
e9a7c0166b
fix #44
10 years ago
Max Lv
ef432f078b
Fix the pid file in centos init script
10 years ago
Max Lv
1bdcadf7e7
Update the init script of centos
10 years ago