netfilter module - domain v0.0.2 发布
时间:2007-04-25 来源:jsjzhang
From:http://bbs.chinaunix.net/viewthread.php?tid=791863&highlight=platinum
ChangeLog
CODE:
[Copy to clipboard]
=====================================
2006.07.14 v0.0.2
修正了 iptables-save 时存在的 bug
修正了匹配方式,大幅度提高了匹配效率
=====================================
2006.07.13 v0.0.1
匹配 DNS 域名解析内容模块 domain 正式发布
===================================== INSTALL
2006.07.14 v0.0.2
修正了 iptables-save 时存在的 bug
修正了匹配方式,大幅度提高了匹配效率
=====================================
2006.07.13 v0.0.1
匹配 DNS 域名解析内容模块 domain 正式发布
===================================== INSTALL
CODE:
[Copy to clipboard]
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
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
CODE:
[Copy to clipboard]
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 例子:
--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 例子:
CODE:
[Copy to clipboard]
iptables -A FORWARD -m domain --name "sohu.com" -j DROP
iptables -A FORWARD -m domain --name "3322.org" -j DROP
iptables -A FORWARD -m domain --name "3322.org" -j DROP
|
相关阅读 更多 +