Comments (19)
不支持这种多IP绑定的,监听多个IP请用 0.0.0.0 或 ::0
from shadowsocks-libev.
但是我用两个-s就没问题。两个-s分别监听两个特定的IP,一个v4一个v6,都能正常工作,所以大概create_and_bind()自己是没问题的。
我下载了您的源码,并用最新版的json.c和json.h覆盖编译之后,运行结果相同,用-s能绑定任意两个IP,外部读入json就不行。所以是不是jconf的处理有些问题?同样的文件Node.Js版的Shadowsocks就能用的
from shadowsocks-libev.
把你的config贴上来
from shadowsocks-libev.
{
"server": ["157.7.201.XX", "2400:8500:1301:800:157:7:201:XX"],
"server_port": 23333,
"local_port": 33332,
"password":"XXXXXXX",
"timeout":600,
"method":"aes-256-cfb"
}
from shadowsocks-libev.
我这儿可以正常启动
from shadowsocks-libev.
2400:8500:1301:800:157:7:201:XX
1___2____3____4___5__6_7__8
8×16=128bit
from shadowsocks-libev.
我现在这个config.json用node.js版本的正在跑的~
就是说,您这个版本,IPv6如果写入config.json就必须自己声明一下端口?
from shadowsocks-libev.
小弟也问个问题, 服务器那边有无方法获取到客户端的IP,有时候遇上恶意攻击的,可以做过滤.看日志没有打印客户端的IP
2014-02-21 9:35 GMT+08:00 Frederick888 [email protected]:
2400:8500:1301:800:157:7:201:XX
1 2 3 4 5 6 7 8
8×16=128bit—
Reply to this email directly or view it on GitHubhttps://github.com/madeye/shadowsocks-libev/issues/44#issuecomment-35690603
.
Regards
henry shen
Power-All Networks Ltd www.powerallnetworks.com
from shadowsocks-libev.
更新到最新代码后再试一次。
from shadowsocks-libev.
from shadowsocks-libev.
稍等我更新一下
from shadowsocks-libev.
root@Onee3-Web:/usr/lib/node_modules/shadowsocks# ss-server -c config2.json
2014-02-21 10:54:51 INFO: initialize ciphers... aes-256-cfb
2014-02-21 10:54:51 INFO: server listening at port 23334.
2014-02-21 10:54:51 INFO: server listening at port 23334.
新的代码可以了,感谢您这么快就能回复
from shadowsocks-libev.
root@Onee3-Web:/etc/shadowsocks# ss-server -c config.json
2014-02-21 11:07:19 INFO: initialize ciphers... aes-256-cfb
2014-02-21 11:07:19 INFO: server listening at port 23333.
2014-02-21 11:07:19 INFO: server listening at port 23333.
^[^C
root@Onee3-Web:/etc/shadowsocks# service shadowsocks start
root@Onee3-Web:/etc/shadowsocks# ps aux | grep shadowsocks
root 4794 0.0 0.0 9452 948 pts/5 R+ 11:07 0:00 grep --color=auto shadowsocks
root@Onee3-Web:/etc/shadowsocks#
不过服务那边貌似还有些问题
from shadowsocks-libev.
服务用的是 /usr/bin/ss-server
,而编译安装是放在 /usr/local/bin/ss-server
from shadowsocks-libev.
方便的麻烦编译了推到源一份吧……我直接从源下bin好了> <
from shadowsocks-libev.
我这里也是绑不了ipv6
"server":["2001::c:::2","107.182..","107.182..","107.182.."],
@default:~$ sudo ss-server -c /etc/shadowsocks/config.json
2015-01-29 04:19:28 INFO: initialize ciphers... aes-256-cfb
2015-01-29 04:19:28 INFO: server listening at port 443
2015-01-29 04:19:28 INFO: server listening at port 443
2015-01-29 04:19:28 INFO: server listening at port 443
2015-01-29 04:19:28 ERROR: bind: Cannot assign requested address
2015-01-29 04:19:28 ERROR: Could not bind
2015-01-29 04:19:28 ERROR: bind() error
从源更新的shadowsocks-libev 2.1.0,原来1.4.x是可以的
from shadowsocks-libev.
Thx
from shadowsocks-libev.
请问ss-local支持同时绑定到ipv4和ipv6监听么?比如像在ss-server的config里面的 “server”:[ "[::0]", "0.0.0.0" ] 这种?
from shadowsocks-libev.
请教下我有一台服务器入口IP和出口IP不一样,
但是我配置完shadowsocks后他的进出口变变成和入口香港一样了,我原本就是想使用服务器默认的出口美国IP,配置文件内也没有找到相关的位置可以修改
from shadowsocks-libev.
Related Issues (20)
- ss-tunnel dns udp query to tcp or support DNS over TLS
- Can't get server started
- shadowsocks-libev.service; enabled; vendor preset: disabled HOT 1
- Server misconfiguration in docker ,Centos 7 Host ,please help ,thanks!
- ss-libev+v2ray-plugin+nginx求助,日志没问题,但就是使用不了。
- Fail to enabe shadowsocks.service for invalid argument
- 有偿求助, 这个-G参数是干嘛的,服务器是怎么部署的呀 HOT 2
- Openvpn udp through ss not working HOT 2
- {
- new p
- It's hard to compile to windows HOT 1
- shadowsocks
- Cannot access some websites when opening ipv6 Routing on Android device
- Cannot connect to League of Legends via SSTap/Netch/ShadowSocks App but Chrome, Facebook App can
- 以守护进程运行服务器端失败
- Some issue occurs when working with warp
- connect: No route to host
- Invalid config path
- Could not change group id to that of run_as user 'nobody': Invalid argument
- ipv6-only shadowsocks-libev config
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shadowsocks-libev.