免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: platinum
打印 上一主题 下一主题

[网络管理] 如何给iptables添加模块v2.2(含视频教程) [复制链接]

论坛徽章:
0
71 [报告]
发表于 2005-03-10 11:54 |只看该作者

如何给iptables添加模块v2.2(含视频教程)

This module matches certain packets in P2P flows. It is not
designed to match all packets belonging to a P2P connection -
use IPP2P together with CONNMARK for this purpose. Also visit
http://www.ipp2p.org for detailed information.

Use it together with -p tcp or -p udp to search these protocols
only or without -p switch to search packets of both protocols.

IPP2P provides the following options:
.TP
.B "--edk "
Matches as many eDonkey/eMule packets as possible.
.TP
.B "--kazaa "
Matches as many KaZaA packets as possible.
.TP
.B "--gnu "
Matches as many Gnutella packets as possible.
.TP
.B "--dc "
Matches as many Direct Connect packets as possible.
.TP
.B "--bit "
Matches BitTorrent packets.
.TP
.B "--apple "
Matches AppleJuice packets.
.TP
.B "--soul "
Matches some SoulSeek packets. Considered as beta, use careful!
.TP
.B "--winmx "
Matches some WinMX packets. Considered as beta, use careful!
.TP
.B "--ares "
Matches Ares and AresLite packets. Use together with -j DROP only.
.TP
.B "--ipp2p "
Short hand for: --edk --kazaa --gnu --dc
.TP
.B "--debug "
Prints some information about each hit into kernel logfile. May
produce huge logfiles so beware!

Detects some P2P packets
Author: Eicke Friedrich <ipp2p@ipp2p.org>;  
Status: Stable


This option makes possible to match some P2P packets
therefore helps controlling such traffic. Dropping all
matches prohibits P2P networks. Combined with conntrack,
CONNMARK and a packet scheduler it can be used for
accounting or shaping of P2P traffic.

Examples:
iptables -A FORWARD -m ipp2p --edk --kazaa --bit -j DROP
iptables -A FORWARD -p tcp -m ipp2p --ares -j DROP
iptables -A FORWARD -p udp -m ipp2p --kazaa -j DROP

论坛徽章:
0
72 [报告]
发表于 2005-03-10 12:24 |只看该作者

如何给iptables添加模块v2.2(含视频教程)

http://bbs.chinaunix.net/forum/viewtopic.php?t=508312&show_type=new
上面是iptables添加模块在kernel 2.6的环境中,希望大家指正。
谢谢!!

论坛徽章:
0
73 [报告]
发表于 2005-03-10 12:26 |只看该作者

如何给iptables添加模块v2.2(含视频教程)

红桃K,搞定了??

论坛徽章:
0
74 [报告]
发表于 2005-03-10 12:46 |只看该作者

如何给iptables添加模块v2.2(含视频教程)

嗯,就是string模块不能使用。气死我了。

论坛徽章:
0
75 [报告]
发表于 2005-03-10 13:15 |只看该作者

如何给iptables添加模块v2.2(含视频教程)

能发个iptables的脚本吗?可以是我的教本有问题

论坛徽章:
0
76 [报告]
发表于 2005-03-13 13:50 |只看该作者

如何给iptables添加模块v2.2(含视频教程)

更新了一下安装手册
新添加了一个视频教程
这样就更直观了(详见顶楼贴子)

论坛徽章:
0
77 [报告]
发表于 2005-03-14 11:41 |只看该作者

如何给iptables添加模块v2.2(含视频教程)

原帖由 "platinum" 发表:
因为一直处于观望状态,所以2.6的内核没研究过
我用的是PDF_FactoryPro210chs.exe来转的,虚拟出一个打印机来,直接打印输出成PDF就可以了

iptables -A FORWARD -s 192.168.1.0/24 -m time --timestart 8:00 --t..........


这些都加起来CPU的利用率怎么样?

论坛徽章:
0
78 [报告]
发表于 2005-03-14 12:18 |只看该作者

如何给iptables添加模块v2.2(含视频教程)

string、l7-layer比较耗费CPU
具体耗费多少,我没统计过,但是一定和数据包流量有关,也和策略的顺序(执行效率)有关

论坛徽章:
0
79 [报告]
发表于 2005-03-16 12:57 |只看该作者

如何给iptables添加模块v2.2(含视频教程)

很好。。。。顶。。。。

论坛徽章:
0
80 [报告]
发表于 2005-03-24 21:49 |只看该作者

如何给iptables添加模块v2.2(含视频教程)

好帖!!!强~~~终于找到了,已经感动的无以伦比了- -看PDF和视频去了,哇哈哈!!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP