<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
 <channel>
  <title>happyman</title>
  <link>http://happyman-bruce.blogbus.com</link>
  <description><![CDATA[I am Happyman]]></description>
  <generator> by blogbus.com </generator>
  <lastBuildDate>Thu, 01 Jan 1970 07:00:00 +0700</lastBuildDate>
  <image>
									<url>http://public.blogbus.com/profile/9/9/1/1052199/avatar_1052199_96.jpg</url>
									<title>happyman</title>
									<link>http://happyman-bruce.blogbus.com</link>
								</image>  <item>
   <title>LINUX 下基于路由策略的IP地址控制实例</title>
   <description><![CDATA[

一、背景描述 
<br /><br />

如图，LINUX是一台网关服务器，内有3块网卡 <br />
eth1绑定172.17.0.0/16的IP，该网段IP可以通过172.17.1.1上网 <br />
eth0绑定192.168.10.0/24的IP，该网段IP可以通过192.168.10.1上网 <br />
eth2绑定192.168.1.1，是内网用户的网关 
<br /><br />


<br /><br />

二、需求分析 
<br /><br />

内网用户应该走172.17.1.1这个路由上网 <br />
但由于工作需要，部分用户应该有访...<!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="/logs/3360419.html">用mysqldump对MySQL数据库进行数据备份与恢复</a> 2006-09-20</div><div><a href="/logs/1740436.html">基本知识</a> 2005-12-23</div><div><a href="/logs/1729426.html">sed</a> 2005-12-20</div><div><a href="/logs/1729395.html">Linux的进程查看</a> 2005-12-20</div><div><a href="/logs/1728489.html">多服务器的同步</a> 2005-12-20</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fhappyman-bruce.blogbus.com%2Flogs%2F8090989.html&title=LINUX+%E4%B8%8B%E5%9F%BA%E4%BA%8E%E8%B7%AF%E7%94%B1%E7%AD%96%E7%95%A5%E7%9A%84IP%E5%9C%B0%E5%9D%80%E6%8E%A7%E5%88%B6%E5%AE%9E%E4%BE%8B">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://happyman-bruce.blogbus.com/logs/8090989.html</link>
   <author>brucectl</author>
   <pubDate>Tue, 04 Sep 2007 14:33:17 +0800</pubDate>
  </item>
  <item>
   <title>linux 策略路由</title>
   <description><![CDATA[
linux策略路由应用


http://www.52wyx.com/Article/Linux/200606/16172.html













<!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="/logs/5690398.html">apache使用的一些心得</a> 2007-06-06</div><div><a href="/logs/3942400.html">Linux应用的小技巧</a> 2006-11-30</div><div><a href="/logs/1836790.html">mysql的几种超实用技巧</a> 2006-01-18</div><div><a href="/logs/1743701.html">DNS 介紹</a> 2005-12-24</div><div><a href="/logs/1729431.html">wget</a> 2005-12-20</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fhappyman-bruce.blogbus.com%2Flogs%2F8090949.html&title=linux+%E7%AD%96%E7%95%A5%E8%B7%AF%E7%94%B1">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://happyman-bruce.blogbus.com/logs/8090949.html</link>
   <author>brucectl</author>
   <pubDate>Tue, 04 Sep 2007 14:27:54 +0800</pubDate>
  </item>
  <item>
   <title>squid+iptable+linux策略路由架设proxy全过程</title>
   <description><![CDATA[这是兄弟我将近一个星期的心血,终于做成了,现整理一下,拿出来和大家分享一下吧!<br />
有哪些地方说的不对,请各位指出来,共同学习.<br />
<br />
参考文档:<br />
http://iptables-tutorial.frozent ... rial-cn-1.1.19.html<br />
<!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="/logs/3877054.html">系统状态查看工具Sysstat</a> 2006-11-21</div><div><a href="/logs/3192730.html">linux操作系统下建立mysql镜像数据库</a> 2006-08-30</div><div><a href="/logs/2104565.html">用SrvRepor远程监控Linux服务器</a> 2006-03-21</div><div><a href="/logs/1836799.html">linux笔记</a> 2006-01-18</div><div><a href="/logs/1729376.html">Linux切換鍵和指令</a> 2005-12-20</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fhappyman-bruce.blogbus.com%2Flogs%2F8090937.html&title=squid%2Biptable%2Blinux%E7%AD%96%E7%95%A5%E8%B7%AF%E7%94%B1%E6%9E%B6%E8%AE%BEproxy%E5%85%A8%E8%BF%87%E7%A8%8B">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://happyman-bruce.blogbus.com/logs/8090937.html</link>
   <author>brucectl</author>
   <pubDate>Tue, 04 Sep 2007 14:26:25 +0800</pubDate>
  </item>
  <item>
   <title>test</title>
   <description><![CDATA[l;dsmff;lasdfmfda;lsm;a;mlafdsl;m<!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="/logs/2104565.html">用SrvRepor远程监控Linux服务器</a> 2006-03-21</div><div><a href="/logs/1836790.html">mysql的几种超实用技巧</a> 2006-01-18</div><div><a href="/logs/1729434.html">ssh</a> 2005-12-20</div><div><a href="/logs/1729426.html">sed</a> 2005-12-20</div><div><a href="/logs/1729393.html">Linux下常用压缩格式的压缩与解压方法</a> 2005-12-20</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fhappyman-bruce.blogbus.com%2Flogs%2F7498239.html&title=test">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://happyman-bruce.blogbus.com/logs/7498239.html</link>
   <author>brucectl</author>
   <pubDate>Tue, 07 Aug 2007 14:47:35 +0800</pubDate>
  </item>
  <item>
   <title>一次DOS事件的解决办法</title>
   <description><![CDATA[<br />0.分析过程<br />首先，分析了DOS的类型、特征、攻击方法。<br /><br />使用netstat -na|grep SYN_RECV|wc，发现当前存在大量SYN_RECV状态连接，源地址<br />都是伪造的，netstat -na|grep SYN_RECV|wc显示数量为1024个，这个是当然，Linux<br />默认的Syn_Backlog对列就是1024，超过的SYN都丢弃了。<br /><br />针对的攻击端口是80:WWW服务，当然，Web服务器也已经无法访问了。<br /><br />在打开SYN_Cookie防护之后，攻击得到了一些缓解，但随后攻击流量又增大了，情况也好<br />不到哪儿去，而Linux的Iptables又不能做syn_proxy的，那么只好从其他方面下手，用<br />tcpdump -w抓下了当时的数据流量，计数分析流量大...<!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="/logs/6584949.html">wekl;jwjewfekop</a> 2007-07-10</div><div><a href="/logs/4367420.html">[mysql]在用limit查询的同时取得总的记录数</a> 2007-01-24</div><div><a href="/logs/4354986.html">Linux下NFS的配置与注意的问题</a> 2007-01-23</div><div><a href="/logs/3895408.html">[缓存加速]eAccelerator与memcached的区别与用途</a> 2006-11-24</div><div><a href="/logs/3877054.html">系统状态查看工具Sysstat</a> 2006-11-21</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fhappyman-bruce.blogbus.com%2Flogs%2F7036141.html&title=%E4%B8%80%E6%AC%A1DOS%E4%BA%8B%E4%BB%B6%E7%9A%84%E8%A7%A3%E5%86%B3%E5%8A%9E%E6%B3%95">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://happyman-bruce.blogbus.com/logs/7036141.html</link>
   <author>brucectl</author>
   <pubDate>Wed, 25 Jul 2007 10:49:18 +0800</pubDate>
  </item>
  <item>
   <title>linux下解决大量的TIME_WAIT</title>
   <description><![CDATA[<br />[root@web02 ~]# vi /etc/sysctl.conf <br />新增如下内容： <br />net.ipv4.tcp_tw_reuse = 1 <br />net.ipv4.tcp_tw_recycle = 1 <br />net.ipv4.tcp_syncookies=1 <br />使内核参数生效： <br />[root@web02 ~]# sysctl -p <br />readme: <br />n...<!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="/logs/6635378.html">ntp配置</a> 2007-07-12</div><div><a href="/logs/4355066.html">nfs配置</a> 2007-01-23</div><div><a href="/logs/3895408.html">[缓存加速]eAccelerator与memcached的区别与用途</a> 2006-11-24</div><div><a href="/logs/1836790.html">mysql的几种超实用技巧</a> 2006-01-18</div><div><a href="/logs/1729395.html">Linux的进程查看</a> 2005-12-20</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fhappyman-bruce.blogbus.com%2Flogs%2F7035900.html&title=linux%E4%B8%8B%E8%A7%A3%E5%86%B3%E5%A4%A7%E9%87%8F%E7%9A%84TIME_WAIT">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://happyman-bruce.blogbus.com/logs/7035900.html</link>
   <author>brucectl</author>
   <pubDate>Wed, 25 Jul 2007 10:41:07 +0800</pubDate>
  </item>
  <item>
   <title>改善服务器性能</title>
   <description><![CDATA[Tunning settings in sysctl.conf really help speeding things up under heavy usage..<br /><br />Basically just edit your /etc/sysctl.conf file (you will need to be root)...<br /><br />Here are my settings (you may or may not have some of these already), I tried to put a short comment for each, you can google them if you need more info:<br /><br /><br /># Disables packet forwa...<!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="/logs/7035476.html">服务器优化——Sysctl, Apache, MySQL篇</a> 2007-07-25</div><div><a href="/logs/5026310.html">RPM制作宝典</a> 2007-04-13</div><div><a href="/logs/4354986.html">Linux下NFS的配置与注意的问题</a> 2007-01-23</div><div><a href="/logs/1740464.html">MySQL索引优化</a> 2005-12-23</div><div><a href="/logs/1728695.html">MYSQL的master/slave数据同步配置</a> 2005-12-20</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fhappyman-bruce.blogbus.com%2Flogs%2F7035836.html&title=%E6%94%B9%E5%96%84%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%80%A7%E8%83%BD">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://happyman-bruce.blogbus.com/logs/7035836.html</link>
   <author>brucectl</author>
   <pubDate>Wed, 25 Jul 2007 10:38:57 +0800</pubDate>
  </item>
  <item>
   <title>服务器优化——Sysctl, Apache, MySQL篇</title>
   <description><![CDATA[<br />&nbsp;&nbsp;<!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="/logs/7035836.html">改善服务器性能</a> 2007-07-25</div><div><a href="/logs/1888496.html">scp和rsync的使用</a> 2006-02-05</div><div><a href="/logs/1836790.html">mysql的几种超实用技巧</a> 2006-01-18</div><div><a href="/logs/1740493.html">mysql使用</a> 2005-12-23</div><div><a href="/logs/1729371.html">FTP服务的两种工作方式使用技巧</a> 2005-12-20</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fhappyman-bruce.blogbus.com%2Flogs%2F7035476.html&title=%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%BC%98%E5%8C%96%E2%80%94%E2%80%94Sysctl%2C+Apache%2C+MySQL%E7%AF%87">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://happyman-bruce.blogbus.com/logs/7035476.html</link>
   <author>brucectl</author>
   <pubDate>Wed, 25 Jul 2007 10:25:16 +0800</pubDate>
  </item>
  <item>
   <title>ntp配置</title>
   <description><![CDATA[There is a wonderful net standard called NTP that can synchronize system clocks. You may already have followed someone&#39;s advice and used &#39;ntpdate&#39; or &#39;rdate&#39; to set the time on your server. But NTP is really designed to keep a large network of clocks perfectly synchronized. Not just accurate to the second, but to the millis...<!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="/logs/7498239.html">test</a> 2007-08-07</div><div><a href="/logs/1740436.html">基本知识</a> 2005-12-23</div><div><a href="/logs/1740423.html">Emacs学习笔记</a> 2005-12-23</div><div><a href="/logs/1729393.html">Linux下常用压缩格式的压缩与解压方法</a> 2005-12-20</div><div><a href="/logs/1728538.html">SSH配合SecureCRT的密匙完美使用方法</a> 2005-12-20</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fhappyman-bruce.blogbus.com%2Flogs%2F6635378.html&title=ntp%E9%85%8D%E7%BD%AE">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://happyman-bruce.blogbus.com/logs/6635378.html</link>
   <author>brucectl</author>
   <pubDate>Thu, 12 Jul 2007 14:55:38 +0800</pubDate>
  </item>
  <item>
   <title>my.cnf说明</title>
   <description><![CDATA[在Apache, PHP, MySQL的体系架构中，MySQL对于性能的影响最大，也是关键的核心部分。对于Discuz!论坛程序也是如此，MySQL的设置是否合理优化，直接影响到论坛的速度和承载量！同时，MySQL也是优化难度最大的一个部分，不但需要理解一些MySQL<!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="/logs/5026310.html">RPM制作宝典</a> 2007-04-13</div><div><a href="/logs/3442786.html">基于AS4配置时间服务器</a> 2006-09-29</div><div><a href="/logs/2420123.html">沈家近代史</a> 2006-05-07</div><div><a href="/logs/1740493.html">mysql使用</a> 2005-12-23</div><div><a href="/logs/1740464.html">MySQL索引优化</a> 2005-12-23</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fhappyman-bruce.blogbus.com%2Flogs%2F6622635.html&title=my.cnf%E8%AF%B4%E6%98%8E">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://happyman-bruce.blogbus.com/logs/6622635.html</link>
   <author>brucectl</author>
   <pubDate>Wed, 11 Jul 2007 23:07:43 +0800</pubDate>
  </item>
 </channel>
</rss>
