找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: test***

cdns 新发明的轮子,纯净DNS

  [复制链接]
发表于 2016-10-9 22:59 | 显示全部楼层
有没有x86的

点评

应该是这个吧  详情 回复 发表于 2016-10-9 23:53
x86的明天应该可以提供  详情 回复 发表于 2016-10-9 23:00
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2016-10-9 23:00 来自手机 | 显示全部楼层
Windows10 发表于 2016-10-9 22:59
有没有x86的

x86的明天应该可以提供
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-10-9 23:44 | 显示全部楼层
本帖最后由 ghostry 于 2016-10-9 23:51 编辑
test0x01 发表于 2016-10-9 21:20
应该已运行了  看系统log.

log不会看,不过找到了,
ps -A有找到。
建议出个提示什么的,
不过轮子不错。很顺畅。

点评

Log其实在配置文件里可设定,和redsocks一样的。 能正常使用就好,就怕大家都用不了,白忙活。  详情 回复 发表于 2016-10-10 07:17
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-10-9 23:53 | 显示全部楼层


应该是这个吧

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-10-10 00:14 | 显示全部楼层
我说看着这么眼熟呢。我一直在用你的redsocks
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-10-10 00:16 来自手机 | 显示全部楼层
谢谢分享,不错
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2016-10-10 07:17 来自手机 | 显示全部楼层
ghostry 发表于 2016-10-9 23:44
log不会看,不过找到了,
ps -A有找到。
建议出个提示什么的,

Log其实在配置文件里可设定,和redsocks一样的。
能正常使用就好,就怕大家都用不了,白忙活。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-10-10 07:36 | 显示全部楼层
bcm4706能用不?

点评

能,但需要有人编译出来。我没现成环境  详情 回复 发表于 2016-10-10 07:40
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2016-10-10 07:40 来自手机 | 显示全部楼层
smartzw 发表于 2016-10-10 07:36
bcm4706能用不?

能,但需要有人编译出来。我没现成环境
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-10-10 08:14 来自手机 | 显示全部楼层
大神应该就是 semigodking本人了吧 ?膜拜一下。  这个估计就是用来代替ChinaDNS的吧? 等论坛的大神写好 op的makefile 就去试试 有luci更好

点评

大神能不能发一下你编译的LEDE固件里的cdns包  详情 回复 发表于 2016-12-11 12:09
这个马夹似乎应该作废掉了。 我对所谓的国内DNS的CDN并没有强烈需求。就用cdns默认配置里的台湾dns得到的结果就很好啊,没有感觉访问国内慢啊。  详情 回复 发表于 2016-10-10 09:48
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-10-10 08:46 | 显示全部楼层
本帖最后由 w01230 于 2016-10-10 08:47 编辑

编译成功(x86),初步测试了下:
电信宽带环境下,工作正常,可以正常解析
长城宽带环境下,偶尔还是有不正常解析, 待再测试~
速度很快,看了一下代码没看明白原理,哈哈~·
@test0x01

点评

谢谢反馈。 在长宽下不工作,有一种可能是:长宽劫持并透明代理了你所有的DNS请求。 你可以抓点包来看看就更好了。  详情 回复 发表于 2016-10-10 09:49
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2016-10-10 09:48 | 显示全部楼层
hikey 发表于 2016-10-10 08:14
大神应该就是 semigodking本人了吧 ?膜拜一下。  这个估计就是用来代替ChinaDNS的吧? 等论坛的大神写好 op ...

这个马夹似乎应该作废掉了。
我对所谓的国内DNS的CDN并没有强烈需求。就用cdns默认配置里的台湾dns得到的结果就很好啊,没有感觉访问国内慢啊。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2016-10-10 09:49 | 显示全部楼层
w01230 发表于 2016-10-10 08:46
编译成功(x86),初步测试了下:
电信宽带环境下,工作正常,可以正常解析
长城宽带环境下,偶尔还是有不 ...

谢谢反馈。
在长宽下不工作,有一种可能是:长宽劫持并透明代理了你所有的DNS请求。
你可以抓点包来看看就更好了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2016-10-10 09:54 | 显示全部楼层
本帖最后由 test0x01 于 2016-10-10 10:01 编辑
梦剧院 发表于 2016-10-9 19:44
想请教一下,如果我想在CentOS上最后一步make 出错了
make
[ 16%] Building C object CMakeFiles/cdns.d ...

你没有安装libevent2 这个库,安这些吧
libevent2-devel.i686 : Header files, libraries and development documentation for libevent2
libevent2.i686 : Abstract asynchronous event notification library

点评

我确认已安装了这个库  详情 回复 发表于 2016-10-10 15:09
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-10-10 10:52 | 显示全部楼层
本帖最后由 hkbase 于 2016-10-10 11:04 编辑

apt-get install libevent-dev
已经安装了libevent,还是会报错,ubuntu 14.04 X64位环境下,编译不过去。

root@iZ22rlbdc5oZ:~/cdns# cmake .
cmake: /usr/local/lib/libcurl.so.4: no version information available (required by cmake)
-- Configuring done
-- Generating done
-- Build files have been written to: /root/cdns



root@iZ22rlbdc5oZ:~/cdns# make
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 20%] /usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
Building C object CMakeFiles/cdns.dir/main.c.o
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 40%] /usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
Building C object CMakeFiles/cdns.dir/log.c.o
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 60%] /usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
Building C object CMakeFiles/cdns.dir/json.c.o
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 80%] /usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
Building C object CMakeFiles/cdns.dir/cfg.c.o
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[100%] /usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
Building C object CMakeFiles/cdns.dir/cdns.c.o
/root/cdns/cdns.c: In function ‘update_server_rtt’:
/root/cdns/cdns.c:226:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
     for (int i = 0; i < svr->rtt_count; i++)
     ^
/root/cdns/cdns.c:226:5: note: use option -std=c99 or -std=gnu99 to compile your code
/root/cdns/cdns.c: In function ‘cdns_init_server’:
/root/cdns/cdns.c:934:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
     for (int i = 0; i < g_svr_count; i++)
     ^
/root/cdns/cdns.c: In function ‘cdns_debug_dump’:
/root/cdns/cdns.c:968:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
     for (int i = 0; i < g_svr_count; i++)
     ^
make[2]: *** [CMakeFiles/cdns.dir/cdns.c.o] Error 1
make[1]: *** [CMakeFiles/cdns.dir/all] Error 2
make: *** [all] Error 2



root@iZ22rlbdc5oZ:~/cdns# mkdir build
root@iZ22rlbdc5oZ:~/cdns# cd build/
root@iZ22rlbdc5oZ:~/cdns/build# cmake ../
cmake: /usr/local/lib/libcurl.so.4: no version information available (required by cmake)
-- Configuring done
-- Generating done
-- Build files have been written to: /root/cdns
root@iZ22rlbdc5oZ:~/cdns/build# make
make: *** No targets specified and no makefile found.  Stop.




点评

谢谢反馈。已经更新代码库,这个问题已经解决。  详情 回复 发表于 2016-10-10 12:54
那你就别用cmake,直接在cdns的目录里用 make 试一下  详情 回复 发表于 2016-10-10 11:07
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-26 06:14

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表