<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/enchen" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/enchen" type="application/rss+xml"></fs:self_link><lastBuildDate>Mon, 23 Mar 2009 00:15:00 GMT</lastBuildDate><title>enchen的专栏</title><link>http://blog.csdn.net/enchen/</link><item><title>LVS负载均衡服务器--章文嵩博士</title><link>http://blog.csdn.net/enchen/archive/2009/03/23/4015714.aspx</link><wfw:comment>http://blog.csdn.net/enchen/comments/4015714.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/enchen/comments/commentRss/4015714.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4015714</trackback:ping><description>Linux服务器集群系统(二)&lt;br /&gt;LVS集群的体系结构文档选项&lt;br /&gt;将此页作为电子邮件发送&lt;br /&gt;将此页作为电子邮件发送&lt;br /&gt;拓展 Tomcat 应用&lt;br /&gt;下载 IBM 开源 J2EE 应用服务器 WAS CE 新版本 V1.1&lt;br /&gt;&lt;br /&gt;级别: 初级&lt;br /&gt;章文嵩 (mailto:wensong@linux-vs.org?subject=Linux服务器集群系统(二)&amp;cc=wensong@linux-vs.org),&lt;br /&gt;2002 年 4 月 10 日本文主要介绍了LVS集群的体系结构。先给出LVS集群的通用体系结构，并讨论了其的设计原则和相应的特点；最后将LVS集群应用于建立可伸缩的Web、Media、Cache和Mail等网络服务。&lt;br /&gt;引言&lt;br /&gt;在过去的十几年中，Internet从几个研究机构相连为信息共享的网络发展成为拥有大量应用和服务的全球性网络，它正成为人们生活中不可缺少的一部分。虽然Internet发展速度很快，但建设和维护大型网络服务依然是一项挑战性的任务，因为系统必须是高性能的、高可靠的，尤其当访问负&lt;img src =&quot;http://blog.csdn.net/enchen/aggbug/4015714.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/enchen/264008723/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/enchen/264008723/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 23 Mar 2009 08:15:00 +0800</pubDate><author>enchen</author><comments>http://blog.csdn.net/enchen/archive/2009/03/23/4015714.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/enchen/archive/2009/03/23/4015714.aspx</guid><dc:creator>enchen</dc:creator><fs:srclink>http://blog.csdn.net/enchen/archive/2009/03/23/4015714.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/enchen/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/enchen/~6125846/264008723/4233788</fs:itemid></item><item><title>负载均衡软件实现方式之三 - LVS</title><link>http://blog.csdn.net/enchen/archive/2009/03/23/4015711.aspx</link><wfw:comment>http://blog.csdn.net/enchen/comments/4015711.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/enchen/comments/commentRss/4015711.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4015711</trackback:ping><description>&lt;br /&gt;LVS是一个开源的软件,可以实现LINUX平台下的简单负载均衡. &lt;br /&gt;&lt;br /&gt;后面所附文章,讲述了LVS实现负载均衡的方法.&lt;br /&gt;&lt;br /&gt;因为文章较长,所以在转载前,先总结一下LVS的优缺点:&lt;br /&gt;&lt;br /&gt;优点:&lt;br /&gt;1、开源，免费&lt;br /&gt;2、在网上能找到一些相关技术资源&lt;br /&gt;3、具有软件负载均衡的一些优点&lt;br /&gt;&lt;br /&gt;缺点：&lt;br /&gt;1、具有开源产品常有的缺点，最核心的就是没有可靠的支持服务，没有人对其结果负责&lt;br /&gt;2、功能比较简单，支持复杂应用的负载均衡能力较差，如算法较少等。&lt;br /&gt;3、开启隧道方式需重编译内核&lt;br /&gt;4、配置复杂&lt;br /&gt;5、只支持LINUX，如果应用还包括WINDOWS、SOLIRIS等就不行了&lt;br /&gt;&lt;br /&gt;因此，建议在简单的LINUX应用中使用LVS，复杂的应用，或者重要的应用，还是应该使用专业的负载均衡软件，如富士通西门子公司的PCL负载均衡软件。&lt;br /&gt;&lt;br /&gt;下面转载一下如何使用LVS实现负载均衡：&lt;br /&gt;&lt;br /&gt;搭建集群负载均衡系统 （原&lt;img src =&quot;http://blog.csdn.net/enchen/aggbug/4015711.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/enchen/264008724/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/enchen/264008724/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 23 Mar 2009 08:14:00 +0800</pubDate><author>enchen</author><comments>http://blog.csdn.net/enchen/archive/2009/03/23/4015711.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/enchen/archive/2009/03/23/4015711.aspx</guid><dc:creator>enchen</dc:creator><fs:srclink>http://blog.csdn.net/enchen/archive/2009/03/23/4015711.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/enchen/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/enchen/~6125846/264008724/4233788</fs:itemid></item><item><title>配置转发表的参数对流量进行负载均衡</title><link>http://blog.csdn.net/enchen/archive/2009/03/23/4015701.aspx</link><wfw:comment>http://blog.csdn.net/enchen/comments/4015701.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/enchen/comments/commentRss/4015701.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4015701</trackback:ping><description>&lt;br /&gt;缺省状态下，转发表中只安装路由表里的最佳路径&lt;br /&gt;lab@juniper# run show route 6.6.6.6 &lt;br /&gt;inet.0: 19 destinations, 22 routes (19 active, 0 holddown, 0 hidden)&lt;br /&gt;+ = Active Route, - = Last Active, * = Both&lt;br /&gt;6.6.6.6/32         *[IS-IS/18] 00:03:33, metric 42&lt;br /&gt;                      to 10.0.0.2 via fxp1.1&lt;br /&gt;                    &gt; to 10.0.1.2 via fxp1.2&lt;br /&gt;[edit]&lt;br /&gt;lab@juniper# run show route forwarding-table &lt;br /&gt;5.5.5.5/32         user     0 10.0.1.2           ucst   490     7 fxp1.2  &lt;br /&gt;6.&lt;img src =&quot;http://blog.csdn.net/enchen/aggbug/4015701.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/enchen/264008725/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/enchen/264008725/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 23 Mar 2009 08:08:00 +0800</pubDate><author>enchen</author><comments>http://blog.csdn.net/enchen/archive/2009/03/23/4015701.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/enchen/archive/2009/03/23/4015701.aspx</guid><dc:creator>enchen</dc:creator><fs:srclink>http://blog.csdn.net/enchen/archive/2009/03/23/4015701.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/enchen/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/enchen/~6125846/264008725/4233788</fs:itemid></item><item><title>利用Linux架构负载均衡（Load balancer）系统</title><link>http://blog.csdn.net/enchen/archive/2009/03/23/4015696.aspx</link><wfw:comment>http://blog.csdn.net/enchen/comments/4015696.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/enchen/comments/commentRss/4015696.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4015696</trackback:ping><description>&lt;br /&gt;引言：&lt;br /&gt;Linux在网络方面具有很强大的功能。可以用Linux架构Firewall（防火墙）, IDS（入侵检测）,Cache&amp;Proxy,大型的mail 系统，甚至高端的路由器等，无所不能。本文介绍Linux在负载均衡方面的应用和具体的实现。本文的前半部分主要是一些理论的说明及所用组件的简要介绍，后半部分是具体的实现，包括软件的安装、配置和启动。本文的内容是本人实验得来的，难免有疏漏，请各位谅解！&lt;br /&gt;本文的目标：&lt;br /&gt;本文的目标是实现一个由两台Linux Load balancer(LLB)和三台web服务器组成一个web服务器群，这个服务器群对用户来说就好象&lt;br /&gt;是一台服务器。LLB对三台web服务器进行负载均衡。并且当web服务器出现故障时LLB会自动将出现故障的web服务器从服务器群中剔除，&lt;br /&gt;当web服务器的故障修复后LLB会自动将web服务器加入到服务器群中来。其中两台LLB一台为主（Master LLB）,一台为附（Slave LLB），&lt;br /&gt;当Master LLB出现故障以后，Slave LLB会自动接管Maste&lt;img src =&quot;http://blog.csdn.net/enchen/aggbug/4015696.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/enchen/264008726/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/enchen/264008726/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 23 Mar 2009 08:06:00 +0800</pubDate><author>enchen</author><comments>http://blog.csdn.net/enchen/archive/2009/03/23/4015696.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/enchen/archive/2009/03/23/4015696.aspx</guid><dc:creator>enchen</dc:creator><fs:srclink>http://blog.csdn.net/enchen/archive/2009/03/23/4015696.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/enchen/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/enchen/~6125846/264008726/4233788</fs:itemid></item><item><title>基于第四层交换技术的负载均衡</title><link>http://blog.csdn.net/enchen/archive/2009/03/22/4015670.aspx</link><wfw:comment>http://blog.csdn.net/enchen/comments/4015670.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/enchen/comments/commentRss/4015670.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4015670</trackback:ping><description>&lt;br /&gt;1 引言&lt;br /&gt;　　当今世界已经步入信息时代，随着社会的迅速发展以及人们对网络应用需求的不断提高，对网络速度及带宽的要求不断上升。正是在这样的发展形势下，许多高速交换的新技术不断涌现。第二层交换实现局域网内主机间的快速信息交流，第三层交换可以说是交换技术与路由技术的完美结合，而下文要详细介绍的第四层交换技术则可以为网络应用资源提供最优分配，实现应用服务的负载均衡。&lt;br /&gt;2 第四层交换技术&lt;br /&gt;2.1 简述&lt;br /&gt;　　第四层交换的一个简单定义是：它是一种功能，它决定传输不仅仅依据MAC地址（第二层网桥）或源/目标IP地址（第三层路由），而且依据TCP/UDP（第四层）应用端口号。第四层交换功能就像是虚拟IP，指向物理服务器。它传输的业务服从的协议多种多样，有HTTP、FTP、NFS、Telnet或其他协议。这些业务在物理服务器基础上，需要复杂的载量平衡算法。在IP世界，业务类型由终端TCP或UDP端口地址来决定，在第四层交换中的应用区间则由源端和终端IP地址、TCP和UDP端口共同决定。&lt;br /&gt;　 在第四层交换中为每个供搜寻使用的服务器组设立虚拟IP地&lt;img src =&quot;http://blog.csdn.net/enchen/aggbug/4015670.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/enchen/264008727/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/enchen/264008727/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 23 Mar 2009 07:53:00 +0800</pubDate><author>enchen</author><comments>http://blog.csdn.net/enchen/archive/2009/03/22/4015670.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/enchen/archive/2009/03/22/4015670.aspx</guid><dc:creator>enchen</dc:creator><fs:srclink>http://blog.csdn.net/enchen/archive/2009/03/22/4015670.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/enchen/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/enchen/~6125846/264008727/4233788</fs:itemid></item><item><title>LVS集群中的IP负载均衡技术</title><link>http://blog.csdn.net/enchen/archive/2009/03/22/4015662.aspx</link><wfw:comment>http://blog.csdn.net/enchen/comments/4015662.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/enchen/comments/commentRss/4015662.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4015662</trackback:ping><description>&lt;br /&gt;http://www.devdao.com/Article/376830.htm 及 http://www.devdao.com/Article/376829.htm&lt;br /&gt;&lt;br /&gt;本文在分析服务器集群实现虚拟网络服务的相关技术上，具体描述了LVS集群中实现的三种IP负载均衡技术（VS/NAT、VS/TUN和VS/DR）的工作原理，以及它们的优缺点。&lt;br /&gt;&lt;br /&gt;　　1.前言&lt;br /&gt;&lt;br /&gt;       　　在前面文章中，讲述了可伸缩网络服务的几种结构，它们都需要一个前端的负载调度器（或者多个进行主从备份）。我们先分析实现虚拟网络服务的主要技术，指出IP负载均衡技术是在负载调度器的实现技术中效率最高的。在已有的IP负载均衡技术中，主要有通过网络地址转换（Network Address Translation）将一组服务器构成一个高性能的、高可用的虚拟服务器，我们称之为VS/NAT技术（Virtual Server via Network Address Translation）。在分析VS/NAT的缺点和网络服务的非对称性的基础上，我们提出了通过&lt;img src =&quot;http://blog.csdn.net/enchen/aggbug/4015662.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/enchen/264008728/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/enchen/264008728/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 23 Mar 2009 07:49:00 +0800</pubDate><author>enchen</author><comments>http://blog.csdn.net/enchen/archive/2009/03/22/4015662.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/enchen/archive/2009/03/22/4015662.aspx</guid><dc:creator>enchen</dc:creator><fs:srclink>http://blog.csdn.net/enchen/archive/2009/03/22/4015662.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/enchen/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/enchen/~6125846/264008728/4233788</fs:itemid></item><item><title>LVS会话保持的问题</title><link>http://blog.csdn.net/enchen/archive/2009/03/22/4015654.aspx</link><wfw:comment>http://blog.csdn.net/enchen/comments/4015654.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/enchen/comments/commentRss/4015654.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4015654</trackback:ping><description>&lt;br /&gt;◆&lt;br /&gt;调度器 :eth0 192.168.1.1 eth1 172.16.1.1&lt;br /&gt;&lt;br /&gt;realserver1:eth1 172.16.1.2 (RS1)&lt;br /&gt;realserver2:eth1 172.16.1.3 (RS2)&lt;br /&gt;&lt;br /&gt;realserver default gw 172.16.1.1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#echo 1 &gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;#ipvsadm -A -t 192.168.1.1:80 -s wrr -p 900&lt;br /&gt;#ipvsadm -a -t 192.168.1.1:80 -r 172.16.1.2:80 -m &lt;br /&gt;#ipvsadm -a -t 192.168.1.1:80 -r 172.16.1.3:80 -m &lt;br /&gt;&lt;br /&gt;#ipvsadm -A -t 192.168.1.1:443 -s wrr -p 900&lt;br /&gt;#ipvsadm -a -t 192.168.1.1:443 -r 172.16.1&lt;img src =&quot;http://blog.csdn.net/enchen/aggbug/4015654.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/enchen/264008729/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/enchen/264008729/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 23 Mar 2009 07:46:00 +0800</pubDate><author>enchen</author><comments>http://blog.csdn.net/enchen/archive/2009/03/22/4015654.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/enchen/archive/2009/03/22/4015654.aspx</guid><dc:creator>enchen</dc:creator><fs:srclink>http://blog.csdn.net/enchen/archive/2009/03/22/4015654.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/enchen/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/enchen/~6125846/264008729/4233788</fs:itemid></item><item><title>通过iptables 封QQ 各种bt软件的方法</title><link>http://blog.csdn.net/enchen/archive/2009/03/21/4011830.aspx</link><wfw:comment>http://blog.csdn.net/enchen/comments/4011830.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/enchen/comments/commentRss/4011830.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4011830</trackback:ping><description>1楼 发表于 2008-7-1 17:49  最近老大要求封qq  而且是封部分人使用，本来打算封腾讯登陆服务器的，但是无法封bt工具，找了一下资料。&lt;br /&gt;以下部分为转载：&lt;br /&gt;流程: &lt;br /&gt;打上layer-7补丁 &lt;br /&gt;升级内核至2.6.19.7 &lt;br /&gt;升级iptables至1.3.7 &lt;br /&gt;适用环境：透过NAT共享上网的方式 &lt;br /&gt;步骤： &lt;br /&gt;&lt;br /&gt;一，下载所需要的软件包: &lt;br /&gt;&lt;br /&gt;1,下载新内核linux-2.6.19.7 &lt;br /&gt;&lt;br /&gt;wget http://www.kernel.org/pub/linux/ ... ux-2.6.19.7.tar.bz2&lt;br /&gt;&lt;br /&gt;2,下载iptables1.3.7 &lt;br /&gt;&lt;br /&gt;wget http://www.netfilter.org/project ... ables-1.3.7.tar.bz2&lt;br /&gt;&lt;br /&gt;3,下载Layer-7补丁，模块协议: &lt;br /&gt;&lt;br /&gt;http://sourceforge.net/proj&lt;img src =&quot;http://blog.csdn.net/enchen/aggbug/4011830.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/enchen/264008730/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/enchen/264008730/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sat, 21 Mar 2009 22:11:00 +0800</pubDate><author>enchen</author><comments>http://blog.csdn.net/enchen/archive/2009/03/21/4011830.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/enchen/archive/2009/03/21/4011830.aspx</guid><dc:creator>enchen</dc:creator><fs:srclink>http://blog.csdn.net/enchen/archive/2009/03/21/4011830.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/enchen/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/enchen/~6125846/264008730/4233788</fs:itemid></item><item><title>Centos+iptables+l7-filter 封QQ MSN和P2P</title><link>http://blog.csdn.net/enchen/archive/2009/03/21/4011823.aspx</link><wfw:comment>http://blog.csdn.net/enchen/comments/4011823.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/enchen/comments/commentRss/4011823.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4011823</trackback:ping><description>主要是按照http://www.10235.com/linux/centos-iptables-l7filter.html&lt;br /&gt;进行实作，只是软件都换成最新版本。&lt;br /&gt;在网关上如果要封杀 QQ、MSN 或者 P2P 等软件的通讯，单纯用 iptables 逐一封服务端IP或者封通讯端口都不是很好的办法，最简单的方法是使用L7-filter。&lt;br /&gt;L7-filter (Application Layer Packet Classifier for Linux), 是 Linux netfilter 的外挂模块, 它能使 Linux 的 iptables 支持 Layer 7 (Application 应用层) 过滤功能, 限制封杀 P2P、即时通讯软件。&lt;br /&gt;Centos 4.7&lt;br /&gt;Kernel 2.6.28&lt;br /&gt;Iptables 1.4.2&lt;br /&gt;1.下载所需软件包：&lt;br /&gt;kernel 2.6.28&lt;br /&gt;# wget http://www.kernel.org/pub/linux/kern...2.6.28.tar.bz2&lt;img src =&quot;http://blog.csdn.net/enchen/aggbug/4011823.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/enchen/264008731/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/enchen/264008731/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sat, 21 Mar 2009 22:09:00 +0800</pubDate><author>enchen</author><comments>http://blog.csdn.net/enchen/archive/2009/03/21/4011823.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/enchen/archive/2009/03/21/4011823.aspx</guid><dc:creator>enchen</dc:creator><fs:srclink>http://blog.csdn.net/enchen/archive/2009/03/21/4011823.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/enchen/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/enchen/~6125846/264008731/4233788</fs:itemid></item><item><title>QQ协议概述</title><link>http://blog.csdn.net/enchen/archive/2009/03/21/4011821.aspx</link><wfw:comment>http://blog.csdn.net/enchen/comments/4011821.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/enchen/comments/commentRss/4011821.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4011821</trackback:ping><description>&lt;br /&gt;QQ的版本：&lt;br /&gt;　　QQ的版本升级比较频繁，而且与多数的软件不同的是，它客户端的升级往往伴随着协议相应的改变。&lt;br /&gt;　　目前，对研究QQ协议版本比较重要的是：&lt;br /&gt;　　QQ2000c 。它对应的客户端协议版本是08xx，目前对这个版本的研究比较多。&lt;br /&gt;　　QQ2003 (0808) 这是腾讯最新公布的QQ版本，目前发现它对应的客户端协议版本是0A 1D。目前对这个版本的研究才刚刚开始，此版本对协议做了比较大的改动。&lt;br /&gt;　　协议类型：&lt;br /&gt;　　我们尝试把QQ的协议进行分类：&lt;br /&gt;　　文字聊天协议族（TCPF, Text Chatting Protocol Family)：它主要支持与其它QQ客户端进行文字聊天。TCPF是建立在UDP协议之上。UDP数据包中的第一个字符02为这个协议族的标识。TCPF的服务器使用8000号端口，腾讯的QQ客户端软件一般从4000号端口开始尝试使用，但实际上，对客户端使用的端口号并没有限制。目前的研究集中在TCPF上。&lt;br /&gt;　　其它未知可能存在的协议族：&lt;br /&gt;　　我们观察到QQ除了与TC&lt;img src =&quot;http://blog.csdn.net/enchen/aggbug/4011821.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/enchen/264008732/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/enchen/264008732/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sat, 21 Mar 2009 22:06:00 +0800</pubDate><author>enchen</author><comments>http://blog.csdn.net/enchen/archive/2009/03/21/4011821.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/enchen/archive/2009/03/21/4011821.aspx</guid><dc:creator>enchen</dc:creator><fs:srclink>http://blog.csdn.net/enchen/archive/2009/03/21/4011821.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/enchen/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/enchen/~6125846/264008732/4233788</fs:itemid></item></channel></rss>
