-
Notifications
You must be signed in to change notification settings - Fork 246
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
tcpdns没有成功过 #55
Comments
你用的是哪个版本的? malformed的问题最新版应该是修复了的。 TImeout这个应该是真的超时的。TCP DNS 2016年10月16日 12:33,"ekenchan" notifications@github.com写道:
|
@semigodking release-0.65 |
这个版本号看不出来,已经很长时间没升级版本号了,是该考虑升一下了。要用最新版。 2016年10月16日 15:30,"ekenchan" notifications@github.com写道:
|
我在本地用git clone拿了最新版,编译之后用4个8作为tcpdns上游,dig还是返回malformed DNS request,用nslookup是报drop request。但是本地直接用dig @8.8.8.8 +tcp是有正确结果的 |
什么平台?能抓点包和log给我看看不?如果你只是想解决问题的话,把tcpdns.c 的304到307行的条件直接改成 2016年10月16日 18:35,"ekenchan" notifications@github.com写道: 我在本地用git clone拿了最新版,编译之后用4个8作为tcpdns上游,dig还是返回malformed DNS — Reply to this email directly, view it on GitHub |
我在cygwin下编译的,之前在centos交叉编译了mips版也是一样 |
刚试了一下,没有问题啊。x86 centos `[abc@default redsocks2]$ cat tcpdns.conf [abc@default redsocks2]$ ./redsocks2 -c tcpdns.conf & [abc@default redsocks2]$ ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.2 <<>> facebook.com @127.0.0.1 -p 1053 ;; QUESTION SECTION: ;; ANSWER SECTION: ;; Query time: 14 msec ` |
The last condition check against !req->data.header.arcount at line 307 is causing problem. Suggest to comment this line out by default. |
Thanks. Agree with you. Additional records are allowed in request. will
update it later.
2016年12月3日 02:01,"momogentoo" <notifications@github.com>写道:
The last condition check against !req->data.header.arcount at line 307 is
causing problem. Suggest to comment this line out by default.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#55 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB-rj9urZtrZm9o1PskKEoYDwvqtkQgrks5rEFzhgaJpZM4KX4w3>
.
|
Fixed. Please open new issue of you still have similar issues. |
配置tcpdns之后,用dig测试请求总是报malformed DNS request,用nslookup测试总是报errno(150), what: READING|0|0|0|TIMEOUT|0|0x0: Operation now in progress,太难用了
The text was updated successfully, but these errors were encountered: