Max Lv
|
656c97e64e
|
fix auth flag in tunnel and redir
|
9 years ago |
Max Lv
|
9d2c14b335
|
encode auth flag in atyp
|
9 years ago |
Max Lv
|
42ee808681
|
add onetime authentication
|
9 years ago |
Max Lv
|
8283e51597
|
enlarge the default timeout
|
9 years ago |
Max Lv
|
944e3b2a16
|
refine the log of TCP only mode
|
10 years ago |
Max Lv
|
ea9d293abe
|
add UDP relay only mode
|
10 years ago |
Max Lv
|
9431b9b0c3
|
Add TPROXY support for redir mode
|
10 years ago |
JohnnySun
|
4f45870970
|
Add try to use /etc/shadowsocks/config.json for ss-redir ss-server ss-tunnel.
|
10 years ago |
Max Lv
|
b875797839
|
clean up
|
10 years ago |
Max Lv
|
116db6c078
|
bind to 127.0.0.1 by default
|
10 years ago |
Max Lv
|
e6e75ed6fb
|
refine output
|
10 years ago |
Max Lv
|
86b78dedd7
|
fix potential overflow
|
10 years ago |
Max Lv
|
726a1b7dd7
|
clean up
|
10 years ago |
Max Lv
|
7ee996991f
|
fix a bug in ss-tunnel
|
10 years ago |
Max Lv
|
3b07420550
|
refine tcp_nodelay
|
10 years ago |
Max Lv
|
411e686106
|
fix http://www.v2ex.com/t/161515
|
10 years ago |
Max Lv
|
40e9be0021
|
Avoid getaddrinfo() in the main loop
|
10 years ago |
Max Lv
|
e5289e9ba4
|
Replace libasyncns with libudns
|
10 years ago |
Max Lv
|
2a15e97196
|
bump version
|
10 years ago |
Max Lv
|
7fc0a136ec
|
refine the connection close
|
10 years ago |
Max Lv
|
1e9f033baf
|
update redir
|
10 years ago |
Max Lv
|
a772aba1f4
|
refine log
|
10 years ago |
Max Lv
|
93d861f9b9
|
fix #187
|
10 years ago |
Max Lv
|
888c2438c3
|
refine timeout
|
10 years ago |
Max Lv
|
cd6a5e409d
|
tune timeout
|
10 years ago |
Max Lv
|
5114f43dbf
|
bump version
|
10 years ago |
Max Lv
|
1268016e06
|
remove tcp_nodelay
|
10 years ago |
Max Lv
|
b198d1da2e
|
bump version
|
10 years ago |
Max Lv
|
08a35fd1bb
|
handle sigterm and sigkill
|
10 years ago |
Max Lv
|
f6b87fcd00
|
handle sigterm and sigkill
|
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 |
clowwindy
|
369d27ee78
|
increase BUF_SIZE
|
10 years ago |
Max Lv
|
aec9f9bc9a
|
add license headers
|
11 years ago |
Max Lv
|
815c61f853
|
fix a typo
|
11 years ago |
Max Lv
|
c9a0f9b3eb
|
Revert "update scripts"
This reverts commit d14da247dc .
|
11 years ago |
Max Lv
|
d14da247dc
|
update scripts
|
11 years ago |
Max Lv
|
5709df6e83
|
add run_as option
|
11 years ago |
Max Lv
|
b2df5a4c26
|
fix redir
|
11 years ago |
Max Lv
|
6107427bf0
|
WiP: handle both ipv4 and ipv6
|
11 years ago |
Max Lv
|
2153e3fd04
|
WiP: add tunnel mode
|
11 years ago |
Max Lv
|
39c1282882
|
WiP: handle both ipv4 and ipv6
|
11 years ago |
Max Lv
|
29bdc17cec
|
WiP: add tunnel mode
|
11 years ago |
Zhang Yi
|
c6b3b99fe0
|
Log to syslog when running in daemon mode.
|
11 years ago |
Guizai
|
5d9c93a6d4
|
Add local bind address config
specific local address to bind in `config.json`:
`"local": "127.0.0.1"`
|
11 years ago |
Max Lv
|
26c57d61ef
|
fix build error
|
11 years ago |