Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

出现“Select Network Interface failed,can't use TCP protocal!” #8

Open
KwToPA opened this issue Oct 31, 2016 · 5 comments
Open

Comments

@KwToPA
Copy link

KwToPA commented Oct 31, 2016

您好

运行之后出现报错

sudo java -jar finalspeed-1.0.jar
System: mac os x 10.10.5
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Network Interface List: 
     en0
     bridge0
     ppp0
     en1
     ppp1
     en3
     bridge100
     lo0
     gif0
     stf0
     p2p0
     awdl0
Select Network Interface failed,can't use TCP protocal!

我把原来的json文件都复制到finalspeed-1.0文件夹下
client_config.json 选了UDP,但是仍然跳出 Select Network Interface failed,can't use TCP protocal!

{"download_speed": hidden,"protocal”:”udp”,”server_address”:”hidden”,”server_port":150,"socks5_port": hidden,"upload_speed": hidden}

pf.conf

block drop quick proto tcp from any to hidden port = 150

port_map.json

{"map_list":[{"dst_port”:hidden,”listen_port": hidden,"name":"hidden"},{"dst_port": hidden,"listen_port": hidden,"name":"hidden"}]}

谢谢

@KwToPA
Copy link
Author

KwToPA commented Oct 31, 2016

我服务器端用的是原版的1.0

@sundapeng
Copy link
Owner

服务器端用的是原版的1.0 这个应该可以的。你可以测试一下网络连接,有可能已经可以用了

@KwToPA
Copy link
Author

KwToPA commented Oct 31, 2016

@sundapeng 感谢您的回复,现在可以用了。 但是出现疑似编码问题

delay_udp 129ms hidden
delay_udp 125ms hidden
?˿?739???ӳɹ?
?˿?739???ӳɹ?
?˿?739???ӳɹ?
?˿?739???ӳɹ?
?˿?739???ӳɹ?
?˿?739???ӳɹ?
?˿?739???ӳɹ?

我查看了服务器端,有大量 端口XXX无返回数据 语句,估计乱码也应该是这句

@KwToPA
Copy link
Author

KwToPA commented Oct 31, 2016

出现新的乱码

?˿?739?޷???????

@sundapeng
Copy link
Owner

739是你端口号吧,这应该是log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants