Max Lv
e9f2369486
handle EINPROGRESS nicely
10 years ago
Max Lv
5114f43dbf
bump version
10 years ago
Max Lv
1268016e06
remove tcp_nodelay
10 years ago
Symeon Huang
5bf9f7e439
fflush stderr on Windows.
unfortunately, Windows will buffer stderr if it's not executed in `cmd.exe`,
which will cause unpleasant buffered log output. adding fflush(stderr) will
solve this aged issue.
10 years ago
Max Lv
042749d533
fix build on win32
10 years ago
Max Lv
693b198887
refine server end
10 years ago
Max Lv
6118fefd04
replace sys/queue with cork_dllist
10 years ago
Max Lv
b198d1da2e
bump version
10 years ago
Max Lv
20ac8cf05a
refine the log
10 years ago
Max Lv
08a35fd1bb
handle sigterm and sigkill
10 years ago
Max Lv
14933dcc57
refine the log
10 years ago
Max Lv
f6b87fcd00
handle sigterm and sigkill
10 years ago
Max Lv
14431b463c
fix #142 and fix #143
10 years ago
Max Lv
3807b5766f
refine fast open
10 years ago
Max Lv
3eebb44a4f
bump version
10 years ago
Max Lv
6f64d431b6
enable building shared library for #128
10 years ago
Max Lv
7adc9037ae
refine #128
10 years ago
Max Lv
1008cf1f5b
fix #128
10 years ago
Max Lv
30cff681ed
update configure
10 years ago
Max Lv
d1d2847fc7
fix a typo
10 years ago
Max Lv
86087825a9
refine library interface
10 years ago
Max Lv
0e74b87a22
use smaller UDP NAT cache
10 years ago
Max Lv
271d55942c
use a smaller timeout
10 years ago
Max Lv
4266730eb8
try to fix build issues on centos
10 years ago
Max Lv
e9ced4a29e
fix #132
10 years ago
Max Lv
e3e9018f37
add checks for netfilter's headers
10 years ago
Blaok
afe43922fa
redir增加IPv6支持
10 years ago
Blaok
09061a6420
redir模块添加IPv6支持
没有找到直接探测IP版本的有效方法,暂时用试的。已经支持IPv4和IPv6透明代理转发。
10 years ago
Blaok
936eea67b4
IPv6重定向转发完成
原来有一个设定地址类型的选项。所以接下来看看能不能整合一下IPv4和IPv6。
10 years ago
Blaok
d9eadc5c09
正确获取IPv6重定向源地址
已经证实IPv6重定向是可以正确获取源地址的,原有问题出在用于显示地址格式函数上面,字节序什么的似乎不对,只是显示有问题,直接打印结构体显示IPv6地址完全正确。
偷懒特么坑爹啊,早点自己打印地址就好了……
10 years ago
Blaok
cef3586733
尝试将ss-redir的转发改为IPv6转发
目前`IP6T_SO_ORIGINAL_DST`这个东西上边,不能正确获取原始目标地址。尝试`curl bt.byr.cn`,前面一部分地址可以看到是`a:50::2001:da8:215:4078`,但是格式完全不对,内容也不全,正确的地址应该是`2001:da8:215:4078:250:56ff:fe97:654d`。估计是某些针对IPv4的设定没有改过来。改日再看。
另外吐槽一下原版毫无注释的代码……
10 years ago
Max Lv
1235900963
fix a build issue
10 years ago
Max Lv
9d6fccf3dc
fix travis
10 years ago
Max Lv
c036c0e9bb
move auxiliary files to auto
10 years ago
Max Lv
d93a647639
add a header file for library interface
10 years ago
Liu Qishuai
dc77188954
fixes
10 years ago
Max Lv
ff80e8d812
clean up
10 years ago
clowwindy
739feb925a
revert autotools version
10 years ago
clowwindy
039e90df96
support building as libshadowsocks
10 years ago
Liu Qishuai
54345cbee0
add TCP-fast-open support from server to remote
10 years ago
Max Lv
1ed22d8703
bump version
10 years ago
Max Lv
9360fb553f
fix #122
10 years ago
Max Lv
de0791a0dd
fix travis
10 years ago
Max Lv
1fcd60884d
fix #121
10 years ago
Jesse
c7ae92621c
On Windows, read CRLF ending file exist some problem that tested by MinGW and VS2008.
1)open CRLF ending file in text mode
2)
fseek(f, 0, SEEK_END);
long pos = ftell(f); // return the file total byte
fseek(f, 0, SEEK_SET);
3)
int nread = fread(buf, pos, 1, f); // always return 0 to nread
int nread = fread(buf, 1, pos, f); // return readed byte with CRLF converted to LF. it means pos - nread = CRLF's count.
10 years ago
clowwindy
369d27ee78
increase BUF_SIZE
10 years ago
Max Lv
06f1a57c9b
enlarge timeout
10 years ago
Max Lv
96bdb77296
bump version
10 years ago
clowwindy
0d926cbb99
add rc4-md5 encryption method
10 years ago
Max Lv
457fc589e7
update documents
10 years ago