- 论坛徽章:
- 0
|
ChangeLog
- =====================================
- 2008.07.19 v0.0.3
- 支持 kernel 2.6.26
- 支持 iptables 1.4.1
- =====================================
- 2006.07.14 v0.0.2
- 修正了 iptables-save 时存在的 bug
- 修正了匹配方式,大幅度提高了匹配效率
- =====================================
- 2006.07.13 v0.0.1
- 匹配 DNS 域名解析内容模块 domain 正式发布
- =====================================
复制代码
INSTALL
- domain v0.0.2
- 2006.07.14, platinum
- =======================
- How to install ?
- # make KERNEL_SRC=<your kernel source> IPTABLES_SRC=<your iptables source> install
- How to use ?
- # iptables -m domain -h
复制代码
iptables -m domain -h
- 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 [url]www.chinunix.net[/url], bbs.chinaunix.net, man.chinaunix.net
复制代码
例子:
- iptables -A FORWARD -m domain --name "sohu.com" -j DROP
- iptables -A FORWARD -m domain --name "3322.org" -j DROP
复制代码
[ 本帖最后由 platinum 于 2008-7-19 08:33 编辑 ] |
|