shadowsocks / ChinaDNS

Protect yourself against DNS poisoning in China.
GNU General Public License v3.0
3.6k stars 1.29k forks source link

能不能增加对socks/ss的支持? #81

Closed ownhere closed 9 years ago

ownhere commented 9 years ago

“因为有些运营商会屏蔽正确结果,所以虽然伪造包被过滤了,但是正确包永远也不会到达“ 对于上述情况,能否增加一个附加查询能力支持,就是允许用户配置一个socks/ss代理(其实用到chinadns项目的用户基本都有这类代理),当某次域名查询发现被污染的时候,不需要等待正确结果,而是直接再次通过socks/ss发起另一次查询请求,这样就可以更好的兼顾各种网络情况了

clowwindy commented 9 years ago

Please search Google or ask in the forums to see how to do it.

ownhere commented 9 years ago

嗯,用1.3.1编译了一下貌似满足我的需求了,之前使用别人编译的1.2.x还不行。 附上我对代码中与ns_parser有关的代码的本地化处理,不需要再依赖libresolv了,动态链接版编译后大概31k大小。可以在entware,optware等uclibc版本低于0.9.33的系统上编译。

On Sun, Apr 5, 2015 at 10:40 PM, clowwindy notifications@github.com wrote:

Closed #81 https://github.com/clowwindy/ChinaDNS/issues/81.

— Reply to this email directly or view it on GitHub https://github.com/clowwindy/ChinaDNS/issues/81#event-273619261.

kdrx commented 9 years ago

能否分享下这个可以在uclibc上编译的源码?

ownhere commented 9 years ago

@kdrx ,已经提交了pull request