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
|
659f845bf9
|
build with libev
|
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 |
Max Lv
|
dbc78504bd
|
Merge pull request #126 from lqs/tfo
add TCP-fast-open support from server to remote
|
10 years ago |
Liu Qishuai
|
dc77188954
|
fixes
|
10 years ago |
Max Lv
|
147b16b36f
|
fix make dist
|
10 years ago |
Max Lv
|
ff80e8d812
|
clean up
|
10 years ago |
Max Lv
|
829a944441
|
Merge pull request #127 from clowwindy/master
Support building as libshadowsocks
|
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
|
5d7dd372fc
|
bump version
|
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 |
Max Lv
|
6040c0cd60
|
Update README.md
|
10 years ago |
Max Lv
|
d700557978
|
Merge pull request #119 from fdb713/master
Mod: add building from source section for Debian part in README.md
|
10 years ago |
root
|
027c7b3f5a
|
Mod: update building from source for debian in README.md
|
10 years ago |
Max Lv
|
a05585bbe2
|
Merge pull request #116 from boytm/master
On Windows, read CRLF ending file exist some problem that tested by MinG...
|
10 years ago |
Max Lv
|
e88794dd27
|
Merge pull request #115 from clowwindy/master
increase BUF_SIZE
|
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
|
d37f8d3025
|
update README
|
10 years ago |
Max Lv
|
59a1f06dbc
|
update configure
|
10 years ago |
Max Lv
|
96bdb77296
|
bump version
|
10 years ago |
Max Lv
|
afeed97e91
|
Merge pull request #111 from clowwindy/master
Implement a correct RC4 encryption
|
10 years ago |
clowwindy
|
0d926cbb99
|
add rc4-md5 encryption method
|
10 years ago |
Max Lv
|
457fc589e7
|
update documents
|
10 years ago |
Max Lv
|
53f0af4e9e
|
refine the timer
|
10 years ago |
Max Lv
|
1a3e6b5127
|
refine the buffer idx
|
10 years ago |
Max Lv
|
cf04f73a98
|
refine buffer handling
|
10 years ago |
Max Lv
|
e9a530f9dc
|
fix #97
|
10 years ago |
Max Lv
|
e5b54753c7
|
fix compilation on cygwin
|
10 years ago |
Max Lv
|
dc9f18a2d8
|
Merge pull request #89 from dndx/master
Added ability to set open file descriptor limit at run-time
|
10 years ago |
Datong Sun
|
c53fddd96a
|
Fixed a typo
|
10 years ago |
Datong Sun
|
1d8719f2e4
|
Added support for setrlimit(2)
|
10 years ago |
Max Lv
|
0017b7c198
|
fix a overflow bug
|
10 years ago |
Max Lv
|
9abd8e8f50
|
Merge pull request #83 from fanzeyi/fix-rand
Init random generator before calling rand()
|
10 years ago |
Zeray Rice
|
de98597b75
|
add srand before rand
|
10 years ago |
Max Lv
|
b3f5639970
|
revert to old autotools
|
10 years ago |
Max Lv
|
182c81d14d
|
fix #80
|
10 years ago |
Max Lv
|
c2819d6243
|
fix a warning
|
10 years ago |
Max Lv
|
fc25beb70b
|
fix a typo
|
10 years ago |
Max Lv
|
57eb040f50
|
fix a bug
|
10 years ago |