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

谷歌连通性检查显示:连接错误,是哪里设置错误了?用18.06.1编译 #817

Closed
shenzt68 opened this issue Nov 14, 2018 · 9 comments

Comments

@shenzt68
Copy link
Contributor

@shenzt68 shenzt68 commented Nov 14, 2018

日志里有如下信息:
Wed Nov 14 19:35:09 2018 kern.info /usr/bin/ssr-redir[20842]: initializing ciphers... chacha20
Wed Nov 14 19:35:09 2018 kern.info /usr/bin/ssr-redir[20842]: tcp port reuse enabled
Wed Nov 14 19:35:09 2018 kern.info /usr/bin/ssr-redir[20842]: listening at 0.0.0.0:1234
Wed Nov 14 19:35:09 2018 kern.info /usr/bin/ssr-redir[20842]: running from root user
Wed Nov 14 19:35:09 2018 kern.info /usr/bin/ssr-redir[20881]: initializing ciphers... chacha20
Wed Nov 14 19:35:09 2018 kern.info /usr/bin/ssr-redir[20881]: UDP relay enabled
Wed Nov 14 19:35:09 2018 kern.info /usr/bin/ssr-redir[20881]: udp port reuse enabled
Wed Nov 14 19:35:09 2018 kern.info /usr/bin/ssr-redir[20881]: TCP relay disabled
Wed Nov 14 19:35:09 2018 kern.info /usr/bin/ssr-redir[20881]: listening at 0.0.0.0:1234
Wed Nov 14 19:35:09 2018 kern.info /usr/bin/ssr-redir[20881]: running from root user
Wed Nov 14 19:35:09 2018 daemon.info pdnsd[20897]: pdnsd-1.2.9b-par starting.
Wed Nov 14 19:35:09 2018 daemon.err pdnsd[20897]: Could not listen on tcp socket: Not a socket
Wed Nov 14 19:35:09 2018 daemon.err pdnsd[20897]: error in UDP recv: Not a socket
Wed Nov 14 19:35:09 2018 daemon.err pdnsd[20897]: error in UDP recv: Not a socket
Wed Nov 14 19:35:09 2018 daemon.err pdnsd[20897]: error in UDP recv: Not a socket
Wed Nov 14 19:35:09 2018 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Wed Nov 14 19:35:09 2018 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Wed Nov 14 19:35:09 2018 daemon.err pdnsd[20897]: error in UDP recv: Not a socket
Wed Nov 14 19:35:09 2018 daemon.err pdnsd[20897]: error in UDP recv: Not a socket
Wed Nov 14 19:35:09 2018 daemon.err pdnsd[20897]: error in UDP recv: Not a socket
Wed Nov 14 19:35:09 2018 daemon.err pdnsd[20897]: error in UDP recv: Not a socket
Wed Nov 14 19:35:09 2018 daemon.err pdnsd[20897]: error in UDP recv: Not a socket
Wed Nov 14 19:35:09 2018 daemon.err pdnsd[20897]: error in UDP recv: Not a socket
Wed Nov 14 19:35:09 2018 daemon.err pdnsd[20897]: error in UDP recv: Not a socket
为什么?请大屌找bug

@coolsnowwolf

This comment has been minimized.

Copy link
Owner

@coolsnowwolf coolsnowwolf commented Nov 17, 2018

端口冲突

@coolsnowwolf

This comment has been minimized.

Copy link
Owner

@coolsnowwolf coolsnowwolf commented Nov 17, 2018

5335 端口被其他程序用了

@greekstreet

This comment has been minimized.

Copy link

@greekstreet greekstreet commented Jul 17, 2019

@coolsnowwolf 然而并不是端口冲突,通过luci web页面启动后pdnsd会出现这个情况,但是使用/etc/init.d/shadowsocksr restart就正常了。看起来是通过web页面重启服务的话,还做了其他事情,导致了这个情况。

@hcym

This comment has been minimized.

Copy link

@hcym hcym commented Jul 17, 2019

时有时无,干脆重启

@275761919

This comment has been minimized.

Copy link

@275761919 275761919 commented Sep 6, 2019

问题解决了吗,我现在也遇到 luci web 操作后pdnsd就挂掉了,但是用 pdnsd-ctl status 查看确实正常的,必须要手动执行 /etc/init.d/shadowsocksr restart 或者手动 kill 掉 pdnsd 教程重启 @greekstreet

@greekstreet

This comment has been minimized.

Copy link

@greekstreet greekstreet commented Sep 6, 2019

@275761919 pdnsd这玩意太古老了,你稍微研究一下源码,把pdnsd换成dnsforwarder就没有问题了。也就改几个shell脚本的事情,不难。

@greekstreet

This comment has been minimized.

Copy link

@greekstreet greekstreet commented Sep 6, 2019

@275761919 稳妥一点的话,dnsforwader的Makefile改一下,什么启动脚本,gfwlist都不要,只要dnsforwarder本身就行了,要不然可能跟ssr plus里面的冲突。参考一下ssr plus里面pdnsd怎么启动,停止,保活,查看运行状态,多研究一下,能搞定的。

@275761919

This comment has been minimized.

Copy link

@275761919 275761919 commented Sep 6, 2019

感谢指点,我直接使用了luci-app-dnsforwarder配置成监听在5335端口,ssr-plus那边配置成使用本机的5335那个选项,就直接可以了,也不用改 shell 脚本,方便。 @greekstreet

@greekstreet

This comment has been minimized.

Copy link

@greekstreet greekstreet commented Sep 6, 2019

@275761919 嗯,这样也是可以的,解决问题就好。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.