- 论坛徽章:
- 0
|
ChangeLog
- =====================================
- 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 www.chinunix.net, 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
复制代码 |
|