免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: platinum

netfilter module - domain v0.0.2 发布 [复制链接]

论坛徽章:
0
发表于 2006-07-14 15:48 |显示全部楼层
不是,具体还不大清楚,好象是编译环境不同引起的.
我只是把ipt_domain.c放入内核文件里一起编译.不需要加载模块就可以了.

论坛徽章:
0
发表于 2006-07-14 16:19 |显示全部楼层
还有一个问题,如何在被阻止的网页返回错误信息给PC页面告诉它,要访问的页面已经被阻止了.
这只是题外话,想法而已.   ^-^

论坛徽章:
1
2015元宵节徽章
日期:2015-03-06 15:50:39
发表于 2006-07-14 16:48 |显示全部楼层
顺道看了platium的给iptables添加多个IP的帖子,突然有个想法,后面的版本里能不能做个多个域名的模块?^_^,企盼domain v0.0.3中实现这个功能..........
  1. iptables -A FORWARD -m domain --multiname "sohu.com","sina.com“,"163.com" -j DROP
复制代码

论坛徽章:
0
发表于 2006-07-14 18:17 |显示全部楼层
platium请问为iptables开发模块与内核驱动开发有什么区别啊???

论坛徽章:
0
发表于 2006-07-16 06:52 |显示全部楼层
不错,LZ再接再厉。

论坛徽章:
0
发表于 2006-08-09 12:40 |显示全部楼层
能实现dns过滤吗?比如:
mail.xxxx.com,把mail开头的所以网站都过滤?

论坛徽章:
0
发表于 2006-08-11 11:21 |显示全部楼层
呵呵,不错,已经安装好了

论坛徽章:
0
发表于 2006-08-11 11:27 |显示全部楼层
呵呵,但是没有效果

论坛徽章:
0
发表于 2006-08-11 11:28 |显示全部楼层
报告版主,发现了一个 BUG
domain v0.0.2 options:
  --name "www.chinaunix.net"            Match the domain named "www.chinaunix.net"
  --name "chinaunix.net"                Match the domain named "chinaunix.net"
                                        include www.chinunix.net, bbs.chinaunix.net, man.chinaunix.net

红色那里少了一个“a”

论坛徽章:
0
发表于 2006-08-11 11:32 |显示全部楼层
iptables -A FORWARD -m domain --name "btchina.net" -j DROP
然后 service iptables save
在pC的IE中输入"btchina.net" 还是能访问
怎么回事?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP