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

和shadowsocks的udp转发配合存在问题 #114

Open
ghost opened this issue Aug 4, 2015 · 2 comments
Open

和shadowsocks的udp转发配合存在问题 #114

ghost opened this issue Aug 4, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 4, 2015

直接将DNS请求转发到ss-tunnel的5300端口,dns结果很快就会返回,但是将127.0.0.1:5300设置成chinadns的国外上游服务器的话,第一次启动chinadns,返回结果是正确的,但是之后就收不到,除非在重启chinadns,然后第一次又可以。

我观察了下服务器端的ss的log,发现dns直接转发给5300端口,服务器端很快就会出现记录,而使用chinadns,服务器要么不出现记录,要么出现:

openwrt上运行dig www.facebook.com -p 5353

结果:
; <<>> DiG 9.9.4 <<>> www.facebook.com -p 5353
;; global options: +cmd
;; connection timed out; no servers could be reached

ss-server端日志:

2015-08-04 11:46:15 INFO: [udp] cache miss: 8.8.8.8:53 <-> 111.20.241.226:25184
2015-08-04 11:46:15 INFO: [udp] remote receive a packet
2015-08-04 11:46:20 INFO: [udp] server receive a packet
2015-08-04 11:46:20 INFO: [udp] cache hit: 8.8.8.8:53 <-> 111.20.241.226:25184
2015-08-04 11:46:20 INFO: [udp] remote receive a packet
2015-08-04 11:46:21 INFO: [udp] connection timeout
2015-08-04 11:46:21 INFO: [udp] one connection freed

我使用的是openwrt版本的shadowsocks-libec-spec和openwrt版本的chinadns

@JoveYu
Copy link

JoveYu commented Aug 12, 2015

+1

@matrikslee
Copy link

我在树莓派(armv7h架构的archarm系统)上编译的chinadns也有这个问题,在Arch X86_64的系统上似乎就没这个问题。

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