<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Lin's Space|Only</title>
	
	<link>http://clin003.com</link>
	<description>If you my only , I will give you my all.</description>
	<lastBuildDate>Wed, 04 Nov 2009 04:15:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/only" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>今日杂碎：补充记录PR变化</title>
		<link>http://feedproxy.google.com/~r/only/~3/DWOUiG6OiyU/</link>
		<comments>http://clin003.com/ideas/20091030-google-pr-1836/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 04:15:32 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[今日一点]]></category>
		<category><![CDATA[Google PR]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1836</guid>
		<description><![CDATA[是10月30日发行PR更新的，这个博客由3变为4啦。
另外一个洛阳生活早报（在目录中）从2变为没有了。
洛阳生活、好友圈和百科首页继续保持3。
社区首页从1变为2啦。
总的来说是升了。。
流水帐式的记录一下  
Related posts:Google的PR勤奋啦啊，又更新啦Google PR更新啦[20090528]今日杂碎：Google PR更新了[20081231]今天是啥日子Google Page Creator 服务迁移Copyright &#169; 2007-2009 This feed is building by Lin's Space&#124;Only and 我的爬行JI - IT资讯精读.本文地址：http://clin003.com/ideas/20091030-google-pr-1836/  雁过留言. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)]]></description>
			<content:encoded><![CDATA[<p>是10月30日发行PR更新的，这个博客由3变为4啦。<br />
另外一个洛阳生活早报（在目录中）从2变为没有了。<br />
洛阳生活、好友圈和百科首页继续保持3。<br />
社区首页从1变为2啦。</p>
<p>总的来说是升了。。<br />
流水帐式的记录一下 <img src='http://clin003.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://clin003.com/ideas/20090727-google-pr-1765/" rel="bookmark" title="Permanent Link: Google的PR勤奋啦啊，又更新啦">Google的PR勤奋啦啊，又更新啦</a></li><li><a href="http://clin003.com/ideas/google-pr-update-20090528-1722/" rel="bookmark" title="Permanent Link: Google PR更新啦[20090528]">Google PR更新啦[20090528]</a></li><li><a href="http://clin003.com/ideas/google-pr-20081231gengxin-1628/" rel="bookmark" title="Permanent Link: 今日杂碎：Google PR更新了[20081231]">今日杂碎：Google PR更新了[20081231]</a></li><li><a href="http://clin003.com/google/google-lego08-394/" rel="bookmark" title="Permanent Link: 今天是啥日子">今天是啥日子</a></li><li><a href="http://clin003.com/google/google-page-creator-migration-1744/" rel="bookmark" title="Permanent Link: Google Page Creator 服务迁移">Google Page Creator 服务迁移</a></li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/ideas/20091030-google-pr-1836/" >http://clin003.com/ideas/20091030-google-pr-1836/</a> <br /> <a href="http://clin003.com/ideas/20091030-google-pr-1836/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/ad5PGCZEvQgcorTCSPe4AsQOpJs/0/da"><img src="http://feedads.g.doubleclick.net/~a/ad5PGCZEvQgcorTCSPe4AsQOpJs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ad5PGCZEvQgcorTCSPe4AsQOpJs/1/da"><img src="http://feedads.g.doubleclick.net/~a/ad5PGCZEvQgcorTCSPe4AsQOpJs/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/DWOUiG6OiyU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/ideas/20091030-google-pr-1836/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://clin003.com/ideas/20091030-google-pr-1836/</feedburner:origLink></item>
		<item>
		<title>今日杂碎：备案终于通过了 :)</title>
		<link>http://feedproxy.google.com/~r/only/~3/P-W5QTJP-js/</link>
		<comments>http://clin003.com/ideas/miibeian-gov-cn-1835/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 03:11:05 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[今日一点]]></category>
		<category><![CDATA[备案]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1835</guid>
		<description><![CDATA[从 2009-10-21 到今天2009-11-04日，先后经过两次备案，终于通过了。
第一次备案没有通过，中间就又提交了一次。。
去掉先前的
尊敬的用户：
* 由于网站正在提交备案，我们临时关闭了网站访问；
谢谢关注。

今天看到日头了  
豫ICP备09039058号
Related posts:整栋楼都在晃？哀悼日【汶川地震】再封ip窥视时代互联内网服务IP某局对谷歌音乐下手啦？Copyright &#169; 2007-2009 This feed is building by Lin's Space&#124;Only and 我的爬行JI - IT资讯精读.本文地址：http://clin003.com/ideas/miibeian-gov-cn-1835/  雁过留言. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)]]></description>
			<content:encoded><![CDATA[<p>从 2009-10-21 到今天2009-11-04日，先后经过两次备案，终于通过了。</p>
<p>第一次备案没有通过，中间就又提交了一次。。</p>
<p>去掉先前的</p>
<blockquote><p>尊敬的用户：</p>
<p>* 由于网站正在提交备案，我们临时关闭了网站访问；</p>
<p>谢谢关注。
</p></blockquote>
<p>今天看到日头了 <img src='http://clin003.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>豫ICP备09039058号</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://clin003.com/ideas/in-the-entire-floor-huang-1114/" rel="bookmark" title="Permanent Link: 整栋楼都在晃？">整栋楼都在晃？</a></li><li><a href="http://clin003.com/suggested-contents/2008-5-19-21-wenchuandizhen-aidaori-1131/" rel="bookmark" title="Permanent Link: 哀悼日【汶川地震】">哀悼日【汶川地震】</a></li><li><a href="http://clin003.com/ideas/block-ip-1167/" rel="bookmark" title="Permanent Link: 再封ip">再封ip</a></li><li><a href="http://clin003.com/ideas/support-now-cn-1387/" rel="bookmark" title="Permanent Link: 窥视时代互联内网服务IP">窥视时代互联内网服务IP</a></li><li><a href="http://clin003.com/ideas/ping-google-music-by-g-top100-cn-1442/" rel="bookmark" title="Permanent Link: 某局对谷歌音乐下手啦？">某局对谷歌音乐下手啦？</a></li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/ideas/miibeian-gov-cn-1835/" >http://clin003.com/ideas/miibeian-gov-cn-1835/</a> <br /> <a href="http://clin003.com/ideas/miibeian-gov-cn-1835/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/gFgVKR7kO7oG6sC5lDhHONF3TEw/0/da"><img src="http://feedads.g.doubleclick.net/~a/gFgVKR7kO7oG6sC5lDhHONF3TEw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/gFgVKR7kO7oG6sC5lDhHONF3TEw/1/da"><img src="http://feedads.g.doubleclick.net/~a/gFgVKR7kO7oG6sC5lDhHONF3TEw/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/P-W5QTJP-js" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/ideas/miibeian-gov-cn-1835/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://clin003.com/ideas/miibeian-gov-cn-1835/</feedburner:origLink></item>
		<item>
		<title>今日杂碎：试用离线发布工具 Zoundry Raven</title>
		<link>http://feedproxy.google.com/~r/only/~3/gjiefvQug1g/</link>
		<comments>http://clin003.com/ideas/zoundry-raven-1834/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 16:06:09 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[今日一点]]></category>
		<category><![CDATA[谷歌博客搜索]]></category>
		<category><![CDATA[Zoundry Raven]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1834</guid>
		<description><![CDATA[杂碎1：试用离线发布工具 Zoundry Raven
刚刚在本地架的wordpress上测试了一把，只要不ping，不同步标签，发布速度蛮快的。
支持标签，多个博客同时发布，本地保存以前发布的文章（相当于备份了）。
本地图片发送不出去。不过可以设置“媒体库”添加图片分享网站的帐号，通过验证发布图片。
官方介绍：Zoundry Raven™ is our next generation WYSIWYG blog editor that makes posting to your blogs easier and faster. It&#8217;s as easy to use as a word processor, plus we include simple tools to add links, tags, photos, music and video files, and more.
官方地址：http://www.zoundryraven.com/
杂碎2：谷歌博客搜索突然给另一个博客一篇文章导入很多IP
现在只能看到是从谷歌博客搜索那个域名来的，可具体不知道是从哪个页面来的，没有发现高流量的搜索关键字，有可能是那篇文章被单独“推荐”的效果，这也算是使用Adsense以来最高的单日展示记录(12000+)了。
可是去谷歌博客搜索那个页面却没有发现那篇文章的链接，到现在还不清楚，到底是在哪里被“推荐”的。
若是哪位同学知道怎样能找出具体的从谷歌博客搜索哪个页面导入的IP，还望分享下经验（我用的Google analytics 统计），我在这里谢谢先。
杂碎3：备案还没下来啊，烦啊
这个博客的IP已经从平均200+的人口下降到现在的100+的人口了，目前还不确定和首页被替换有直接关系，因为刚替换首页那会人口并没有下降趋势，前天，昨天，今天，开始斜度下滑。。
忍了。。继续等
CommentsNovember  4, 2009, momo writes: 哈,备案一天我就下了了。November  4, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>杂碎1：试用离线发布工具 Zoundry Raven</strong><br />
刚刚在本地架的wordpress上测试了一把，只要不ping，不同步标签，发布速度蛮快的。</p>
<p>支持标签，多个博客同时发布，本地保存以前发布的文章（相当于备份了）。<br />
本地图片发送不出去。不过可以设置“媒体库”添加图片分享网站的帐号，通过验证发布图片。</p>
<p>官方介绍：Zoundry Raven™ is our next generation WYSIWYG blog editor that makes posting to your blogs easier and faster. It&#8217;s as easy to use as a word processor, plus we include simple tools to add links, tags, photos, music and video files, and more.</p>
<p>官方地址：http://www.zoundryraven.com/</p>
<p><strong>杂碎2：谷歌博客搜索突然给另一个博客一篇文章导入很多IP</strong></p>
<p>现在只能看到是从谷歌博客搜索那个域名来的，可具体不知道是从哪个页面来的，没有发现高流量的搜索关键字，有可能是那篇文章被单独“推荐”的效果，这也算是使用Adsense以来最高的单日展示记录(12000+)了。</p>
<p>可是去谷歌博客搜索那个页面却没有发现那篇文章的链接，到现在还不清楚，到底是在哪里被“推荐”的。</p>
<p>若是哪位同学知道怎样能找出具体的从谷歌博客搜索哪个页面导入的IP，还望分享下经验（我用的Google analytics 统计），我在这里谢谢先。</p>
<p><strong>杂碎3：备案还没下来啊，烦啊</strong></p>
<p>这个博客的IP已经从平均200+的人口下降到现在的100+的人口了，目前还不确定和首页被替换有直接关系，因为刚替换首页那会人口并没有下降趋势，前天，昨天，今天，开始斜度下滑。。</p>
<p>忍了。。继续等</p>
<hr /><h2>Comments</h2><ul><li><a href="http://clin003.com/ideas/zoundry-raven-1834/#comment-2583">November  4, 2009</a>, momo writes: 哈,备案一天我就下了了。</li><li><a href="http://clin003.com/ideas/zoundry-raven-1834/#comment-2584">November  4, 2009</a>, <a href='http://clin003.com/' rel='external nofollow' class='url'>白菜林</a> writes: <a href="#comment-2583" rel="nofollow">@momo</a> 
你厉害啊 :)</li></ul><hr /><h2>Related posts:</h2><ul><li><a href="http://clin003.com/suggested-contents/10-excellent-client-software-free-blog-105/" rel="bookmark" title="Permanent Link: 10佳免费Blog客户端软件">10佳免费Blog客户端软件</a></li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/ideas/zoundry-raven-1834/" >http://clin003.com/ideas/zoundry-raven-1834/</a> <br /> <a href="http://clin003.com/ideas/zoundry-raven-1834/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/kW2EaQtllNx-JFsE6SqJTmYyAHg/0/da"><img src="http://feedads.g.doubleclick.net/~a/kW2EaQtllNx-JFsE6SqJTmYyAHg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/kW2EaQtllNx-JFsE6SqJTmYyAHg/1/da"><img src="http://feedads.g.doubleclick.net/~a/kW2EaQtllNx-JFsE6SqJTmYyAHg/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/gjiefvQug1g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/ideas/zoundry-raven-1834/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://clin003.com/ideas/zoundry-raven-1834/</feedburner:origLink></item>
		<item>
		<title>配置 yum 为 Fedora 11 快速更新软件</title>
		<link>http://feedproxy.google.com/~r/only/~3/PXNlorzt3pg/</link>
		<comments>http://clin003.com/linux/fedora-11-yum-1832/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 15:36:02 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1832</guid>
		<description><![CDATA[这次用yum更新花啦差不多2个小时，下载文件起初看为2g多（没有配置yum的情况），后来发现为900m+，速度在十几k到一百k之间，因为有2000多个包需要更新，大多都没看速度，都自动更新的。更新完成也没有看到完整的统计信息。
更新 Fedora 11软件包
我是装完下面几个加速yum的插件
Presto 插件为 Fedora 用户提供更快的下载速度，最小化的下载文件：它只下载 rpm 包升级后的差异文件而不是整个 rpm 包。
su -c &#8216;yum install yum-presto&#8217;
可以搜索你镜像列表中最快的镜像服务器，并从中下载文件包。要安装，请输入：
su -c &#8216;yum install yum-fastestmirror&#8217;
然后在终端中用
su -c &#8216;yum update&#8217;
来更新。
安装 Flash 插件（Firefox）
首先我使用 
su -c &#8216;yum search flash&#8217;
搜索看，发现有这个可用的flash插件，于是使用
su -c &#8216;yum install flash-plugin.i386&#8242;
进行安装，刷新页面 flash 正常播放，ok。
PS：fedora的更新速度和更新源确实和Ubuntu没法比呢，不过下载速度却比Ubuntu默认中文官网的下载速度要快的多（当然Ubuntu也有速度快的更新源，比如我用过的tw的那个源速度差不多在每秒100k以上）。还有就fedora的论坛社区交流也不是很热闹（或许是偶才刚接触，不了解内情   ），Ubuntu中文论坛很热闹的样子。
&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;我是帮助你认识和使用 yum 的分割线&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
附：
yum 是 Fedora 的软件包管理系统，可用来安装软件，在线更新软件。
yum 基本命令
yum &#8211;help
man yum
安装应用程序
su -c &#8216;yum install application_name&#8217;
（注：application_name代表应用程序名，下同）
删除应用程序
su -c &#8216;yum remove application_name&#8217;
从硬盘安装 rpm 包并使用 [...]]]></description>
			<content:encoded><![CDATA[<p>这次用yum更新花啦差不多2个小时，下载文件起初看为2g多（没有配置yum的情况），后来发现为900m+，速度在十几k到一百k之间，因为有2000多个包需要更新，大多都没看速度，都自动更新的。更新完成也没有看到完整的统计信息。</p>
<p><strong>更新 Fedora 11软件包</strong></p>
<p>我是装完下面几个加速yum的插件</p>
<p>Presto 插件为 Fedora 用户提供更快的下载速度，最小化的下载文件：它只下载 rpm 包升级后的差异文件而不是整个 rpm 包。</p>
<blockquote><p>su -c &#8216;yum install yum-presto&#8217;</p></blockquote>
<p>可以搜索你镜像列表中最快的镜像服务器，并从中下载文件包。要安装，请输入：</p>
<blockquote><p>su -c &#8216;yum install yum-fastestmirror&#8217;</p></blockquote>
<p>然后在终端中用</p>
<blockquote><p>su -c &#8216;yum update&#8217;</p></blockquote>
<p>来更新。</p>
<p><strong>安装 Flash 插件（Firefox）</strong><br />
首先我使用 </p>
<blockquote><p>su -c &#8216;yum search flash&#8217;</p></blockquote>
<p>搜索看，发现有这个可用的flash插件，于是使用</p>
<blockquote><p>su -c &#8216;yum install flash-plugin.i386&#8242;</p></blockquote>
<p>进行安装，刷新页面 flash 正常播放，ok。</p>
<p>PS：fedora的更新速度和更新源确实和Ubuntu没法比呢，不过下载速度却比Ubuntu默认中文官网的下载速度要快的多（当然Ubuntu也有速度快的更新源，比如我用过的tw的那个源速度差不多在每秒100k以上）。还有就fedora的论坛社区交流也不是很热闹（或许是偶才刚接触，不了解内情 <img src='http://clin003.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ），Ubuntu中文论坛很热闹的样子。</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;我是帮助你认识和使用 yum 的分割线&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>附：</p>
<p><strong>yum 是 Fedora 的软件包管理系统，可用来安装软件，在线更新软件。</strong></p>
<p><strong>yum 基本命令</strong></p>
<p>yum &#8211;help<br />
man yum</p>
<p>安装应用程序</p>
<blockquote><p>su -c &#8216;yum install application_name&#8217;</p></blockquote>
<p>（注：application_name代表应用程序名，下同）</p>
<p>删除应用程序</p>
<blockquote><p>su -c &#8216;yum remove application_name&#8217;</p></blockquote>
<p>从硬盘安装 rpm 包并使用 yum 解决依赖</p>
<blockquote><p>su -c &#8216;yum localinstall application_name&#8217;</p></blockquote>
<p>搜索某个应用程序</p>
<blockquote><p>su -c &#8216;yum search application_name&#8217;</p></blockquote>
<p>查找某个应用程序的信息</p>
<blockquote><p>su -c &#8216;yum info application_name&#8217;</p></blockquote>
<p>更新整个系统</p>
<blockquote><p>su -c &#8216;yum update&#8217;</p></blockquote>
<p>启用软件仓库</p>
<blockquote><p>su -c &#8216;yum &#8211;enablerepo=repo_name&#8217;</p></blockquote>
<p>（repo_name 代表仓库名，下同）</p>
<p>禁用软件仓库</p>
<blockquote><p>su -c &#8216;yum &#8211;disablerepo=repo_name&#8217;</p></blockquote>
<p><strong>导入 Fedora GPG 秘匙</strong><br />
Fedora 有两个基本的软件仓库，名为 “fedora” 和 “updates” 。要使用它们并且在安装那些未签名的软件包时避免发生错误，你必须导入它们的 GPG 密匙，打开终端并且输入如下命令：</p>
<blockquote><p>su -c &#8216;rpm &#8211;import /etc/pki/rpm-gpg/*&#8217;</p></blockquote>
<p>注： 你可能会遇到一些错误信息，比如 &#8220;import failed&#8221; （导入错误），但这并不影响。</p>
<p><strong>第三方软件仓库</strong><br />
Adobe 软件仓库提供 Flash 和 Adobe Reader 的 x86 版本，安装请打开终端输入：</p>
<blockquote><p>su -<br />
rpm -ivh http://linuxdownload.adobe.com/linux/i386/adobe-release-i386-1.0-1.noarch.rpm<br />
rpm &#8211;import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
</p></blockquote>
<p><strong>配置 yum 使用代理</strong></p>
<blockquote><p>su -c &#8216;gedit /etc/yum.conf&#8217;</p></blockquote>
<p>在 yum 配置中加入下面这一行：</p>
<blockquote><p>proxy=http://ip:port/</p></blockquote>
<p><strong>安装 yum 插件</strong></p>
<p>允许你搜索并安装仅和安全有关的升级包</p>
<p>要安装，请输入：</p>
<blockquote><p>su -c &#8216;yum install yum-security&#8217;</p></blockquote>
<p>应用安全插件请输入：</p>
<blockquote><p>su -c &#8216;yum &#8211;security update&#8217;</p></blockquote>
<p>允许降级的插件，Yum 默认是不允许你降级一个软件包的，然而有时候新版本反而给你带来问题。<br />
要安装，请输入：</p>
<blockquote><p>su -c &#8216;yum install yum-allowdowngrade&#8217;</p></blockquote>
<p>要使用它请输入：</p>
<blockquote><p>su -c &#8216;yum update &#8211;allow-downgrade&#8217;</p></blockquote>
<p>你可以通过更改下面这个文件中被启用的选项来禁用该插件：</p>
<blockquote><p>su -c &#8216;gedit /etc/yum/pluginconf.d/allowdowngrade.conf&#8217;</p></blockquote>
<p>参考这里：http://www.my-guides.net/en/content/view/164/26/2/3/</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://clin003.com/linux/vista-os-yingpananzhuang-fedora-11-linux-1830/" rel="bookmark" title="Permanent Link: Fedora 11 硬盘安装(Vista 系统环境)">Fedora 11 硬盘安装(Vista 系统环境)</a></li><li><a href="http://clin003.com/suggested-contents/pantenes-tux-135/" rel="bookmark" title="Permanent Link: 潘婷的晚礼服">潘婷的晚礼服</a></li><li><a href="http://clin003.com/suggested-contents/a-reporter-at-the-scene-to-rescue-the-earthquake-live-1123/" rel="bookmark" title="Permanent Link: 一个记者在地震抢救现场做的直播">一个记者在地震抢救现场做的直播</a></li><li><a href="http://clin003.com/suggested-contents/how-to-teach-children-photography-141/" rel="bookmark" title="Permanent Link: 如何教孩子摄影">如何教孩子摄影</a></li><li><a href="http://clin003.com/suggested-contents/pantene-and-escalators-134/" rel="bookmark" title="Permanent Link: 潘婷与自动扶梯">潘婷与自动扶梯</a></li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/linux/fedora-11-yum-1832/" >http://clin003.com/linux/fedora-11-yum-1832/</a> <br /> <a href="http://clin003.com/linux/fedora-11-yum-1832/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/vCCKaNQTyf_wenZGpdBjA2Dgy6o/0/da"><img src="http://feedads.g.doubleclick.net/~a/vCCKaNQTyf_wenZGpdBjA2Dgy6o/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/vCCKaNQTyf_wenZGpdBjA2Dgy6o/1/da"><img src="http://feedads.g.doubleclick.net/~a/vCCKaNQTyf_wenZGpdBjA2Dgy6o/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/PXNlorzt3pg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/linux/fedora-11-yum-1832/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://clin003.com/linux/fedora-11-yum-1832/</feedburner:origLink></item>
		<item>
		<title>Fedora 11 硬盘安装(Vista 系统环境)</title>
		<link>http://feedproxy.google.com/~r/only/~3/fpNlGBvx1d4/</link>
		<comments>http://clin003.com/linux/vista-os-yingpananzhuang-fedora-11-linux-1830/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 09:50:50 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Fedora 11安装]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1830</guid>
		<description><![CDATA[环境：Vista home basic 版
安装条件
Fedora 11 dvd版：http://download.fedoraproject.org/pub/fedora/linux/releases/11/Fedora/i386/iso/Fedora-11-i386-DVD.iso
grub4dos：http://ncu.dl.sourceforge.net/project/grub4dos/GRUB4DOS/grub4dos%200.4.4/grub4dos-0.4.4.zip
安装步骤：
1、解压grub4dos，然后复制grldr、grldr.mbr、menu.lst(可选)放到C盘（系统盘）根目录。
2、然后在CMD.exe上右键“用管理员身份运行”。
3、先建立一个菜单项
bcdedit /create /d &#8220;Grub4Dos&#8221; /application bootsector
此时会得到一个字符串，下面用id代替上一命令得到的字符串
bcdedit /set {id} device partition=C:
bcdedit /set {id} path \grldr.mbr
bcdedit /displayorder {id} /addlast

如果要设Grub4Dos为默认，则
bcdedit /default {id}
参考：http://www.linux-wiki.cn/index.php?title=%E7%94%A8Windows_XP/Vista%E5%BC%95%E5%AF%BCgrub&#038;variant=zh-cn
4、在c盘根目录建一文件夹命名为Fedora（也可以建在别的分区符内），把Fedora-11-i386-DVD.iso里面的images文件夹解压出来放到新建的fedora目录中，再解压isolinux文件夹中的initrd.img和vmlinuz二个文件也放到fedora目录下，把Fedora-11-i386-DVD.iso文件也放在 fedora目录中，把initrd.img和vmlinuz复制一份到C盘（系统分区）的根目录下。
5、添加Fedora 11安装引导项
修改menu.lst，在menu.lst最后加上

title Install Fedora 11
kernel (hd0,0)/vmlinuz
initrd (hd0,0)/initrd.img
6、重新启动系统，选择Grub4Dos，回车。
7、选择最下面的Install Fedora 11，回车。
8、选择语言与键盘布局
中文语言：chinese（simplified）
键盘布局：默认
9、选择fedora所在分区，输入fedora路径，回车即可
磁盘分区会自动罗列出来的，若是不确定的话，可以挨个试试。
安装以上步骤下来的路径可以这样写
/dev/sda1(分区)
/fedora/ （路径）
10、点击OK，开始安装。
若想保留磁盘上原有的数据，建议使用自定义分区。
我的分区结构为：
/boot 200m
/swap 3000m
/usr 20000m
/home 30000m
/var 2000m
/ 5000m
还剩下110G+的空间。
11、省略。。
后面的我就不说啦
补充：今天折腾系统把分区都删掉了（本来使用的Win7 使用Maxdos下运行loadiso加载镜像文件linux的，密码输入错误，之后想重启后把Maxdos密码修改下，再用的，可已经不能引导系统了，于是就以前刻的fc光盘装fedora 6，装FC6的时候分区弄成自动分区啦！！就全盘数据丢失，不过也好这样把隐藏分区也解放了。。），新装的Vista（只有fc6的linux安装盘，装上后不能会升级，自己又不会在linux下装系统，就用送的vista光盘把分区重新弄了一遍）。
装Fedora前的分区情况：c盘36G，剩下的都是空闲空间。
补充2：之前装的 UBUNTU 9.10关机花屏，于是就想换Fedora用用。
更新：
Fedora中文学习交流方式 https://fedoraproject.org/wiki/Zh_CN/Communicate
CommentsOctober  29, 2009, yang writes: vista(win7)的引导确实比较复杂了，还是XP的ntldr好用啊。October  30, 2009, 白菜林 [...]]]></description>
			<content:encoded><![CDATA[<p>环境：Vista home basic 版</p>
<p><strong>安装条件</strong><br />
Fedora 11 dvd版：http://download.fedoraproject.org/pub/fedora/linux/releases/11/Fedora/i386/iso/Fedora-11-i386-DVD.iso</p>
<p>grub4dos：http://ncu.dl.sourceforge.net/project/grub4dos/GRUB4DOS/grub4dos%200.4.4/grub4dos-0.4.4.zip</p>
<p><strong>安装步骤：</strong><br />
1、解压grub4dos，然后复制grldr、grldr.mbr、menu.lst(可选)放到C盘（系统盘）根目录。</p>
<p>2、然后在CMD.exe上右键“用管理员身份运行”。</p>
<p>3、先建立一个菜单项</p>
<blockquote><p>bcdedit /create /d &#8220;Grub4Dos&#8221; /application bootsector</p></blockquote>
<p>此时会得到一个字符串，下面用id代替上一命令得到的字符串</p>
<blockquote><p>bcdedit /set {id} device partition=C:<br />
bcdedit /set {id} path \grldr.mbr<br />
bcdedit /displayorder {id} /addlast
</p></blockquote>
<p>如果要设Grub4Dos为默认，则</p>
<blockquote><p>bcdedit /default {id}</p></blockquote>
<p>参考：http://www.linux-wiki.cn/index.php?title=%E7%94%A8Windows_XP/Vista%E5%BC%95%E5%AF%BCgrub&#038;variant=zh-cn</p>
<p>4、在c盘根目录建一文件夹命名为Fedora（也可以建在别的分区符内），把Fedora-11-i386-DVD.iso里面的images文件夹解压出来放到新建的fedora目录中，再解压isolinux文件夹中的initrd.img和vmlinuz二个文件也放到fedora目录下，把Fedora-11-i386-DVD.iso文件也放在 fedora目录中，把initrd.img和vmlinuz复制一份到C盘（系统分区）的根目录下。</p>
<p>5、添加Fedora 11安装引导项</p>
<p>修改menu.lst，在menu.lst最后加上</p>
<blockquote><p>
title Install Fedora 11<br />
kernel (hd0,0)/vmlinuz<br />
initrd (hd0,0)/initrd.img</p></blockquote>
<p>6、重新启动系统，选择Grub4Dos，回车。</p>
<p>7、选择最下面的Install Fedora 11，回车。</p>
<p>8、选择语言与键盘布局<br />
中文语言：chinese（simplified）<br />
键盘布局：默认</p>
<p>9、选择fedora所在分区，输入fedora路径，回车即可<br />
磁盘分区会自动罗列出来的，若是不确定的话，可以挨个试试。<br />
安装以上步骤下来的路径可以这样写<br />
/dev/sda1(分区)<br />
/fedora/ （路径）</p>
<p>10、点击OK，开始安装。<br />
若想保留磁盘上原有的数据，建议使用自定义分区。<br />
我的分区结构为：<br />
/boot 200m<br />
/swap 3000m<br />
/usr 20000m<br />
/home 30000m<br />
/var 2000m<br />
/ 5000m<br />
还剩下110G+的空间。</p>
<p>11、省略。。<br />
后面的我就不说啦</p>
<p>补充：今天折腾系统把分区都删掉了（本来使用的Win7 使用Maxdos下运行loadiso加载镜像文件linux的，密码输入错误，之后想重启后把Maxdos密码修改下，再用的，可已经不能引导系统了，于是就以前刻的fc光盘装fedora 6，装FC6的时候分区弄成自动分区啦！！就全盘数据丢失，不过也好这样把隐藏分区也解放了。。），新装的Vista（只有fc6的linux安装盘，装上后不能会升级，自己又不会在linux下装系统，就用送的vista光盘把分区重新弄了一遍）。</p>
<p>装Fedora前的分区情况：c盘36G，剩下的都是空闲空间。</p>
<p>补充2：之前装的 UBUNTU 9.10关机花屏，于是就想换Fedora用用。</p>
<p>更新：<br />
Fedora中文学习交流方式 https://fedoraproject.org/wiki/Zh_CN/Communicate</p>
<hr /><h2>Comments</h2><ul><li><a href="http://clin003.com/linux/vista-os-yingpananzhuang-fedora-11-linux-1830/#comment-2569">October  29, 2009</a>, <a href='http://www.sgtalk.cn' rel='external nofollow' class='url'>yang</a> writes: vista(win7)的引导确实比较复杂了，还是XP的ntldr好用啊。</li><li><a href="http://clin003.com/linux/vista-os-yingpananzhuang-fedora-11-linux-1830/#comment-2570">October  30, 2009</a>, <a href='http://clin003.com/' rel='external nofollow' class='url'>白菜林</a> writes: <a href="#comment-2569" rel="nofollow">@yang</a> 
是啊 xp下在boot.ini里改改就行了</li></ul><hr /><h2>Related posts:</h2><ul><li><a href="http://clin003.com/linux/fedora-11-yum-1832/" rel="bookmark" title="Permanent Link: 配置 yum 为 Fedora 11 快速更新软件">配置 yum 为 Fedora 11 快速更新软件</a></li><li><a href="http://clin003.com/internet/small-enough-and-smart-enough-linux-damn-small-linux-v423-final-342/" rel="bookmark" title="Permanent Link: small enough and smart enough linux(Damn Small Linux v4.2.3 Final )">small enough and smart enough linux(Damn Small Linux v4.2.3 Final )</a></li><li><a href="http://clin003.com/ideas/www-google-com-chrome-1461/" rel="bookmark" title="Permanent Link: 体验谷歌浏览器(Google Chrome)">体验谷歌浏览器(Google Chrome)</a></li><li><a href="http://clin003.com/ideas/have-a-look-tencent-1379/" rel="bookmark" title="Permanent Link: 瞅下腾讯的几个服务器">瞅下腾讯的几个服务器</a></li><li><a href="http://clin003.com/ideas/am-honoured-some-people-even-to-detect-this-blog-1235/" rel="bookmark" title="Permanent Link: 很荣幸！竟然有人来检测这个Blog啦">很荣幸！竟然有人来检测这个Blog啦</a></li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/linux/vista-os-yingpananzhuang-fedora-11-linux-1830/" >http://clin003.com/linux/vista-os-yingpananzhuang-fedora-11-linux-1830/</a> <br /> <a href="http://clin003.com/linux/vista-os-yingpananzhuang-fedora-11-linux-1830/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/qdJKppDQlGdwOiVZjSfld83ljYw/0/da"><img src="http://feedads.g.doubleclick.net/~a/qdJKppDQlGdwOiVZjSfld83ljYw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/qdJKppDQlGdwOiVZjSfld83ljYw/1/da"><img src="http://feedads.g.doubleclick.net/~a/qdJKppDQlGdwOiVZjSfld83ljYw/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/fpNlGBvx1d4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/linux/vista-os-yingpananzhuang-fedora-11-linux-1830/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://clin003.com/linux/vista-os-yingpananzhuang-fedora-11-linux-1830/</feedburner:origLink></item>
		<item>
		<title>今日杂碎：新浪微博开放了，嘀咕重见天日了</title>
		<link>http://feedproxy.google.com/~r/only/~3/VqLopET7SyY/</link>
		<comments>http://clin003.com/ideas/xinlangweibokaifangle-diguwangjiefengle-1829/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 16:58:07 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[今日一点]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1829</guid>
		<description><![CDATA[杂碎1：小话微薄
那段黑色的时间全国的微薄只见黑压压的全倒下了，随着新浪大张旗鼓的宣传，从当初的封闭测试到现在的开放注册（邀请码已经自动填写了），今天又发现新浪微薄已经对游客开放访问了，目前没有发现隐私权限设置。
新浪的微薄也好 ，嘀咕也好，火兔也好都进行了深度的自我审查，想发现然后点燃一些东东似乎还很困难。
其实我关心的是Twitter何时再国内被解封，雅虎的meme何时被解封。。
目前看来希望渺茫
杂碎2：采集内容
前几天开始采集了，的确很方便，省却了不少复制粘贴的动作，因为本地新闻不够充实，我就又添加啦个分类采集时尚女人方面的帖子，倒是很多。
每次采集都把新闻放到最后采集，好让新闻排在别的文章前边。好让浏览者不认为只有那些不知所以的时尚女人的帖子。。
杂碎2：去掉顶部的Adsense广告位
为了让Adsense出现优质的广告信息，一个帖子页面有一个内容展现广告位，一个搜索联盟广告位，两个广告单元。一个列表页面，只有一个内容展现广告位。
CommentsOctober  27, 2009, 减法 writes: 很高兴，在您这里看见“嘀咕又回来了”，等待真的好久啦！Copyright &#169; 2007-2009 This feed is building by Lin's Space&#124;Only and 我的爬行JI - IT资讯精读.本文地址：http://clin003.com/ideas/xinlangweibokaifangle-diguwangjiefengle-1829/  雁过留言. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)]]></description>
			<content:encoded><![CDATA[<p><strong>杂碎1：小话微薄</strong></p>
<p>那段黑色的时间全国的微薄只见黑压压的全倒下了，随着新浪大张旗鼓的宣传，从当初的封闭测试到现在的开放注册（邀请码已经自动填写了），今天又发现新浪微薄已经对游客开放访问了，目前没有发现隐私权限设置。</p>
<p>新浪的微薄也好 ，嘀咕也好，火兔也好都进行了深度的自我审查，想发现然后点燃一些东东似乎还很困难。<br />
其实我关心的是Twitter何时再国内被解封，雅虎的meme何时被解封。。<br />
目前看来希望渺茫</p>
<p><strong>杂碎2：采集内容</strong></p>
<p>前几天开始采集了，的确很方便，省却了不少复制粘贴的动作，因为本地新闻不够充实，我就又添加啦个分类采集时尚女人方面的帖子，倒是很多。</p>
<p>每次采集都把新闻放到最后采集，好让新闻排在别的文章前边。好让浏览者不认为只有那些不知所以的时尚女人的帖子。。</p>
<p><strong>杂碎2：去掉顶部的Adsense广告位</strong></p>
<p>为了让Adsense出现优质的广告信息，一个帖子页面有一个内容展现广告位，一个搜索联盟广告位，两个广告单元。一个列表页面，只有一个内容展现广告位。</p>
<hr /><h2>Comments</h2><ul><li><a href="http://clin003.com/ideas/xinlangweibokaifangle-diguwangjiefengle-1829/#comment-2565">October  27, 2009</a>, 减法 writes: 很高兴，在您这里看见“嘀咕又回来了”，等待真的好久啦！</li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/ideas/xinlangweibokaifangle-diguwangjiefengle-1829/" >http://clin003.com/ideas/xinlangweibokaifangle-diguwangjiefengle-1829/</a> <br /> <a href="http://clin003.com/ideas/xinlangweibokaifangle-diguwangjiefengle-1829/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/ElMj4e-pbMFfVPXOHszuckyrH6Y/0/da"><img src="http://feedads.g.doubleclick.net/~a/ElMj4e-pbMFfVPXOHszuckyrH6Y/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ElMj4e-pbMFfVPXOHszuckyrH6Y/1/da"><img src="http://feedads.g.doubleclick.net/~a/ElMj4e-pbMFfVPXOHszuckyrH6Y/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/VqLopET7SyY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/ideas/xinlangweibokaifangle-diguwangjiefengle-1829/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://clin003.com/ideas/xinlangweibokaifangle-diguwangjiefengle-1829/</feedburner:origLink></item>
		<item>
		<title>升级到 MediaWiki 1.15.1</title>
		<link>http://feedproxy.google.com/~r/only/~3/B63GZuy77Wg/</link>
		<comments>http://clin003.com/wiki/mediawiki-1-15-1-upgrading-1828/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 03:54:27 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[Wiki支持]]></category>
		<category><![CDATA[今日一点]]></category>
		<category><![CDATA[localsettings]]></category>
		<category><![CDATA[mediawiki]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1828</guid>
		<description><![CDATA[从MediaWiki 1.12.0 直接升过来的，按照升级说明，一路很顺利，用的最后一种办法，重新安装来升级的。
升级前准备，备份数据库，备份配置文件 LocalSettings.old.php 为LocalSettings.old.php ，修改好模板文件（若你先前修改过的话），删除多余的语言文件（不是必须的）。
安装的时候的数据库和原配置一样，不记得的可以打开 LocalSettings.old.php 看看。
安装成功之后删除新生成的 LocalSettings.php ，然后改  LocalSettings.old.php 为  LocalSettings.php 。
升级完成，测试基本功能是否正常。。
补充：
找到的关闭新用户注册的办法，也发到这里来了
就是在配置文件 LocalSettings.php 中添加以下语句：
#Disallow creating accounts
$wgGroupPermissions['*']['createaccount'] = false;

关闭游客顶部的IP地址显示（可减轻服务器负载）：
$wgShowIPinHeader = false;
关闭游客编辑权限：
$wgGroupPermissions['*']['edit'] = false;
查看更多关于 Mediawiki LocalSettings配置变量索引 ：http://clin003.com/wiki/index-of-all-supported-configuration-options-based-on-the-localsettings-file-1489/
Related posts:修改Mediawiki发送邮件的头信息Mediawiki LocalSettings配置变量索引谈下Mediawiki的Mediawiki:Sidebarmediawiki页面伪静态配置调试Mediawiki允许图片上传设置Copyright &#169; 2007-2009 This feed is building by Lin's Space&#124;Only and 我的爬行JI - IT资讯精读.本文地址：http://clin003.com/wiki/mediawiki-1-15-1-upgrading-1828/  雁过留言. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)]]></description>
			<content:encoded><![CDATA[<p>从MediaWiki 1.12.0 直接升过来的，按照<a href="http://www.mediawiki.org/wiki/Manual:Upgrading#Alternative_2:_Re-run_the_installer">升级说明</a>，一路很顺利，用的最后一种办法，重新安装来升级的。</p>
<blockquote><p>升级前准备，备份数据库，备份配置文件 LocalSettings.old.php 为LocalSettings.old.php ，修改好模板文件（若你先前修改过的话），删除多余的语言文件（不是必须的）。</p>
<p>安装的时候的数据库和原配置一样，不记得的可以打开 LocalSettings.old.php 看看。<br />
安装成功之后删除新生成的 LocalSettings.php ，然后改  LocalSettings.old.php 为  LocalSettings.php 。</p></blockquote>
<p>升级完成，测试基本功能是否正常。。</p>
<p><strong>补充：</strong></p>
<p>找到的关闭新用户注册的办法，也发到这里来了</p>
<p>就是在配置文件 LocalSettings.php 中添加以下语句：</p>
<blockquote><p>#Disallow creating accounts<br />
$wgGroupPermissions['*']['createaccount'] = false;
</p></blockquote>
<p>关闭游客顶部的IP地址显示（可减轻服务器负载）：</p>
<blockquote><p>$wgShowIPinHeader = false;</p></blockquote>
<p>关闭游客编辑权限：</p>
<blockquote><p>$wgGroupPermissions['*']['edit'] = false;</p></blockquote>
<p>查看更多关于 <a href="http://clin003.com/wiki/index-of-all-supported-configuration-options-based-on-the-localsettings-file-1489/">Mediawiki LocalSettings配置变量索引 ：http://clin003.com/wiki/index-of-all-supported-configuration-options-based-on-the-localsettings-file-1489/</a></p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://clin003.com/wiki/mediawiki-mail-header-1196/" rel="bookmark" title="Permanent Link: 修改Mediawiki发送邮件的头信息">修改Mediawiki发送邮件的头信息</a></li><li><a href="http://clin003.com/wiki/index-of-all-supported-configuration-options-based-on-the-localsettings-file-1489/" rel="bookmark" title="Permanent Link: Mediawiki LocalSettings配置变量索引">Mediawiki LocalSettings配置变量索引</a></li><li><a href="http://clin003.com/wiki/mediawiki-sidebar-1153/" rel="bookmark" title="Permanent Link: 谈下Mediawiki的Mediawiki:Sidebar">谈下Mediawiki的Mediawiki:Sidebar</a></li><li><a href="http://clin003.com/wiki/mediawiki-short-url-1103/" rel="bookmark" title="Permanent Link: mediawiki页面伪静态配置调试">mediawiki页面伪静态配置调试</a></li><li><a href="http://clin003.com/wiki/mediawiki-wgenableuploads-1420/" rel="bookmark" title="Permanent Link: Mediawiki允许图片上传设置">Mediawiki允许图片上传设置</a></li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/wiki/mediawiki-1-15-1-upgrading-1828/" >http://clin003.com/wiki/mediawiki-1-15-1-upgrading-1828/</a> <br /> <a href="http://clin003.com/wiki/mediawiki-1-15-1-upgrading-1828/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/jxxKEfnQW3-2Rt1-Q9MdU4NFzkk/0/da"><img src="http://feedads.g.doubleclick.net/~a/jxxKEfnQW3-2Rt1-Q9MdU4NFzkk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/jxxKEfnQW3-2Rt1-Q9MdU4NFzkk/1/da"><img src="http://feedads.g.doubleclick.net/~a/jxxKEfnQW3-2Rt1-Q9MdU4NFzkk/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/B63GZuy77Wg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/wiki/mediawiki-1-15-1-upgrading-1828/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://clin003.com/wiki/mediawiki-1-15-1-upgrading-1828/</feedburner:origLink></item>
		<item>
		<title>升级到 WordPress 2.8.5</title>
		<link>http://feedproxy.google.com/~r/only/~3/AWMEBCEb-as/</link>
		<comments>http://clin003.com/wp-use/wordpress-2-8-5-hardening-release-1827/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 02:18:17 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[wordpress支持]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1827</guid>
		<description><![CDATA[关于WordPress 2.8.5，官方的升级介绍：
    * A fix for the Trackback Denial-of-Service attack that is currently being seen.
    * Removal of areas within the code where php code in variables was evaluated.
    * Switched the file upload functionality to be whitelisted for all users including Admins.
    [...]]]></description>
			<content:encoded><![CDATA[<p>关于WordPress 2.8.5，官方的<a href="http://wordpress.org/development/2009/10/wordpress-2-8-5-hardening-release/">升级介绍</a>：</p>
<blockquote><p>    * A fix for the Trackback Denial-of-Service attack that is currently being seen.<br />
    * Removal of areas within the code where php code in variables was evaluated.<br />
    * Switched the file upload functionality to be whitelisted for all users including Admins.<br />
    * Retiring of the two importers of Tag data from old plugins.</p></blockquote>
<p>以下为WP群内“午夜”提供的翻译：</p>
<blockquote><p>修复了当前存在的一个引用的拒绝服务攻击;<br />
清除代码中可评估变量中的PHP代码;<br />
转换文件上传功能中，所有用户包括管理员为白名单;<br />
除去来自过期的插件的标签数据的两个入口。</p></blockquote>
<p>这次打包的日期是20091020 ，修改的文件列表为：</p>
<blockquote><p>
│  readme.html<br />
│  wp-app.php<br />
│  wp-trackback.php<br />
│  xmlrpc.php<br />
│<br />
├─wp-admin<br />
│  │  edit-attachment-rows.php<br />
│  │  install.php<br />
│  │  page.php<br />
│  │  post.php<br />
│  │<br />
│  ├─import<br />
│  │      wordpress.php<br />
│  │<br />
│  └─includes<br />
│          post.php<br />
│          update-core.php<br />
│<br />
├─wp-content<br />
│  └─plugins<br />
│      └─akismet<br />
│              akismet.php<br />
│              readme.txt<br />
│<br />
└─wp-includes<br />
        author-template.php<br />
        bookmark-template.php<br />
        capabilities.php<br />
        category-template.php<br />
        classes.php<br />
        comment-template.php<br />
        formatting.php<br />
        general-template.php<br />
        media.php<br />
        post-template.php<br />
        rewrite.php<br />
        theme.php<br />
        version.php
</p></blockquote>
<p>通过简单的对比文件修改日期来制作补丁包，方便不能自动升级的童鞋。。</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://clin003.com/wp-use/screencast-and-wordpress-25-rc2-581/" rel="bookmark" title="Permanent Link: WordPress 2.5 RC2很酷的screencast">WordPress 2.5 RC2很酷的screencast</a></li><li><a href="http://clin003.com/wp-use/wordpress-2-8-2-fixes-an-xss-1760/" rel="bookmark" title="Permanent Link: WordPress 2.8.2发布，修复评论XSS隐患">WordPress 2.8.2发布，修复评论XSS隐患</a></li><li><a href="http://clin003.com/wp-use/security-fix-for-wordpress-263-release-1598/" rel="bookmark" title="Permanent Link: 今日杂碎：更新WordPress 2.6.5">今日杂碎：更新WordPress 2.6.5</a></li><li><a href="http://clin003.com/wp-use/upgrading-wordpress-263-1550/" rel="bookmark" title="Permanent Link: 紧急更新至WordPress 2.6.3">紧急更新至WordPress 2.6.3</a></li><li><a href="http://clin003.com/wp-use/professional-wordpress-themes-566/" rel="bookmark" title="Permanent Link: 专业的Wordpress模板">专业的Wordpress模板</a></li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/wp-use/wordpress-2-8-5-hardening-release-1827/" >http://clin003.com/wp-use/wordpress-2-8-5-hardening-release-1827/</a> <br /> <a href="http://clin003.com/wp-use/wordpress-2-8-5-hardening-release-1827/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/7IYoLmn2n1TGVpblBccnbTJb0eY/0/da"><img src="http://feedads.g.doubleclick.net/~a/7IYoLmn2n1TGVpblBccnbTJb0eY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/7IYoLmn2n1TGVpblBccnbTJb0eY/1/da"><img src="http://feedads.g.doubleclick.net/~a/7IYoLmn2n1TGVpblBccnbTJb0eY/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/AWMEBCEb-as" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/wp-use/wordpress-2-8-5-hardening-release-1827/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://clin003.com/wp-use/wordpress-2-8-5-hardening-release-1827/</feedburner:origLink></item>
		<item>
		<title>Discuz 7.1中安全引用 Flash 视频，解决引用视频跳转问题</title>
		<link>http://feedproxy.google.com/~r/only/~3/skihh71TR9k/</link>
		<comments>http://clin003.com/ideas/discuz-7-1-flash-allownetworking-internal-1826/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 05:31:52 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[SNS]]></category>
		<category><![CDATA[今日一点]]></category>
		<category><![CDATA[allownetworking]]></category>
		<category><![CDATA[Discuz]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1826</guid>
		<description><![CDATA[关于插入的时候添加allowNetworking 参数，可以查看详细的 安全引用Flash视频，allownetworking=”internal” 参数的应用 介绍。
打开include\discuzcode.fun.php
大概在383行，179行，316行
添加以下参数
\&#8217;allowNetworking\&#8217;,\&#8217;internal\&#8217;
到
383行
if($flv) {
return
和
316行
case &#8217;swf&#8217;:
return &#8216;
中。
然后添加
&#8216;allowNetworking&#8217;,'internal&#8217;
到
179行
if($allowmediacode &#38;&#38; strpos($msglower, &#8216;[/flash]&#8216;) !== FALSE) {
$message = preg_replace(
中。
注意参数的对应关系
Related posts:安全引用Flash视频，allownetworking=&#8221;internal&#8221; 参数的应用紧急对比更新Discuz论坛安全补丁包[20081117]完美解决Discuz官方国庆模板页头广告错位方法使用Discuz插件的同学需要注意了请升级你的flash控件到最新版本：Flash控件漏洞仍然很泛滥Copyright &#169; 2007-2009 This feed is building by Lin's Space&#124;Only and 我的爬行JI - IT资讯精读.本文地址：http://clin003.com/ideas/discuz-7-1-flash-allownetworking-internal-1826/  雁过留言. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)]]></description>
			<content:encoded><![CDATA[<p>关于插入的时候添加allowNetworking 参数，可以查看详细的 <a href="http://clin003.com/ideas/adobe-actionscript-3-allownetworking-internal-1792/">安全引用Flash视频，allownetworking=”internal” 参数的应用</a> 介绍。</p>
<p>打开include\discuzcode.fun.php<br />
大概在383行，179行，316行<br />
添加以下参数</p>
<blockquote><p>\&#8217;allowNetworking\&#8217;,\&#8217;internal\&#8217;</p></blockquote>
<p>到<br />
383行</p>
<blockquote><p>if($flv) {<br />
return</p></blockquote>
<p>和<br />
316行</p>
<blockquote><p>case &#8217;swf&#8217;:<br />
return &#8216;</p></blockquote>
<p>中。</p>
<p>然后添加</p>
<blockquote><p>&#8216;allowNetworking&#8217;,'internal&#8217;</p></blockquote>
<p>到<br />
179行</p>
<blockquote><p>if($allowmediacode &amp;&amp; strpos($msglower, &#8216;[/flash]&#8216;) !== FALSE) {<br />
$message = preg_replace(</p></blockquote>
<p>中。</p>
<p><em>注意参数的对应关系</em></p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://clin003.com/ideas/adobe-actionscript-3-allownetworking-internal-1792/" rel="bookmark" title="Permanent Link: 安全引用Flash视频，allownetworking=&#8221;internal&#8221; 参数的应用">安全引用Flash视频，allownetworking=&#8221;internal&#8221; 参数的应用</a></li><li><a href="http://clin003.com/safe/discuz-wap-20081117-1584/" rel="bookmark" title="Permanent Link: 紧急对比更新Discuz论坛安全补丁包[20081117]">紧急对比更新Discuz论坛安全补丁包[20081117]</a></li><li><a href="http://clin003.com/web2o-webos/discuz-guoqignmobanyetouguanggaocuoweijiejuebanfa-1811/" rel="bookmark" title="Permanent Link: 完美解决Discuz官方国庆模板页头广告错位方法">完美解决Discuz官方国庆模板页头广告错位方法</a></li><li><a href="http://clin003.com/ideas/discuz-plugin-exploits-1800/" rel="bookmark" title="Permanent Link: 使用Discuz插件的同学需要注意了">使用Discuz插件的同学需要注意了</a></li><li><a href="http://clin003.com/ideas/place-update-flash-activex-1271/" rel="bookmark" title="Permanent Link: 请升级你的flash控件到最新版本：Flash控件漏洞仍然很泛滥">请升级你的flash控件到最新版本：Flash控件漏洞仍然很泛滥</a></li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/ideas/discuz-7-1-flash-allownetworking-internal-1826/" >http://clin003.com/ideas/discuz-7-1-flash-allownetworking-internal-1826/</a> <br /> <a href="http://clin003.com/ideas/discuz-7-1-flash-allownetworking-internal-1826/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/Y57ydouRpKCdSHZTi550UwrhtwI/0/da"><img src="http://feedads.g.doubleclick.net/~a/Y57ydouRpKCdSHZTi550UwrhtwI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Y57ydouRpKCdSHZTi550UwrhtwI/1/da"><img src="http://feedads.g.doubleclick.net/~a/Y57ydouRpKCdSHZTi550UwrhtwI/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/skihh71TR9k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/ideas/discuz-7-1-flash-allownetworking-internal-1826/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://clin003.com/ideas/discuz-7-1-flash-allownetworking-internal-1826/</feedburner:origLink></item>
		<item>
		<title>今日杂碎：设置页面 keywords 内容为空</title>
		<link>http://feedproxy.google.com/~r/only/~3/Dk5newdS-F0/</link>
		<comments>http://clin003.com/ideas/seo-google-and-baidu-meta-keywords-1825/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 15:46:10 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[今日一点]]></category>
		<category><![CDATA[Keywords]]></category>
		<category><![CDATA[洛阳生活]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1825</guid>
		<description><![CDATA[杂碎1：把洛阳生活的内容页面 meta  keywords 内容标记为空的
Google 的 Matt Cutts 9月在博客称 “Google does not use the keywords meta tag in our web search”，相当于 Google宣布正式放弃meta标签 keywords 在Google中的作用。
去掉 meta  keywords 对百度未必是坏事。。
杂碎2：解决“使用SS7采集出现未开始就提示采集完成”
现象描述：
处理索引列表页面 http://www&#8230;./html/31/31728/index.html 开始
处理索引列表页面内容结束
采集完成，点击此处查看采集结果
在DZ论坛查看到这个帖子，按照提示问题解决
发现是编码转换的错误。
文件名：admin_robots.php
函数：function geturlfile($url, $encode=1)
发现：
在编辑采集器的时候。$encode参数是0。所以实际上是不转换页面编码的。所以调试的时候都能正常通过
但是实际抓取时。因为supesite是utf8版本的。所以采集时会把编码转换为utf8。有些网站页面写的是GB2312。但实际上在用iconv函数转换时会出错。页面转换后少了一大半，造成list处理错误（但supesite又没提示……）。
编辑采集器，如果你的采集器“采集页面编码”部分是GB2312，试试改成GBK应该就好了
我只把页面编码修改为GBK后再次采集，已经可以正常采集了。
Related posts:今日杂碎：对洛阳生活信息网的keywords和description进行啦调整针对HDWiki4.0后台seo功能的补充WordPress SEO——为你的博客赢得更好的排名Robots META 标签说明和百度的Robots协议今天通过对HDWiki程序代码分析进行啦head部分的搜索SEOCopyright &#169; 2007-2009 This feed is building by Lin's Space&#124;Only and 我的爬行JI - IT资讯精读.本文地址：http://clin003.com/ideas/seo-google-and-baidu-meta-keywords-1825/  雁过留言. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)]]></description>
			<content:encoded><![CDATA[<p><strong>杂碎1：把<a href="http://luoyanglife.com/">洛阳生活</a>的内容页面 meta  keywords 内容标记为空的</strong></p>
<p>Google 的 Matt Cutts 9月在博客称 “<a href="http://www.mattcutts.com/blog/keywords-meta-tag-in-web-search/">Google does not use the keywords meta tag in our web search</a>”，相当于 Google宣布正式放弃meta标签 keywords 在Google中的作用。</p>
<p>去掉 meta  keywords 对百度未必是坏事。。</p>
<p><strong>杂碎2：解决“使用SS7采集出现未开始就提示采集完成”</strong></p>
<p>现象描述：</p>
<blockquote><p>处理索引列表页面 http://www&#8230;./html/31/31728/index.html 开始<br />
处理索引列表页面内容结束</p>
<p>采集完成，点击此处查看采集结果</p></blockquote>
<p>在DZ论坛查看到<a href="http://www.discuz.net/viewthread.php?tid=1308445&#038;page=2#pid11123019">这个帖子</a>，按照提示问题解决</p>
<blockquote><p>发现是编码转换的错误。<br />
文件名：admin_robots.php<br />
函数：function geturlfile($url, $encode=1)</p>
<p>发现：<br />
在编辑采集器的时候。$encode参数是0。所以实际上是不转换页面编码的。所以调试的时候都能正常通过</p>
<p>但是实际抓取时。因为supesite是utf8版本的。所以采集时会把编码转换为utf8。有些网站页面写的是GB2312。但实际上在用iconv函数转换时会出错。页面转换后少了一大半，造成list处理错误（但supesite又没提示……）。</p>
<p>编辑采集器，如果你的采集器“采集页面编码”部分是GB2312，试试改成GBK应该就好了</p></blockquote>
<p>我只把页面编码修改为GBK后再次采集，已经可以正常采集了。</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://clin003.com/search-engine/keywords-and-description-in-search-result-1639/" rel="bookmark" title="Permanent Link: 今日杂碎：对洛阳生活信息网的keywords和description进行啦调整">今日杂碎：对洛阳生活信息网的keywords和description进行啦调整</a></li><li><a href="http://clin003.com/wiki/kaiyuan-hoodong-com-hdwiki40-header-seo-1436/" rel="bookmark" title="Permanent Link: 针对HDWiki4.0后台seo功能的补充">针对HDWiki4.0后台seo功能的补充</a></li><li><a href="http://clin003.com/wp-use/wordpress-seo-the-definitive-guide-to-high-rankings-for-your-blog-1251/" rel="bookmark" title="Permanent Link: WordPress SEO——为你的博客赢得更好的排名">WordPress SEO——为你的博客赢得更好的排名</a></li><li><a href="http://clin003.com/search-engine/about-the-robots-meta-tag-1716/" rel="bookmark" title="Permanent Link: Robots META 标签说明和百度的Robots协议">Robots META 标签说明和百度的Robots协议</a></li><li><a href="http://clin003.com/wiki/today-through-hdwiki-code-analysis-the-implementation-of-the-meta-tags-part-of-the-search-seo-114/" rel="bookmark" title="Permanent Link: 今天通过对HDWiki程序代码分析进行啦head部分的搜索SEO">今天通过对HDWiki程序代码分析进行啦head部分的搜索SEO</a></li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/ideas/seo-google-and-baidu-meta-keywords-1825/" >http://clin003.com/ideas/seo-google-and-baidu-meta-keywords-1825/</a> <br /> <a href="http://clin003.com/ideas/seo-google-and-baidu-meta-keywords-1825/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/n9ndQ_iCLStbKGc5u0fFeADnXP0/0/da"><img src="http://feedads.g.doubleclick.net/~a/n9ndQ_iCLStbKGc5u0fFeADnXP0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/n9ndQ_iCLStbKGc5u0fFeADnXP0/1/da"><img src="http://feedads.g.doubleclick.net/~a/n9ndQ_iCLStbKGc5u0fFeADnXP0/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/Dk5newdS-F0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/ideas/seo-google-and-baidu-meta-keywords-1825/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://clin003.com/ideas/seo-google-and-baidu-meta-keywords-1825/</feedburner:origLink></item>
		<item>
		<title>HDWiki4.0.5标签Tags过滤危险网页代码修复办法</title>
		<link>http://feedproxy.google.com/~r/only/~3/W2IRAcIL5_w/</link>
		<comments>http://clin003.com/wiki/hdwiki4-0-5-tags-strip_tags-1823/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 07:38:23 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[Wiki支持]]></category>
		<category><![CDATA[今日一点]]></category>
		<category><![CDATA[代码调试]]></category>
		<category><![CDATA[hdwiki]]></category>
		<category><![CDATA[strip_tags]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1823</guid>
		<description><![CDATA[环境：HDWiki4.0.5
描述：标签中的内容在被服务端“处理”时候没有被严格过滤（有一层关键字过滤），不过内容在发送到服务器前被客户端的js处理过，原版编辑器模板并没有正常使用上的问题。
前几天为HDWiki换个编辑器问题就出来了，由于偶的编辑器页面没有js处理，导致发送到服务器的Tags中的网页标签代码也被存储啦，然后查看词条页面的时候，就看到发送的网页代码效果了。
修复办法：打开control目录下的doc.php，找到
大概在178和315行
$doc['tags']=$_ENV['doc']-&#62;replace_danger_word($doc['tags']);
修改为
$doc['tags']=strip_tags($_ENV['doc']-&#62;replace_danger_word($doc['tags']));
即可。
同时建议把标题Title也进行同样的“过滤”（不过代码在Title里是没有太大危险性的，因为Title已经在服务端进行了转换处理）！
最后感谢“风吹过的夏天”同学的问题纠结和热心帮助。。
附注：PHP strip_tags函数说明
strip_tags() 函数剥去 HTML、XML 以及 PHP 的标签。
strip_tags(string,allow)
参数 	描述
string 	必需。规定要检查的字符串。
allow 	可选。规定允许的标签。这些标签不会被删除。
注释：该函数始终会剥离 HTML 注释。这点无法通过 allow 参数改变。
参考：PHP strip_tags() 函数
Related posts:升级Hdwiki4.0遇到的俩问题对HDWiki网站进行FLASH恶意代码加载与修复办法[HDWiki跨站漏洞]QQ空间挂件代码CSS的Filefox和IE透明效果修修改改补补Copyright &#169; 2007-2009 This feed is building by Lin's Space&#124;Only and 我的爬行JI - IT资讯精读.本文地址：http://clin003.com/wiki/hdwiki4-0-5-tags-strip_tags-1823/  雁过留言. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)]]></description>
			<content:encoded><![CDATA[<p>环境：HDWiki4.0.5<br />
描述：标签中的内容在被服务端“处理”时候没有被严格过滤（有一层关键字过滤），不过内容在发送到服务器前被客户端的js处理过，原版编辑器模板并没有正常使用上的问题。</p>
<p>前几天<a href="http://clin003.com/wiki/kindeditor-3-for-hdwiki4-0-5-html-editor-1821/" target="_blank">为HDWiki换个编辑器</a>问题就出来了，由于偶的编辑器页面没有js处理，导致发送到服务器的Tags中的网页标签代码也被存储啦，然后查看词条页面的时候，就看到发送的网页代码效果了。</p>
<p>修复办法：打开control目录下的doc.php，找到<br />
<em>大概在178和315行</em></p>
<blockquote><p>$doc['tags']=$_ENV['doc']-&gt;replace_danger_word($doc['tags']);</p></blockquote>
<p>修改为</p>
<blockquote><p>$doc['tags']=strip_tags($_ENV['doc']-&gt;replace_danger_word($doc['tags']));</p></blockquote>
<p>即可。<br />
同时建议把标题Title也进行同样的“过滤”（不过代码在Title里是没有太大危险性的，因为Title已经在服务端进行了转换处理）！</p>
<p>最后感谢“风吹过的夏天”同学的问题纠结和热心帮助。。</p>
<p>附注：PHP strip_tags函数说明<br />
strip_tags() 函数剥去 HTML、XML 以及 PHP 的标签。</p>
<blockquote><p>strip_tags(string,allow)<br />
参数 	描述<br />
string 	必需。规定要检查的字符串。<br />
allow 	可选。规定允许的标签。这些标签不会被删除。</p></blockquote>
<p>注释：该函数始终会剥离 HTML 注释。这点无法通过 allow 参数改变。</p>
<p>参考：<a href="http://www.w3school.com.cn/php/func_string_strip_tags.asp" target="_blank">PHP strip_tags() 函数</a></p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://clin003.com/wiki/between-utf-8-and-gbk-1451/" rel="bookmark" title="Permanent Link: 升级Hdwiki4.0遇到的俩问题">升级Hdwiki4.0遇到的俩问题</a></li><li><a href="http://clin003.com/wiki/hdwiki-flash-xss-1736/" rel="bookmark" title="Permanent Link: 对HDWiki网站进行FLASH恶意代码加载与修复办法[HDWiki跨站漏洞]">对HDWiki网站进行FLASH恶意代码加载与修复办法[HDWiki跨站漏洞]</a></li><li><a href="http://clin003.com/qq-spaces/qq-space-pendant-code-514/" rel="bookmark" title="Permanent Link: QQ空间挂件代码">QQ空间挂件代码</a></li><li><a href="http://clin003.com/ideas/css-filefox-ie-alpha-1410/" rel="bookmark" title="Permanent Link: CSS的Filefox和IE透明效果">CSS的Filefox和IE透明效果</a></li><li><a href="http://clin003.com/wp-use/xiu-amended-to-landscape-update-sidebar-widget-and-add-archives-tags-page-themes-466/" rel="bookmark" title="Permanent Link: 修修改改补补">修修改改补补</a></li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/wiki/hdwiki4-0-5-tags-strip_tags-1823/" >http://clin003.com/wiki/hdwiki4-0-5-tags-strip_tags-1823/</a> <br /> <a href="http://clin003.com/wiki/hdwiki4-0-5-tags-strip_tags-1823/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/2G_ARo1S3c3IZF8S_G3fDyToyGk/0/da"><img src="http://feedads.g.doubleclick.net/~a/2G_ARo1S3c3IZF8S_G3fDyToyGk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/2G_ARo1S3c3IZF8S_G3fDyToyGk/1/da"><img src="http://feedads.g.doubleclick.net/~a/2G_ARo1S3c3IZF8S_G3fDyToyGk/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/W2IRAcIL5_w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/wiki/hdwiki4-0-5-tags-strip_tags-1823/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://clin003.com/wiki/hdwiki4-0-5-tags-strip_tags-1823/</feedburner:origLink></item>
		<item>
		<title>为Hdwiki4.0.5换个HTML编辑器！</title>
		<link>http://feedproxy.google.com/~r/only/~3/oUnPb6OKi6U/</link>
		<comments>http://clin003.com/wiki/kindeditor-3-for-hdwiki4-0-5-html-editor-1821/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 20:10:50 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[Wiki支持]]></category>
		<category><![CDATA[今日一点]]></category>
		<category><![CDATA[hdwiki]]></category>
		<category><![CDATA[HTML编辑器]]></category>
		<category><![CDATA[kindeditor]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1821</guid>
		<description><![CDATA[昨天在hdwiki论坛看到有童鞋挖出hdwiki曾经使用过kindeditor编辑器，并且为hdwiki4.0.5成功更换强大的编辑器！可以来测试。。
模仿一下，我也在本地测试了下，还行   。
编辑页面模板是仿着词条页面模板来写的。
测试运行版本
hdwiki版本：4.0.5
kindeditor版本：3.3.1
editor.htm模板中嵌入编辑器的说明
&#60;textarea id=&#8221;content&#8221; name=&#8221;content&#8221; style=&#8221;width:800px;height:300px;visibility:hidden;&#8221;&#62;{$doc['content']}&#60;/textarea&#62;
&#60;script type=&#8221;text/javascript&#8221; charset=&#8221;utf-8&#8243; src=&#8221;js/kindeditor/kindeditor.js&#8221;&#62;&#60;/script&#62;
&#60;script type=&#8221;text/javascript&#8221;&#62;KE.show({id : &#8216;content&#8217;});&#60;/script&#62;
这里配置文件单独写在一个js中来完成配置
&#60;script type=&#8221;text/javascript&#8221; src=&#8221;js/kindeditor/keconfig.js&#8221;&#62;&#60;/script&#62;
在kindeditor.js中添加“目录按钮”和“内链按钮”的插件（plugin）
关于插件的添加可以查看官方的说明文档
首先在kindeditor.js的以下位置
KE.lang = {
添加按钮对应的说明文字
innerlink : &#8220;内部链接&#8221;,
section : &#8220;目录&#8221;
然后在最后添加按钮对应的代码：
KE.plugin['section'] = {
click : function(id) {
KE.util.select(id);
KE.util.selection(id);
if (KE.browser == &#8216;IE&#8217;) {
var text=KE.g[id].range.text;
} else {
var text=KE.g[id].range.toString();
}
KE.util.insertHtml(id, &#8216;&#60;div &#62;&#8217;+text+&#8217;&#60;/div&#62;&#8217;);
KE.util.focus(id);
}
};
KE.plugin['innerlink'] = {
click : function(id) {
KE.util.selection(id);
if (KE.browser == &#8216;IE&#8217;) {
var value=KE.g[id].range.text;
} else {
var value=KE.g[id].range.toString();
}
KE.util.insertHtml(id, &#8216;&#60;a title=&#8221;&#8216;+value+&#8217;&#8221; href=&#8221;index.php?doc-innerlink-&#8217;+encodeURI(value)+&#8217;&#8221;&#62;&#8217;+value+&#8217;&#60;/a&#62;&#8217;);
KE.util.focus(id);
}
};
为“插件”添加图标和定义内链在编辑器中的样式
.hdwiki_tmml {
float: left;
height: 14px;
font-size: [...]]]></description>
			<content:encoded><![CDATA[<p>昨天在hdwiki论坛看到有童鞋挖出<a href="http://kaiyuan.hudong.com/bbs/viewthread.php?tid=10993&amp;extra=page%3D1" target="_blank">hdwiki曾经使用过kindeditor编辑器</a>，并且为hdwiki4.0.5成功更换强大的编辑器！可以来测试。。</p>
<p>模仿一下，我也在本地测试了下，还行 <img src='http://clin003.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  。</p>
<p>编辑页面模板是仿着词条页面模板来写的。</p>
<p><strong>测试运行版本</strong></p>
<p>hdwiki版本：<a href="http://kaiyuan.hudong.com/down.php" target="_blank">4.0.5</a></p>
<p>kindeditor版本：<a href="http://code.google.com/p/kindeditor/downloads/list" target="_blank">3.3.1</a></p>
<p><strong>editor.htm模板中嵌入编辑器的说明</strong></p>
<blockquote><p>&lt;textarea id=&#8221;content&#8221; name=&#8221;content&#8221; style=&#8221;width:800px;height:300px;visibility:hidden;&#8221;&gt;{$doc['content']}&lt;/textarea&gt;</p>
<p>&lt;script type=&#8221;text/javascript&#8221; charset=&#8221;utf-8&#8243; src=&#8221;js/kindeditor/kindeditor.js&#8221;&gt;&lt;/script&gt;</p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;KE.show({id : &#8216;content&#8217;});&lt;/script&gt;</p></blockquote>
<p>这里配置文件单独写在一个js中来完成配置</p>
<p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;js/kindeditor/keconfig.js&#8221;&gt;&lt;/script&gt;</p>
<p><strong>在kindeditor.js中添加“目录按钮”和“内链按钮”的插件（plugin）</strong></p>
<p>关于插件的添加可以查看官方的<a href="http://www.kindsoft.net/doc.php?cmd=plugin" target="_blank">说明文档</a></p>
<p>首先在kindeditor.js的以下位置</p>
<blockquote><p>KE.lang = {</p></blockquote>
<p>添加按钮对应的说明文字</p>
<blockquote><p>innerlink : &#8220;内部链接&#8221;,</p>
<p>section : &#8220;目录&#8221;</p></blockquote>
<p>然后在最后添加按钮对应的代码：</p>
<blockquote><p>KE.plugin['section'] = {</p>
<p>click : function(id) {</p>
<p>KE.util.select(id);</p>
<p>KE.util.selection(id);</p>
<p>if (KE.browser == &#8216;IE&#8217;) {</p>
<p>var text=KE.g[id].range.text;</p>
<p>} else {</p>
<p>var text=KE.g[id].range.toString();</p>
<p>}</p>
<p>KE.util.insertHtml(id, &#8216;&lt;div &gt;&#8217;+text+&#8217;&lt;/div&gt;&#8217;);</p>
<p>KE.util.focus(id);</p>
<p>}</p>
<p>};</p>
<p>KE.plugin['innerlink'] = {</p>
<p>click : function(id) {</p>
<p>KE.util.selection(id);</p>
<p>if (KE.browser == &#8216;IE&#8217;) {</p>
<p>var value=KE.g[id].range.text;</p>
<p>} else {</p>
<p>var value=KE.g[id].range.toString();</p>
<p>}</p>
<p>KE.util.insertHtml(id, &#8216;&lt;a title=&#8221;&#8216;+value+&#8217;&#8221; href=&#8221;index.php?doc-innerlink-&#8217;+encodeURI(value)+&#8217;&#8221;&gt;&#8217;+value+&#8217;&lt;/a&gt;&#8217;);</p>
<p>KE.util.focus(id);</p>
<p>}</p>
<p>};</p></blockquote>
<p><strong>为“插件”添加图标和定义内链在编辑器中的样式</strong></p>
<blockquote><p>.hdwiki_tmml {</p>
<p>float: left;</p>
<p>height: 14px;</p>
<p>font-size: 18px;</p>
<p>color: #333333;</p>
<p>font-weight: bold;</p>
<p>padding: 4px;</p>
<p>width: 95%;</p>
<p>margin-left: 5px;</p>
<p>border-bottom-width: 1px;</p>
<p>border-bottom-style: solid;</p>
<p>border-bottom-color: #BFBFBF;</p>
<p>}</p>
<p>.ke-icon-innerlink {</p>
<p>background-image: url(button_link.png);</p>
<p>width: 23px;</p>
<p>height: 20px;</p>
<p>}</p>
<p>.ke-icon-section{</p>
<p>background-image: url(button_headline.png);</p>
<p>width: 23px;</p>
<p>height: 20px;</p>
<p>}</p></blockquote>
<p><strong>修改好的已经打包可下载使用</strong></p>
<p>下载地址（可自行补全）：/sa/kindeditor_for_hdwiki405.zip</p>
<p>Google code地址：http://luoyanglife.googlecode.com/files/kindeditor_for_hdwiki405_full.1.0.zip</p>
<p><strong>补丁包说明</strong></p>
<blockquote><p>1、首先到kindeditor官方网站下载原版编辑器压缩包。http://www.kindsoft.net/down.php</p>
<p>2、解压原版编辑器（我下的是kindeditor-3.3.1）。</p>
<p>3、复制一份编辑器文件到网站js目录下比如（js\kindeditor）。</p>
<p>4、测试是否正确放置编辑器文件（http://hdwiki域名/js/kindeditor/examples/）,测试完之后可以把examples目录删掉。</p>
<p>5、解压针对hdwiki4.0.5版本修改的补丁包。</p>
<p>6、可直接覆盖，也可以一个个覆盖</p>
<p>7、添加自己的广告到editor.htm中的右侧空区</p>
<p>补丁包对应的文件列表：</p>
<p>├─js</p>
<p>│  └─kindeditor</p>
<p>│      │  keconfig.js</p>
<p>│      │  kindeditor.js</p>
<p>│      │</p>
<p>│      └─skins</p>
<p>│              button_headline.png</p>
<p>│              button_link.png</p>
<p>│              default.css</p>
<p>│</p>
<p>└─view</p>
<p>└─default</p>
<p>editor.htm</p>
<p>editor.htm为重新编写的hdwiki4.05编辑器模板</p>
<p>keconfig.js为HTML编辑器kindeditor的自定义配置文件</p>
<p>button_headline.png和button_link.png分别为目录图标和内链图标（取自Mediawiki）</p>
<p>default.css为修改过的样式</p>
<p>default.css与kindeditor.js中修改过的地方都用注释做过标记/*add by clin003 */</p></blockquote>
<p>补充：按照类似的办法可成功更换为ckeditor_3.0编辑器，内链按钮和目录还未测试。</p>
<p>20091008更新补充2：今天对keconfig.js配置文件中加入设置开启过滤功能同时可以选择保留的HTML标记和属性，也就是两个属性参数：</p>
<blockquote><p>filterMode:&#8217;true&#8217;,</p>
<p>htmlTags : {<br />
font : ['color', 'size', 'face', '.background-color'],<br />
span : [<br />
'.color', '.background-color', '.font-size', '.font-family',<br />
'.font-weight', '.font-style', '.text-decoration', '.vertical-align'<br />
],<br />
div : [<br />
'class', 'align', '.border', '.margin', '.padding', '.text-align', '.color',<br />
'.background-color', '.font-size', '.font-family', '.font-weight',<br />
'.font-style', '.text-decoration', '.vertical-align', '.margin-left'<br />
],<br />
table: [<br />
'class', 'border', 'cellspacing', 'cellpadding', 'width', 'height', 'align',<br />
'.padding', '.margin', '.border', 'bgcolor', '.text-align', '.color', '.background-color',<br />
'.font-size', '.font-family', '.font-weight', '.font-style', '.text-decoration'<br />
],<br />
&#8216;td,th&#8217;: [<br />
'class', 'align', 'valign', 'width', 'height', 'colspan', 'rowspan', 'bgcolor',<br />
'.text-align', '.color', '.background-color', '.font-size', '.font-family', '.font-weight',<br />
'.font-style', '.text-decoration', '.vertical-align'<br />
],<br />
a : ['class', 'href', 'target', 'name'],<br />
embed : ['src', 'width', 'height', 'type', 'loop', 'autostart', 'quality', '.width', '.height', 'align', 'allownetworking', '/'],<br />
img : ['src', 'width', 'height', 'border', 'alt', 'title', '.width', '.height', '/'],<br />
hr : ['class', '/'],<br />
br : ['/'],<br />
&#8216;p,ol,ul,li,blockquote,h1,h2,h3,h4,h5,h6&#8242; : [<br />
'align', '.text-align', '.color', '.background-color', '.font-size', '.font-family',<br />
'.font-weight', '.font-style', '.text-decoration', '.vertical-align', '.text-indent', '.margin-left'<br />
],<br />
&#8216;tbody,tr,strong,b,sub,sup,em,i,u,strike&#8217; : []<br />
}</p></blockquote>
<p>对kindeditor.js中的插入flash默认大小进行调整，同时过滤掉AllowScriptAccess 参数（不设置AllowScriptAccess的值默认为“sameDomain”属于安全设置），插入的时候添加allowNetworking 参数，可以查看详细的 <a href="http://clin003.com/ideas/adobe-actionscript-3-allownetworking-internal-1792/" target="_blank">安全引用Flash视频，allownetworking=”internal” 参数的应用</a> 介绍。</p>
<p>另外本地图片的上传路径需要自行在编辑器目录php下的upload.php中进行设置，参考设置办法（按照日期进行保存，可自行修改设置）：</p>
<blockquote><p>
//文件保存目录路径<br />
$save_path = &#8216;./../../../uploads/ke/&#8217; . date(&#8221;Ymd&#8221;) .&#8217;/';<br />
//文件保存目录URL<br />
$save_url = &#8216;http://luoyanglife.com/baike/uploads/ke/&#8217;.date(&#8221;Ymd&#8221;) .&#8217;/';
</p></blockquote>
<p>当然这些仅仅在js端做的过滤是可以被绕过去的。。安全的做法是在服务端对接收的数据做过滤。</p>
<p>20091008补充说明：修正IE下在不使用其他按钮的前提下，目录按钮不起作用</p>
<hr /><h2>Comments</h2><ul><li><a href="http://clin003.com/wiki/kindeditor-3-for-hdwiki4-0-5-html-editor-1821/#comment-2514">October  9, 2009</a>, Justice writes: 改的iNove把人家NeoEase的链接都去掉了，不厚道哦。</li><li><a href="http://clin003.com/wiki/kindeditor-3-for-hdwiki4-0-5-html-editor-1821/#comment-2515">October  9, 2009</a>, <a href='http://clin003.com/' rel='external nofollow' class='url'>白菜林</a> writes: <a href="#comment-2514" rel="nofollow">@Justice</a> 
NeoEase的链接在友情链接中</li></ul><hr /><h2>Related posts:</h2><ul><li><a href="http://clin003.com/wiki/hdwiki4-0-5-tags-strip_tags-1823/" rel="bookmark" title="Permanent Link: HDWiki4.0.5标签Tags过滤危险网页代码修复办法">HDWiki4.0.5标签Tags过滤危险网页代码修复办法</a></li><li><a href="http://clin003.com/wiki/hdwiki-flash-xss-1736/" rel="bookmark" title="Permanent Link: 对HDWiki网站进行FLASH恶意代码加载与修复办法[HDWiki跨站漏洞]">对HDWiki网站进行FLASH恶意代码加载与修复办法[HDWiki跨站漏洞]</a></li><li><a href="http://clin003.com/ideas/css-filefox-ie-alpha-1410/" rel="bookmark" title="Permanent Link: CSS的Filefox和IE透明效果">CSS的Filefox和IE透明效果</a></li><li><a href="http://clin003.com/search-engine/search-engine-social-535/" rel="bookmark" title="Permanent Link: 人肉搜索——>社区化的搜索引擎">人肉搜索——>社区化的搜索引擎</a></li><li><a href="http://clin003.com/wiki/index-of-all-supported-configuration-options-based-on-the-localsettings-file-1489/" rel="bookmark" title="Permanent Link: Mediawiki LocalSettings配置变量索引">Mediawiki LocalSettings配置变量索引</a></li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/wiki/kindeditor-3-for-hdwiki4-0-5-html-editor-1821/" >http://clin003.com/wiki/kindeditor-3-for-hdwiki4-0-5-html-editor-1821/</a> <br /> <a href="http://clin003.com/wiki/kindeditor-3-for-hdwiki4-0-5-html-editor-1821/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/9XdM6TAqBeKVcBWmQiqqIAHGGe4/0/da"><img src="http://feedads.g.doubleclick.net/~a/9XdM6TAqBeKVcBWmQiqqIAHGGe4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/9XdM6TAqBeKVcBWmQiqqIAHGGe4/1/da"><img src="http://feedads.g.doubleclick.net/~a/9XdM6TAqBeKVcBWmQiqqIAHGGe4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/oUnPb6OKi6U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/wiki/kindeditor-3-for-hdwiki4-0-5-html-editor-1821/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://clin003.com/wiki/kindeditor-3-for-hdwiki4-0-5-html-editor-1821/</feedburner:origLink></item>
		<item>
		<title>QQ旋风( QQDownload.exe )遭遇几千个CLOSE_WAIT连接状态</title>
		<link>http://feedproxy.google.com/~r/only/~3/qioEWUpdfl8/</link>
		<comments>http://clin003.com/servers/qqxuanfeng2-close_wait-1818/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 17:35:11 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[今日一点]]></category>
		<category><![CDATA[服务器]]></category>
		<category><![CDATA[CLOSE_WAIT]]></category>
		<category><![CDATA[QQDownload]]></category>
		<category><![CDATA[QQ旋风]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1818</guid>
		<description><![CDATA[端口号从1026到5000几乎全是QQ旋风( QQDownload.exe )遭遇尴尬的CLOSE_WAIT连接状态
操作系统：Windows2003 Sp2
QQ旋风版本：2.1beta3(570)
刚下个片，不知道是这个片是感兴趣的人多还是咋地，QQ旋风的连接状态竟然多达5000-1026个（片早已经下完了的）
中间很少有其他程序的连接了，QQ是离线状态，Firefox只有打开了一个网页，还是看片前打开的！除了360和gtalk外几乎没有别的需要联网的程序了。。
本来是要打开360来看网络连接状态的，可360一看网络连接状态就CPU上升到50-70左右（双核的），不过在我用任务管理器关闭QQDownload.exe这个进程后，看到360的网络连接状态中的QQ旋风占用的开始端口号，往下拉就几乎全是这个进程的。
无奈只好在cmd下看 netstat -naob
屏幕缓冲高度是9999，竟然最上边的状态还没有看出来
TCP    192.168.1.100:1731      202.111.148.137:8080   CLOSE_WAIT      1612
[QQDownload.exe]
TCP    192.168.1.100:1732      202.111.148.137:8080   CLOSE_WAIT      1612
[QQDownload.exe]
TCP    192.168.1.100:1733      202.111.148.137:8080  [...]]]></description>
			<content:encoded><![CDATA[<p>端口号从1026到5000几乎全是QQ旋风( QQDownload.exe )遭遇尴尬的CLOSE_WAIT连接状态</p>
<p>操作系统：Windows2003 Sp2<br />
QQ旋风版本：2.1beta3(570)</p>
<p>刚下个片，不知道是这个片是感兴趣的人多还是咋地，QQ旋风的连接状态竟然多达5000-1026个（片早已经下完了的）</p>
<p>中间很少有其他程序的连接了，QQ是离线状态，Firefox只有打开了一个网页，还是看片前打开的！除了360和gtalk外几乎没有别的需要联网的程序了。。</p>
<p>本来是要打开360来看网络连接状态的，可360一看网络连接状态就CPU上升到50-70左右（双核的），不过在我用任务管理器关闭QQDownload.exe这个进程后，看到360的网络连接状态中的QQ旋风占用的开始端口号，往下拉就几乎全是这个进程的。</p>
<p>无奈只好在cmd下看 netstat -naob</p>
<p>屏幕缓冲高度是9999，竟然最上边的状态还没有看出来</p>
<blockquote><p>TCP    192.168.1.100:1731      202.111.148.137:8080   CLOSE_WAIT      1612<br />
[QQDownload.exe]</p>
<p>TCP    192.168.1.100:1732      202.111.148.137:8080   CLOSE_WAIT      1612<br />
[QQDownload.exe]</p>
<p>TCP    192.168.1.100:1733      202.111.148.137:8080   CLOSE_WAIT      1612<br />
[QQDownload.exe]</p>
<p>。。。<br />
TCP    192.168.1.100:4999      202.111.148.137:8080   CLOSE_WAIT      1612<br />
[QQDownload.exe]</p>
<p>TCP    192.168.1.100:5000      202.111.148.137:8080   CLOSE_WAIT      1612<br />
[QQDownload.exe]</p>
<p>UDP    0.0.0.0:2067           *:*                                    2556<br />
[QQ.exe]</p></blockquote>
<p>当然这个只是部分状态信息，中间还有别的程序在使用的端口，只是数量很少，QQ旋风这些连接状态把我吓坏了，还好我的是2003的系统，换XP系统的恐怕早就挂了。<br />
虽然这些状态大多都是“CLOSE_WAIT”，但他怎么就不腾出那些连接资源呢？或许是QQ旋风设计中的一个缺陷！</p>
<p>本来看着 QQ旋风2 没有啥显性广告，用着怪爽，这次真是长见识了。。</p>
<p>看来以后下完东西要记得及时退出下载程序。</p>
<p>顺便说下那个限速应该是糊弄人来的，我限制上传速度为20k/s，下载速度500k/s，不过这么多的没有释放的连接和限速是没有必然关系的！！</p>
<p>附注：<br />
<strong>TCP关闭连接流程</strong></p>
<blockquote><p>发FIN包，ACK包，FIN包，ACK包</p></blockquote>
<p>假设A与B两个之间进行关闭TCP连接(A主动请求断开连接)</p>
<blockquote><p>A &#8212;&gt; FIN &#8212;&gt; B</p>
<p>A &lt;&#8212; ACK &lt;&#8212; B</p>
<p>这时候A端处于FIN_WAIT_2状态；而B 程序处于CLOSE_WAIT状态。</p>
<p>A &lt;&#8212; FIN &lt;&#8212; B 这时Server 发送FIN给A，B 就置为LAST_ACK状态。 A &#8212;&gt; ACK &#8212;&gt; B</p>
<p>A回应了ACK，那么B 的套接字才会真正置为CLOSED状态。</p></blockquote>
<p>这样子就看出若B发出的ACK给B后，并没有发出FIN给B，可能这时有很多数据需要处理。</p>
<p>到这里问题基本清楚了，就是我的QQ旋风没有发出FIN给IP为202.111.148.137的那个QQ旋风（不排除这个IP是QQ旋风服务器的），那么为什么不发呢？</p>
<hr /><h2>Comments</h2><ul><li><a href="http://clin003.com/servers/qqxuanfeng2-close_wait-1818/#comment-2487">September  29, 2009</a>, QQ旋风团队 writes: Dear Lin,

    我们是QQ旋风开发团队，在我们测试的环境中未发现类似的问题。
你能否将对应下载的链接提供给我们验证，或者通过email发送相关可
重现的截图给我的邮箱 niconie@qq.com。以帮助我们确认问题的真
正原因。
    非常感谢你反馈。</li><li><a href="http://clin003.com/servers/qqxuanfeng2-close_wait-1818/#comment-2488">September  29, 2009</a>, <a href='http://clin003.com/' rel='external nofollow' class='url'>白菜林</a> writes: <a href="#comment-2487" rel="nofollow">@QQ旋风团队</a> 
netstat的部分截图和下载地址已经通过邮件发送到这个邮箱了</li><li><a href="http://clin003.com/servers/qqxuanfeng2-close_wait-1818/#comment-2498">October  6, 2009</a>, 分享联盟 writes: 连旋风开发团队都引来了！</li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/servers/qqxuanfeng2-close_wait-1818/" >http://clin003.com/servers/qqxuanfeng2-close_wait-1818/</a> <br /> <a href="http://clin003.com/servers/qqxuanfeng2-close_wait-1818/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/neRg9fiEjjM73OCml5AZQB70b-Q/0/da"><img src="http://feedads.g.doubleclick.net/~a/neRg9fiEjjM73OCml5AZQB70b-Q/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/neRg9fiEjjM73OCml5AZQB70b-Q/1/da"><img src="http://feedads.g.doubleclick.net/~a/neRg9fiEjjM73OCml5AZQB70b-Q/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/qioEWUpdfl8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/servers/qqxuanfeng2-close_wait-1818/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://clin003.com/servers/qqxuanfeng2-close_wait-1818/</feedburner:origLink></item>
		<item>
		<title>网卡MAC地址厂商查询/网卡厂商地址查询</title>
		<link>http://feedproxy.google.com/~r/only/~3/IUB8LyrgZpQ/</link>
		<comments>http://clin003.com/ideas/wangka-mac-dizhichaxun-ieee-oui-and-company_id-assignments-1816/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 08:53:25 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[今日一点]]></category>
		<category><![CDATA[网吧经验谈]]></category>
		<category><![CDATA[IAB]]></category>
		<category><![CDATA[MAC地址]]></category>
		<category><![CDATA[OUI]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1816</guid>
		<description><![CDATA[Organizationally unique identifier (OUI) “组织唯一标示符”，由签发给各类组织的唯一标识符。
在任何一块网卡（NIC）中烧录的6字节MAC地址中，前3个字节体现了OUI，其表明了NIC的制造组织。通常情况下，该标识符是唯一的。
以太网采用介质访问控制(Media Access Control，MAC)地址进行寻址，MAC地址被烧入每个以太网网卡(Network Interface Card，NIC)中。MAC地址也叫做硬件地址，它采用48位(6字节)的十六进制格式。
48位的MAC地址包括两部分：24位组织唯一标志符(OUI)和剩下的24位由厂家分配的代码
组织唯一标志符(OUI)是由电器和电子工程师协会(IEEE)分配给单位组织的，它包含了24位(3字节)。各个单位组织依次被分配一个全局管理地址(24位，或3个字节)，对于厂家生产的每一块网卡来说，这个地址是唯一的。
例如这个(上午遭受网关欺骗ARP攻击的一个MAC地址)
MAC地址：
00-1D-0F-73-24-2A
厂商地址段为：
00-1D-0F
在“[IEEE Standards Home Page]”网站查询到的结果为：

00-1D-0F   (hex)		TP-LINK Technologies Co., Ltd.
001D0F     (base 16)		TP-LINK Technologies Co., Ltd.
				3/F, Bldg. R1-B,
				Hi-tech Industrial Park, Shennan Rd.,
				Shenzhen Guangdong 518057
				CHINA

网卡MAC码是由全球惟一的一个固定组织来分配的，未经认证和授权的厂家无权生产网卡。
附：
the public OUI listing : http://standards.ieee.org/regauth/oui/oui.txt
the public IAB listing : http://standards.ieee.org/regauth/oui/iab.txt
也可以使用这个地址下载 /sa/ieee-mac.zip ( 需自行补全地址 )
IAB是Internet Architecture Board的缩写，意思是因特网结构委员会。是由探讨与因特网结构有关问题的互联网研究员组成的委员会。其职责是任命各种与因特网相关的组织，如 IANA、IESE和IRSG。因特网结构委员会由因特网协会（ISOC）的理事进行任命。
Related posts:arp欺骗和机器狗病毒简单免疫批处理脚本(bat)局域网内如何防止ARP欺骗网吧批处理运用设计能向 Apple 学什么？又一下载YouTube视频利器FLVPlayCopyright [...]]]></description>
			<content:encoded><![CDATA[<p>Organizationally unique identifier (OUI) “组织唯一标示符”，由签发给各类组织的唯一标识符。<br />
在任何一块网卡（NIC）中烧录的6字节MAC地址中，前3个字节体现了OUI，其表明了NIC的制造组织。通常情况下，该标识符是唯一的。<br />
以太网采用介质访问控制(Media Access Control，MAC)地址进行寻址，MAC地址被烧入每个以太网网卡(Network Interface Card，NIC)中。MAC地址也叫做硬件地址，它采用48位(6字节)的十六进制格式。<br />
48位的MAC地址包括两部分：24位组织唯一标志符(OUI)和剩下的24位由厂家分配的代码<br />
组织唯一标志符(OUI)是由电器和电子工程师协会(IEEE)分配给单位组织的，它包含了24位(3字节)。各个单位组织依次被分配一个全局管理地址(24位，或3个字节)，对于厂家生产的每一块网卡来说，这个地址是唯一的。</p>
<p>例如这个(上午遭受网关欺骗ARP攻击的一个MAC地址)</p>
<p>MAC地址：</p>
<blockquote><p>00-1D-0F-73-24-2A</p></blockquote>
<p>厂商地址段为：</p>
<blockquote><p>00-1D-0F</p></blockquote>
<p>在“[<a href="http://standards.ieee.org/regauth/oui/">IEEE Standards Home Page</a>]”网站查询到的结果为：</p>
<blockquote><p>
00-1D-0F   (hex)		TP-LINK Technologies Co., Ltd.<br />
001D0F     (base 16)		TP-LINK Technologies Co., Ltd.<br />
				3/F, Bldg. R1-B,<br />
				Hi-tech Industrial Park, Shennan Rd.,<br />
				Shenzhen Guangdong 518057<br />
				CHINA
</p></blockquote>
<p>网卡MAC码是由全球惟一的一个固定组织来分配的，未经认证和授权的厂家无权生产网卡。</p>
<p>附：<br />
the public OUI listing : http://standards.ieee.org/regauth/oui/oui.txt<br />
the public IAB listing : http://standards.ieee.org/regauth/oui/iab.txt<br />
也可以使用这个地址下载 /sa/ieee-mac.zip ( 需自行补全地址 )<br />
IAB是Internet Architecture Board的缩写，意思是因特网结构委员会。是由探讨与因特网结构有关问题的互联网研究员组成的委员会。其职责是任命各种与因特网相关的组织，如 IANA、IESE和IRSG。因特网结构委员会由因特网协会（ISOC）的理事进行任命。</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://clin003.com/netbar/arp-deception-and-the-rogue-virus-immune-simple-batch-scripts-bat-422/" rel="bookmark" title="Permanent Link: arp欺骗和机器狗病毒简单免疫批处理脚本(bat)">arp欺骗和机器狗病毒简单免疫批处理脚本(bat)</a></li><li><a href="http://clin003.com/safe/how-to-prevent-deception-arp-44/" rel="bookmark" title="Permanent Link: 局域网内如何防止ARP欺骗">局域网内如何防止ARP欺骗</a></li><li><a href="http://clin003.com/netbar/netbar-bat-using-354/" rel="bookmark" title="Permanent Link: 网吧批处理运用">网吧批处理运用</a></li><li><a href="http://clin003.com/suggested-contents/apple-can-learn-to-design-what-133/" rel="bookmark" title="Permanent Link: 设计能向 Apple 学什么？">设计能向 Apple 学什么？</a></li><li><a href="http://clin003.com/suggested-contents/download-youtube-video-by-tools-flvplay-1243/" rel="bookmark" title="Permanent Link: 又一下载YouTube视频利器FLVPlay">又一下载YouTube视频利器FLVPlay</a></li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/ideas/wangka-mac-dizhichaxun-ieee-oui-and-company_id-assignments-1816/" >http://clin003.com/ideas/wangka-mac-dizhichaxun-ieee-oui-and-company_id-assignments-1816/</a> <br /> <a href="http://clin003.com/ideas/wangka-mac-dizhichaxun-ieee-oui-and-company_id-assignments-1816/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/Tp1X_ZEig_aI1uwMLzmXlv2uS-Y/0/da"><img src="http://feedads.g.doubleclick.net/~a/Tp1X_ZEig_aI1uwMLzmXlv2uS-Y/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Tp1X_ZEig_aI1uwMLzmXlv2uS-Y/1/da"><img src="http://feedads.g.doubleclick.net/~a/Tp1X_ZEig_aI1uwMLzmXlv2uS-Y/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/IUB8LyrgZpQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/ideas/wangka-mac-dizhichaxun-ieee-oui-and-company_id-assignments-1816/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://clin003.com/ideas/wangka-mac-dizhichaxun-ieee-oui-and-company_id-assignments-1816/</feedburner:origLink></item>
		<item>
		<title>秀一下我用的几个Firefox插件</title>
		<link>http://feedproxy.google.com/~r/only/~3/KU8olJw4DxI/</link>
		<comments>http://clin003.com/ideas/show-firefox-add-ons-1815/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 14:58:08 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[今日一点]]></category>
		<category><![CDATA[Firefox插件]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1815</guid>
		<description><![CDATA[今天秀一下我用的几个Firefox插件，作个记录
Firebug 调试网页风格和查看别人风格用的
插件地址：https://addons.mozilla.org/en-US/firefox/addon/1843
Google Toolebar for firefox 为了用起这个Sidewiki专门把Firefox覆盖成英文的啦呢！用这个查看和评论别人在一个页面的评论，到现在偶就看啦看别人对Google主页的评论，哈哈
插件地址：http://www.google.com/sidewiki/intl/en/index.html
Live Http Header 可以用来查看访问一个网页的请求信息相当于HttpWatch（可以参考：Fiddler Web Debugger ，一款免费的Web调试工具）
插件地址：https://addons.mozilla.org/en-US/firefox/addon/3829
QuickJava 这个也很有意思，在状态栏有两个按钮可以快速的禁用网页内的js和java应用
插件地址：https://addons.mozilla.org/en-US/firefox/addon/1237
另外还有个qqdownload插件，是qq旋风插件，不经常用！
还有个Twitterfox不过现在已经不用了（懒得翻墙。。），正在培养yahoo的meme和新浪的围脖。。
Related posts:firefox 3 beta 5发布Firefox 3 RC1提供更新Firefox 2.0.0.12暴目录穿越（directory traversal）漏洞向访客和爬虫显示不同内容的PHP代码相对ie谷歌更喜欢firefox？Copyright &#169; 2007-2009 This feed is building by Lin's Space&#124;Only and 我的爬行JI - IT资讯精读.本文地址：http://clin003.com/ideas/show-firefox-add-ons-1815/  雁过留言. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)]]></description>
			<content:encoded><![CDATA[<p>今天秀一下我用的几个Firefox插件，作个记录</p>
<p>Firebug 调试网页风格和查看别人风格用的<br />
插件地址：https://addons.mozilla.org/en-US/firefox/addon/1843</p>
<p>Google Toolebar for firefox 为了用起这个Sidewiki专门把Firefox覆盖成英文的啦呢！用这个查看和评论别人在一个页面的评论，到现在偶就看啦看别人对Google主页的评论，哈哈<br />
插件地址：http://www.google.com/sidewiki/intl/en/index.html</p>
<p>Live Http Header 可以用来查看访问一个网页的请求信息相当于HttpWatch（可以参考：<a href="http://clin003.com/ideas/fiddler-web-debugger-a-free-web-debugging-tool-1794/">Fiddler Web Debugger ，一款免费的Web调试工具</a>）<br />
插件地址：https://addons.mozilla.org/en-US/firefox/addon/3829</p>
<p>QuickJava 这个也很有意思，在状态栏有两个按钮可以快速的禁用网页内的js和java应用<br />
插件地址：https://addons.mozilla.org/en-US/firefox/addon/1237</p>
<p>另外还有个qqdownload插件，是qq旋风插件，不经常用！</p>
<p>还有个Twitterfox不过现在已经不用了（懒得翻墙。。），正在培养yahoo的meme和新浪的围脖。。</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://clin003.com/suggested-contents/firefox-3-beta-5-628/" rel="bookmark" title="Permanent Link: firefox 3 beta 5发布">firefox 3 beta 5发布</a></li><li><a href="http://clin003.com/suggested-contents/firefox-3-release-candidate-release-notes-1130/" rel="bookmark" title="Permanent Link: Firefox 3 RC1提供更新">Firefox 3 RC1提供更新</a></li><li><a href="http://clin003.com/exploits/firefox-20012-directory-traversal-420/" rel="bookmark" title="Permanent Link: Firefox 2.0.0.12暴目录穿越（directory traversal）漏洞">Firefox 2.0.0.12暴目录穿越（directory traversal）漏洞</a></li><li><a href="http://clin003.com/search-engine/show-diff-between-crawlers-and-guests-php-code-1787/" rel="bookmark" title="Permanent Link: 向访客和爬虫显示不同内容的PHP代码">向访客和爬虫显示不同内容的PHP代码</a></li><li><a href="http://clin003.com/google/google-is-more-like-firefox-than-ie-533/" rel="bookmark" title="Permanent Link: 相对ie谷歌更喜欢firefox？">相对ie谷歌更喜欢firefox？</a></li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/ideas/show-firefox-add-ons-1815/" >http://clin003.com/ideas/show-firefox-add-ons-1815/</a> <br /> <a href="http://clin003.com/ideas/show-firefox-add-ons-1815/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/7xwpCW1nHrCPjfpp8k8OxQlhsAU/0/da"><img src="http://feedads.g.doubleclick.net/~a/7xwpCW1nHrCPjfpp8k8OxQlhsAU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/7xwpCW1nHrCPjfpp8k8OxQlhsAU/1/da"><img src="http://feedads.g.doubleclick.net/~a/7xwpCW1nHrCPjfpp8k8OxQlhsAU/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/KU8olJw4DxI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/ideas/show-firefox-add-ons-1815/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://clin003.com/ideas/show-firefox-add-ons-1815/</feedburner:origLink></item>
		<item>
		<title>洛阳生活社区防垃圾帖子思路分享</title>
		<link>http://feedproxy.google.com/~r/only/~3/nHL6BadQhCA/</link>
		<comments>http://clin003.com/ideas/luoyangshenghuoshequluntanfanglajitiezisilufenxiang-1812/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 05:34:54 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[SNS]]></category>
		<category><![CDATA[今日一点]]></category>
		<category><![CDATA[Discuz]]></category>
		<category><![CDATA[防垃圾帖子]]></category>
		<category><![CDATA[洛阳生活]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1812</guid>
		<description><![CDATA[洛阳生活社区防垃圾帖子思路：
设置提高机器人注册难度，提高新注册会员发贴难度，审核新注册用户帖子，进入板块积分限制，奖励成功举报会员，过滤关键字。
演示地址：http://bbs.luoyanglife.com/
以下说说具体操作。
注册与访问控制：提高机器人注册难度
注册：
新用户注册验证:Email验证
同一 IP 注册间隔限制(小时):18
同一 IP 在 24 小时允许注册的最大次数:2
显示网站服务条款:说明新会员需要知道的社区规则
访问控制：
新手见习期限(小时):1
新手任务：换头像
如果为内部论坛可以设置
允许访问论坛的 IP 列表:&#8230;
安全验证设置：提高新注册会员发贴难度
这里不建议使用验证码，和问答同时使用可能导致一些页面显示错位！
安全验证模式：高级验证模式
启用验证问答:新用户注册、 发表主题与回复
验证问答发帖限制:5（或更高）
审核帖子：审核新注册用户帖子
时间设置：
设置发帖审核时间段
会员组权限：
设置新手会员——帖子相关—— 允许直接发帖:全部需要审核
板块设置：
帖子选项——根据需要设置一些板块新手会员可不需要经过审核发表回复。权限设置——设置一项积分（比如：激情）小于零的时候禁止进入论坛。
设置权限表达式的目的就是，把垃圾帖子删除（需配合审核机制）同时扣积分，积分变为负数或一个限度，不可以对这个板块进行操作
奖励成功举报会员、帖子 » 词语过滤
这个就不用介绍了。。
总结一下：限制用户注册加以审核机制，删贴同时扣除积分，配合板块相应积分限制，用户变为乞丐或者积分达不到条件，进一步的垃圾帖子发布失败。
最后可以给“正常用户”留一条后路，就是积分充值或者积分转换让用户回归主流群众身份。
补充
批量删贴指定会员时间段内的帖子。
等待验证的会员不具有发贴权限，甚至可以不具有浏览的权限。乞丐等会员组可不具有任何权限。
洛阳生活社区的积分项目有：威望（可兑入不可兑出）、金币（可兑入兑出，可充值）、激情（可兑入兑出）、贡献（不可兑入兑出，不可充值，主要为任务所得），积分=威望+贡献。
欢迎各位路过看过的朋友指出疏忽的地方  
Copyright &#169; 2007-2009 This feed is building by Lin's Space&#124;Only and 我的爬行JI - IT资讯精读.本文地址：http://clin003.com/ideas/luoyangshenghuoshequluntanfanglajitiezisilufenxiang-1812/  雁过留言. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)]]></description>
			<content:encoded><![CDATA[<p>洛阳生活社区防垃圾帖子思路：<br />
设置提高机器人注册难度，提高新注册会员发贴难度，审核新注册用户帖子，进入板块积分限制，奖励成功举报会员，过滤关键字。</p>
<p>演示地址：http://bbs.luoyanglife.com/</p>
<p>以下说说具体操作。</p>
<p><strong>注册与访问控制：提高机器人注册难度</strong></p>
<p>注册：</p>
<blockquote><p>新用户注册验证:Email验证<br />
同一 IP 注册间隔限制(小时):18<br />
同一 IP 在 24 小时允许注册的最大次数:2<br />
显示网站服务条款:说明新会员需要知道的社区规则</p></blockquote>
<p>访问控制：</p>
<blockquote><p>新手见习期限(小时):1<br />
新手任务：换头像<br />
<em>如果为内部论坛可以设置</em><br />
允许访问论坛的 IP 列表:&#8230;</p></blockquote>
<p><strong>安全验证设置：提高新注册会员发贴难度</strong><br />
<em>这里不建议使用验证码，和问答同时使用可能导致一些页面显示错位！</em></p>
<blockquote><p>安全验证模式：高级验证模式<br />
启用验证问答:新用户注册、 发表主题与回复<br />
验证问答发帖限制:5（或更高）</p></blockquote>
<p><strong>审核帖子：审核新注册用户帖子</strong><br />
时间设置：</p>
<blockquote><p>设置发帖审核时间段</p></blockquote>
<p>会员组权限：</p>
<blockquote><p>设置新手会员——帖子相关—— 允许直接发帖:全部需要审核</p></blockquote>
<p>板块设置：</p>
<blockquote><p>帖子选项——根据需要设置一些板块新手会员可不需要经过审核发表回复。权限设置——设置一项积分（比如：激情）小于零的时候禁止进入论坛。</p></blockquote>
<p><em>设置权限表达式的目的就是，把垃圾帖子删除（需配合审核机制）同时扣积分，积分变为负数或一个限度，不可以对这个板块进行操作</em></p>
<p><strong>奖励成功举报会员、帖子 » 词语过滤</strong><br />
这个就不用介绍了。。</p>
<p><strong>总结一下：限制用户注册加以审核机制，删贴同时扣除积分，配合板块相应积分限制，用户变为乞丐或者积分达不到条件，进一步的垃圾帖子发布失败。</p>
<p>最后可以给“正常用户”留一条后路，就是积分充值或者积分转换让用户回归主流群众身份。</strong></p>
<p><strong>补充</strong><br />
批量删贴指定会员时间段内的帖子。<br />
等待验证的会员不具有发贴权限，甚至可以不具有浏览的权限。乞丐等会员组可不具有任何权限。<br />
洛阳生活社区的积分项目有：威望（可兑入不可兑出）、金币（可兑入兑出，可充值）、激情（可兑入兑出）、贡献（不可兑入兑出，不可充值，主要为任务所得），积分=威望+贡献。</p>
<p>欢迎各位路过看过的朋友指出疏忽的地方 <img src='http://clin003.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/ideas/luoyangshenghuoshequluntanfanglajitiezisilufenxiang-1812/" >http://clin003.com/ideas/luoyangshenghuoshequluntanfanglajitiezisilufenxiang-1812/</a> <br /> <a href="http://clin003.com/ideas/luoyangshenghuoshequluntanfanglajitiezisilufenxiang-1812/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/V46F9p6iMDZfw5JmrPHQx2TCWDY/0/da"><img src="http://feedads.g.doubleclick.net/~a/V46F9p6iMDZfw5JmrPHQx2TCWDY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/V46F9p6iMDZfw5JmrPHQx2TCWDY/1/da"><img src="http://feedads.g.doubleclick.net/~a/V46F9p6iMDZfw5JmrPHQx2TCWDY/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/nHL6BadQhCA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/ideas/luoyangshenghuoshequluntanfanglajitiezisilufenxiang-1812/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://clin003.com/ideas/luoyangshenghuoshequluntanfanglajitiezisilufenxiang-1812/</feedburner:origLink></item>
		<item>
		<title>完美解决Discuz官方国庆模板页头广告错位方法</title>
		<link>http://feedproxy.google.com/~r/only/~3/jDA7nvN0o5U/</link>
		<comments>http://clin003.com/web2o-webos/discuz-guoqignmobanyetouguanggaocuoweijiejuebanfa-1811/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 04:17:56 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[SNS]]></category>
		<category><![CDATA[代码调试]]></category>
		<category><![CDATA[Discuz模板]]></category>
		<category><![CDATA[国庆模板]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1811</guid>
		<description><![CDATA[【官方出品】官方国庆模板下载，支持 7.0+7.1 模板下载地址：http://www.discuz.net/viewthread.php?tid=1415994
【官方出品的国庆模板出现的问题解决办法】：http://www.discuz.net/thread-1418191-1-1.html
演示地址：http://bbs.luoyanglife.com/
顶部广告位错位解决办法：
打开：http://www.discuz.net/templates/2009/css_append.htm
复制源码到自己的国庆模板文件“css_append.htm”（因为在帖子下载的模板可能不是最新的，所以就。。）
不一样的地方可能就一个地方
#header .wrap下边的
#ad_headerbanner { margin: 25px 0px 10px; }

然后打开css_append.htm
查找
#header .wrap { padding: 0; height: 107px; }
在下面添加
#header #ad_headerbanner { margin-top:18px; }
后台更新缓存
这样可以解决顶端“登录状态”与“顶部广告”交叉显示（一部分被挡住）。
对于LOGO底部修改出现灰色的问题解决办法：
在PS中依次选择“图像”——“模式”——“索引颜色”，然后再导出为PNG图像或者GIF图像即可（为让IE6正常显示，建议用GIF图像）。
Related posts:使用Discuz插件的同学需要注意了紧急对比更新Discuz论坛安全补丁包[20081117]Discuz 论坛中的 AdSense 显示问题终于解决啦Discuz 6.0.0 0Day漏洞今日杂碎：谷歌出的两个很酷的DZ论坛图片插件Copyright &#169; 2007-2009 This feed is building by Lin's Space&#124;Only and 我的爬行JI - IT资讯精读.本文地址：http://clin003.com/web2o-webos/discuz-guoqignmobanyetouguanggaocuoweijiejuebanfa-1811/  雁过留言. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)]]></description>
			<content:encoded><![CDATA[<p>【官方出品】官方国庆模板下载，支持 7.0+7.1 模板下载地址：http://www.discuz.net/viewthread.php?tid=1415994<br />
【官方出品的国庆模板出现的问题解决办法】：http://www.discuz.net/thread-1418191-1-1.html<br />
演示地址：http://bbs.luoyanglife.com/</p>
<p><strong>顶部广告位错位解决办法：</strong><br />
打开：http://www.discuz.net/templates/2009/css_append.htm<br />
复制源码到自己的国庆模板文件“css_append.htm”（因为在帖子下载的模板可能不是最新的，所以就。。）<br />
不一样的地方可能就一个地方</p>
<blockquote><p>#header .wrap下边的<br />
#ad_headerbanner { margin: 25px 0px 10px; }
</p></blockquote>
<p>然后打开css_append.htm<br />
查找</p>
<blockquote><p>#header .wrap { padding: 0; height: 107px; }</p></blockquote>
<p>在下面添加</p>
<blockquote><p>#header #ad_headerbanner { margin-top:18px; }</p></blockquote>
<p>后台更新缓存<br />
这样可以解决顶端“登录状态”与“顶部广告”交叉显示（一部分被挡住）。</p>
<p><strong>对于LOGO底部修改出现灰色的问题解决办法：</strong><br />
在PS中依次选择“图像”——“模式”——“索引颜色”，然后再导出为PNG图像或者GIF图像即可（为让IE6正常显示，建议用GIF图像）。</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://clin003.com/ideas/discuz-plugin-exploits-1800/" rel="bookmark" title="Permanent Link: 使用Discuz插件的同学需要注意了">使用Discuz插件的同学需要注意了</a></li><li><a href="http://clin003.com/safe/discuz-wap-20081117-1584/" rel="bookmark" title="Permanent Link: 紧急对比更新Discuz论坛安全补丁包[20081117]">紧急对比更新Discuz论坛安全补丁包[20081117]</a></li><li><a href="http://clin003.com/ideas/discuz-adsense-show-1789/" rel="bookmark" title="Permanent Link: Discuz 论坛中的 AdSense 显示问题终于解决啦">Discuz 论坛中的 AdSense 显示问题终于解决啦</a></li><li><a href="http://clin003.com/exploits/discuz-600-0day-2-198/" rel="bookmark" title="Permanent Link: Discuz 6.0.0 0Day漏洞">Discuz 6.0.0 0Day漏洞</a></li><li><a href="http://clin003.com/ideas/google-code-photo-viewer-and-photo-uploader-1573/" rel="bookmark" title="Permanent Link: 今日杂碎：谷歌出的两个很酷的DZ论坛图片插件">今日杂碎：谷歌出的两个很酷的DZ论坛图片插件</a></li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/web2o-webos/discuz-guoqignmobanyetouguanggaocuoweijiejuebanfa-1811/" >http://clin003.com/web2o-webos/discuz-guoqignmobanyetouguanggaocuoweijiejuebanfa-1811/</a> <br /> <a href="http://clin003.com/web2o-webos/discuz-guoqignmobanyetouguanggaocuoweijiejuebanfa-1811/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/iJrhDjPb6EWquqSAi6nwHFqUET4/0/da"><img src="http://feedads.g.doubleclick.net/~a/iJrhDjPb6EWquqSAi6nwHFqUET4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/iJrhDjPb6EWquqSAi6nwHFqUET4/1/da"><img src="http://feedads.g.doubleclick.net/~a/iJrhDjPb6EWquqSAi6nwHFqUET4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/jDA7nvN0o5U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/web2o-webos/discuz-guoqignmobanyetouguanggaocuoweijiejuebanfa-1811/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://clin003.com/web2o-webos/discuz-guoqignmobanyetouguanggaocuoweijiejuebanfa-1811/</feedburner:origLink></item>
		<item>
		<title>腾讯域名邮箱：鸡肋！</title>
		<link>http://feedproxy.google.com/~r/only/~3/vkNUYs2QDMI/</link>
		<comments>http://clin003.com/ideas/tengxunyumingyouxiang-1810/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 13:41:57 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[今日一点]]></category>
		<category><![CDATA[邮箱]]></category>
		<category><![CDATA[腾讯]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1810</guid>
		<description><![CDATA[今天使用绑定的域名邮箱测试注册UCH，没有收到邮件。。
连续重新发送好几次还是没有
然后换个邮箱，立马就收到了
继续测试。。
换上qq邮箱（QQ号@qq.com），也是立马就收到了
难道“运气”差，于是又换回域名邮箱，还是收不到！！
用Gmail给这个域名邮箱发了封信，俩字，很快收到。。
难道是腾讯域名邮箱丢信？或是直接被过滤关键字啦？（可同样的邮件QQ号的数字邮箱就能收到啊）。。
有人说腾讯的域名邮箱还处于测试阶段，那么，一次丢信可以接受，两次丢信也可以接受，三次也可以接受，四次五次也都可以接受。。那要绑个域名邮箱做什么？只是给QQ邮箱绑定个虚名？看着帅还是咋地？
就算是邮箱内有所谓的&#8221;非法&#8221;关键字,你可以过滤，可以把那些字变成*号，可以把那些信标记为垃圾邮件（我信箱里的阿里系统发的的邮件统统已经被QQ邮箱标记为垃圾邮件，不明真相），但是你直接丢弃就说不过去了吧。。
就啰嗦这么点吧。。今天害我点好几次重新发信验证！
CommentsSeptember  23, 2009, BestDong writes: 我用起来感觉还不错September  24, 2009, 白菜林 writes: @BestDong 
是的，QQ邮箱好多方面做得很贴心的，只是邮箱再好，发信收信是最基本的功能啊Copyright &#169; 2007-2009 This feed is building by Lin's Space&#124;Only and 我的爬行JI - IT资讯精读.本文地址：http://clin003.com/ideas/tengxunyumingyouxiang-1810/  雁过留言. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)]]></description>
			<content:encoded><![CDATA[<p>今天使用绑定的域名邮箱测试注册UCH，没有收到邮件。。<br />
连续重新发送好几次还是没有<br />
然后换个邮箱，立马就收到了<br />
继续测试。。<br />
换上qq邮箱（QQ号@qq.com），也是立马就收到了<br />
难道“运气”差，于是又换回域名邮箱，还是收不到！！</p>
<p>用Gmail给这个域名邮箱发了封信，俩字，很快收到。。</p>
<p>难道是腾讯域名邮箱丢信？或是直接被过滤关键字啦？（可同样的邮件QQ号的数字邮箱就能收到啊）。。</p>
<p>有人说腾讯的域名邮箱还处于测试阶段，那么，一次丢信可以接受，两次丢信也可以接受，三次也可以接受，四次五次也都可以接受。。那要绑个域名邮箱做什么？只是给QQ邮箱绑定个虚名？看着帅还是咋地？</p>
<p>就算是邮箱内有所谓的&#8221;非法&#8221;关键字,你可以过滤，可以把那些字变成*号，可以把那些信标记为垃圾邮件（我信箱里的阿里系统发的的邮件统统已经被QQ邮箱标记为垃圾邮件，不明真相），但是你直接丢弃就说不过去了吧。。</p>
<p>就啰嗦这么点吧。。今天害我点好几次重新发信验证！</p>
<hr /><h2>Comments</h2><ul><li><a href="http://clin003.com/ideas/tengxunyumingyouxiang-1810/#comment-2464">September  23, 2009</a>, BestDong writes: 我用起来感觉还不错</li><li><a href="http://clin003.com/ideas/tengxunyumingyouxiang-1810/#comment-2468">September  24, 2009</a>, <a href='http://clin003.com/' rel='external nofollow' class='url'>白菜林</a> writes: <a href="#comment-2464" rel="nofollow">@BestDong</a> 
是的，QQ邮箱好多方面做得很贴心的，只是邮箱再好，发信收信是最基本的功能啊</li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/ideas/tengxunyumingyouxiang-1810/" >http://clin003.com/ideas/tengxunyumingyouxiang-1810/</a> <br /> <a href="http://clin003.com/ideas/tengxunyumingyouxiang-1810/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/j65X_rv_HiCpEWzRbN1f0-W79nE/0/da"><img src="http://feedads.g.doubleclick.net/~a/j65X_rv_HiCpEWzRbN1f0-W79nE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/j65X_rv_HiCpEWzRbN1f0-W79nE/1/da"><img src="http://feedads.g.doubleclick.net/~a/j65X_rv_HiCpEWzRbN1f0-W79nE/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/vkNUYs2QDMI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/ideas/tengxunyumingyouxiang-1810/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://clin003.com/ideas/tengxunyumingyouxiang-1810/</feedburner:origLink></item>
		<item>
		<title>今日杂碎：光电鼠标不移动和UCenter“通信失败”</title>
		<link>http://feedproxy.google.com/~r/only/~3/TZZBaDRgvig/</link>
		<comments>http://clin003.com/ideas/ucenter-discuz-access-denied-for-agent-changed-1808/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 17:28:02 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[今日一点]]></category>
		<category><![CDATA[Discuz]]></category>
		<category><![CDATA[通信失败]]></category>
		<category><![CDATA[鼠标]]></category>
		<category><![CDATA[UCenter]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1808</guid>
		<description><![CDATA[这两个东东本来是没有关系的，杂碎嘛 &#8211; -
1、先说鼠标
发现鼠标不能用啦：右键可以点，但是不可以移动
关机拔掉鼠标线，再插上，依然不能动。。
用手摸着那个光电感应灯上的“标签”，鼠标指针还是不会动！！突然感觉有点不对劲。。这“标签”咋跑贴到光电感应灯上啦，撕掉，鼠标活啦。。
不知道是哪个谁想在鼠标屁股上贴个“标签”跑。。
2、昨晚上装啦两个dz7.0的论坛，UCenter中心提示“通信失败”，具体什么通信失败看不到（貌似UCenter有问题）。
dz论坛登录正常，退出时会附带提示“Access denied for agent changed”，这个东东不影响使用，但是看着不爽。
于是Google下，官方也给有解决方案，可惜对不上（解决不了）偶这个问题。。
把一个dz论坛从UCenter应用中删除，另外一个还是“通信失败”，被删除的还能正常登录。。
对照着uch（通信正常），也没啥问题啊，然后查看dz论坛文件夹“uc_client\data\cache”权限。
然后查看还是“通信失败”，然后编辑UCenter应用中的dz，填写“应用的物理路径:”，返回应用列表，发现ok啦（通信成功）。
  
然后查看UCenter目录下的data目录发现没有可写权限!设置添加data目录可写权限，然后按照自定义添加UCenter应用，填写密钥，返回应用列表，发现也是OK的（通信成功）。然后发现DZ论坛退出时也没有那个“附加”的提示（Access denied for agent changed）了。
看来问题出在UCenter下的data目录没有可写权限（不能修改文件），设置可写权限后，发现配置文件并没有被修改的。。
看问题的关键就是填写“应用的物理路径:”和data目录是否具有可写修改文件的权限。
官方给出的参考解决方法应该是首选检查的：
1、UCenter 应用 ID 需要和 UCenter 后台的 ID 一致；
2、UCenter 通信密钥需要和 UCenter 后台的通信密钥一致；
3、UCenter 访问地址查看是否是正确的地址；
4、UCenter IP 地址查看是否是 UCenter 所在的 MySQL 服务器的 IP 地址。
Related posts:今日杂碎：Ucenter转移后的问题使用Discuz插件的同学需要注意了今日杂碎：UC1.5，DZ7，UCH1.5，谷歌贴图升级robots.txt紧急对比更新Discuz论坛安全补丁包[20081117]Copyright &#169; 2007-2009 This feed is building by Lin's Space&#124;Only and 我的爬行JI - IT资讯精读.本文地址：http://clin003.com/ideas/ucenter-discuz-access-denied-for-agent-changed-1808/  雁过留言. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)]]></description>
			<content:encoded><![CDATA[<p>这两个东东本来是没有关系的，杂碎嘛 &#8211; -</p>
<p>1、先说鼠标</p>
<p>发现鼠标不能用啦：右键可以点，但是不可以移动<br />
关机拔掉鼠标线，再插上，依然不能动。。<br />
用手摸着那个光电感应灯上的“标签”，鼠标指针还是不会动！！突然感觉有点不对劲。。这“标签”咋跑贴到光电感应灯上啦，撕掉，鼠标活啦。。<br />
不知道是哪个谁想在鼠标屁股上贴个“标签”跑。。</p>
<p>2、昨晚上装啦两个dz7.0的论坛，UCenter中心提示“通信失败”，具体什么通信失败看不到（貌似UCenter有问题）。</p>
<p>dz论坛登录正常，退出时会附带提示“Access denied for agent changed”，这个东东不影响使用，但是看着不爽。<br />
于是Google下，官方也给有<a href="http://faq.comsenz.com/viewnews-204">解决方案</a>，可惜对不上（解决不了）偶这个问题。。</p>
<p>把一个dz论坛从UCenter应用中删除，另外一个还是“通信失败”，被删除的还能正常登录。。</p>
<p>对照着uch（通信正常），也没啥问题啊，然后查看dz论坛文件夹“uc_client\data\cache”权限。</p>
<p>然后查看还是“通信失败”，然后编辑UCenter应用中的dz，填写“应用的物理路径:”，返回应用列表，发现ok啦（通信成功）。</p>
<p> <img src='http://clin003.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>然后查看UCenter目录下的data目录发现没有可写权限!设置添加data目录可写权限，然后按照自定义添加UCenter应用，填写密钥，返回应用列表，发现也是OK的（通信成功）。然后发现DZ论坛退出时也没有那个“附加”的提示（Access denied for agent changed）了。</p>
<p>看来问题出在UCenter下的data目录没有可写权限（不能修改文件），设置可写权限后，发现配置文件并没有被修改的。。</p>
<p><strong>看问题的关键就是填写“应用的物理路径:”和data目录是否具有可写修改文件的权限。</strong></p>
<p><strong>官方给出的参考解决方法应该是首选检查的：</strong><br />
1、UCenter 应用 ID 需要和 UCenter 后台的 ID 一致；<br />
2、UCenter 通信密钥需要和 UCenter 后台的通信密钥一致；<br />
3、UCenter 访问地址查看是否是正确的地址；<br />
4、UCenter IP 地址查看是否是 UCenter 所在的 MySQL 服务器的 IP 地址。</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://clin003.com/ideas/ucenter-hdwiki-discuz-uchome-modoer-1647/" rel="bookmark" title="Permanent Link: 今日杂碎：Ucenter转移后的问题">今日杂碎：Ucenter转移后的问题</a></li><li><a href="http://clin003.com/ideas/discuz-plugin-exploits-1800/" rel="bookmark" title="Permanent Link: 使用Discuz插件的同学需要注意了">使用Discuz插件的同学需要注意了</a></li><li><a href="http://clin003.com/ideas/ucenter-discuz-uchome-googlephotouploader-1619/" rel="bookmark" title="Permanent Link: 今日杂碎：UC1.5，DZ7，UCH1.5，谷歌贴图升级">今日杂碎：UC1.5，DZ7，UCH1.5，谷歌贴图升级</a></li><li><a href="http://clin003.com/search-engine/robots-208/" rel="bookmark" title="Permanent Link: robots.txt">robots.txt</a></li><li><a href="http://clin003.com/safe/discuz-wap-20081117-1584/" rel="bookmark" title="Permanent Link: 紧急对比更新Discuz论坛安全补丁包[20081117]">紧急对比更新Discuz论坛安全补丁包[20081117]</a></li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/ideas/ucenter-discuz-access-denied-for-agent-changed-1808/" >http://clin003.com/ideas/ucenter-discuz-access-denied-for-agent-changed-1808/</a> <br /> <a href="http://clin003.com/ideas/ucenter-discuz-access-denied-for-agent-changed-1808/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/jWEKAvKY4QPawzT66yDocbAbsjw/0/da"><img src="http://feedads.g.doubleclick.net/~a/jWEKAvKY4QPawzT66yDocbAbsjw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/jWEKAvKY4QPawzT66yDocbAbsjw/1/da"><img src="http://feedads.g.doubleclick.net/~a/jWEKAvKY4QPawzT66yDocbAbsjw/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/TZZBaDRgvig" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/ideas/ucenter-discuz-access-denied-for-agent-changed-1808/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://clin003.com/ideas/ucenter-discuz-access-denied-for-agent-changed-1808/</feedburner:origLink></item>
		<item>
		<title>ASP.NET 安全策略学习与 .NET 测试环境搭建</title>
		<link>http://feedproxy.google.com/~r/only/~3/7xRA9_4jhF0/</link>
		<comments>http://clin003.com/servers/security-fuard-solution-of-aspdotnet-1806/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 18:14:04 +0000</pubDate>
		<dc:creator>白菜林</dc:creator>
				<category><![CDATA[今日一点]]></category>
		<category><![CDATA[服务器]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[安全策略]]></category>

		<guid isPermaLink="false">http://clin003.com/?p=1806</guid>
		<description><![CDATA[ASP.NET 测试环境：
Windows2003 + IIS6.0
ASP.NET v1.1 ( .NET Framework 1.1 ) / ASP.NET v2.0 ( .NET Framework 2.0 )
MDAC 2.8( Microsoft Data Access Components (MDAC) 2.8 )
MS2005 SP3 ( Microsoft SQL Server 2005 Express Edition Service Pack 3 )
Microsoft SQL Server Management Studio Express Service Pack 3
ASP.NET 测试环境搭建目的：
多人使用通过FTP上传编写的代码进行调试，避免服务器遭受WEBSHELL提权攻击。
ASP.NET 环境搭建：
iis6和 .net 的安装这里就不说了。。
MS2005 SP3装完后，给出的“应用最小化”建议配置：
配置和管理 SQL Server Express
·	为提高可管理性和安全性，SQL Server [...]]]></description>
			<content:encoded><![CDATA[<p>ASP.NET 测试环境：</p>
<p>Windows2003 + IIS6.0<br />
ASP.NET v1.1 ( <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&amp;DisplayLang=zh-cn" target="_blank">.NET Framework 1.1</a> ) / ASP.NET v2.0 ( <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&amp;displaylang=zh-cn" target="_blank">.NET Framework 2.0</a> )<br />
MDAC 2.8( <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=6c050fe3-c795-4b7d-b037-185d0506396c&amp;DisplayLang=zh-cn" target="_blank">Microsoft Data Access Components (MDAC) 2.8</a> )<br />
MS2005 SP3 ( <a href="http://www.microsoft.com/downloads/details.aspx?familyid=3181842A-4090-4431-ACDD-9A1C832E65A6&amp;displaylang=zh-cn#filelist" target="_blank">Microsoft SQL Server 2005 Express Edition Service Pack 3</a> )</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&amp;FamilyID=5d76230d-580d-4874-8c7d-93491a29db15#filelist" target="_blank">Microsoft SQL Server Management Studio Express Service Pack 3</a></p>
<p><strong>ASP.NET 测试环境搭建目的：</strong><br />
多人使用通过FTP上传编写的代码进行调试，避免服务器遭受WEBSHELL提权攻击。</p>
<p><strong>ASP.NET 环境搭建：</strong></p>
<p>iis6和 .net 的安装这里就不说了。。<br />
MS2005 SP3装完后，给出的“应用最小化”建议配置：</p>
<blockquote><p>配置和管理 SQL Server Express<br />
·	为提高可管理性和安全性，SQL Server 2005 对系统上的 SQL Server 外围应用进行了更严格的控制。若要使外围应用最小化，请将以下默认配置应用于 SQL Server 实例：</p>
<p>o	禁用 TCP/IP 连接<br />
o	禁用 Named Pipes<br />
o	必须手动启动 SQL Browser<br />
o	禁用 OPENROWSET 和 OPENDATASOURCE<br />
o	禁用 CLR 集成<br />
o	禁用 OLE 自动化<br />
o	禁用 xp_cmdshell</p>
<p>若要启用或禁用功能和服务，请运行“开始”菜单中的“SQL Server 外围应用配置器”工具。</p></blockquote>
<p><strong>简单修改SQL Server 2005 默认配置</strong></p>
<p>为了可以正常的测试ASP.NET链接MSSQL数据的程序，需要使用“SQL Server 外围应用配置器”，打开“Database Engine”的“TCP/IP 连接”（只开这个就可以啦，方便防火墙设置）。然后使用“SQL Server 配置管理器”配置“SQL Server 2005 网络配置”——“TCP/IP”——“IP地址”——&#8221;IPALL&#8221;——TCP端口设置为1433（可根据自己需要修改这个数字），重启“SQL Server 2005”，然后使用“Telnet 127.0.0.1 1433”，看是否能够连到数据库服务。</p>
<p>然后使用“SQL Server Management Studio Express”——建立数据库，新建用户，映射数据库，赋予Public和Db_ower权限即可。</p>
<p>SQL Server 2005默认装起后可能出现的问题：</p>
<blockquote><p>在连接到 SQL Server 2005 时，在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: 命名管道提供程序, error: 40 &#8211; 无法打开到 SQL Server 的连接)</p></blockquote>
<p><strong>服务器安全策略需要整体全面的考虑，这里仅仅描述下ASP.NET应用与IIS结合的安全策略。</strong></p>
<p>ASP.net与IIS的关系类似与于PHP与Apache的关系，这里说明下ASP.net与IIS之间安全关系：</p>
<blockquote><p>1&gt;  IIS接收到HTTP请求。可以使用SSL技术来保证服务器的身份，此外SSL也提供一个安全通道，以保护在客户端和服务器间传送的机密数据。<br />
2&gt;  IIS使用基本、摘要式或其他验证的方式验证用户。如果网站中全部或部分内容无须经过验证，则可将IIS设定为匿名验证。<br />
3&gt;  经过验证之后，IIS会将用户的Windows存取令牌传送到ASP.NET,如果IIS使用的是匿名验证，则为匿名Internet使用者的存取令牌（默认值为IUSER_MACHINE帐号）。<br />
4&gt; ASP.NET验证请求者。有三种方式的验证：Windows验证，窗体验证，护照验证。<br />
5&gt; ASP.NET会授权存取所需要的资源。有两类授权：<br />
a) URL授权。通过URL授权模块使用在Web.config中设定的授权规则（也就是&lt;authorization&gt;元素中的设置），检查用户是否具有访问权。例如：<br />
&lt;/authorization&gt;&lt;authorization&gt;<br />
&lt;allow users=&#8221;Admin&#8221;/&gt;<br />
&lt;deny users=&#8221;*&#8221;/&gt;<br />
&lt;/authorization&gt;</p>
<p>上面的例子表示名为Admin的用户有访问权，而其他所有用户的访问都是被拒绝的。<br />
b) 文件授权。文件授权是根据文件的存取控制清单（ACL）来确定已经过验证的用户帐户能否访问文件。例如：应用程序允许使用IUSER_MACHINE帐户进行匿名访问，当这个访问到index.aspx时，ASP.NET会根据ACL来检查该文件以确定 IUSER_MACHINE帐户是否具有读取该文件的权限。如果有，则授权访问；没有就不能访问。<br />
6&gt; 应用程序会使用特别身份，存取本机或远程资源。</p>
<p>当我们了解了ASP.NET与IIS之间的关系之后，我们就可以对身份验证及资源授权进行各种综合的考虑，以加强网站或系统的安全性了。</p></blockquote>
<p>引用自：<a href="http://www.cnblogs.com/aozhe/archive/2006/04/18/377765.html" target="_blank">ASP.NET安全策略研究手记</a></p>
<p><strong>ASP.NET安全策略实施</strong></p>
<p><strong>1&gt;  本地用户和组中设置ASPNET用户为Guest组并且去掉Users组权限。</strong></p>
<p>这是因为IIS网站和ASP.NET使用独立的用户权限，User组权限可能引出服务器提权危险。</p>
<p><strong>2&gt; 危险的默认asp.net策略配置</strong></p>
<p>.net的web application都继承“C:\Windows\Microsoft.NET\Framework\{version}\CONFIG\web.config” 配置文件，其中有</p>
<blockquote><p>&lt;trust level=&#8221;Full&#8221; originUrl=&#8221;"/&gt;</p></blockquote>
<p>微软对“Full”级别权限的描述：</p>
<blockquote><p>完全<br />
无限制的权限。应用程序可访问任何属于操作系统安全范围的资源。支持所有的特权操作。</p></blockquote>
<p>关于 ASP.NET 代码访问安全性 可以查看这里的<a href="http://technet.microsoft.com/zh-cn/library/aa302424.aspx" target="_blank">详细说明</a>。</p>
<p>可以在保证正常运行服务程序的情况下应当禁止重写安全策略，建议“信任级别”设置为“高”或更低，配合NTFS目录文件权限保证策略文件不会被可能的WEBSHELL修改！</p>
<p>附注：<br />
<strong>防止Serv-U权限提升</strong></p>
<p>由于使用的Serv-U服务器程序，虽然使用的用户和iis用户是相互独立的，为防万一，还是修改下好了。</p>
<p>用Ultraedit或winhex打开ServUDaemon.exe查找Ascii：LocalAdministrator，和#l@$ak#.lk;0@P，修改成相同长度的其它字符，ServUAdmin.exe也一样修改。</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://clin003.com/safe/2007-enterprise-edition-installation-of-office-then-suggested-that-activation-solution-245/" rel="bookmark" title="Permanent Link: 安装office 2007企业版然后提示激活解决办法">安装office 2007企业版然后提示激活解决办法</a></li><li><a href="http://clin003.com/exploits/wordpress-2-8-1-security-bypass-0day-1763/" rel="bookmark" title="Permanent Link: WordPress < 2.8.1 Security Bypass 0day">WordPress < 2.8.1 Security Bypass 0day</a></li><li><a href="http://clin003.com/safe/al-99-vc-use-was-linked-to-ma-solution-js-333/" rel="bookmark" title="Permanent Link: 被al.99.vc使用js挂马解决办法">被al.99.vc使用js挂马解决办法</a></li><li><a href="http://clin003.com/wp-use/security-fix-for-wordpress-263-release-1598/" rel="bookmark" title="Permanent Link: 今日杂碎：更新WordPress 2.6.5">今日杂碎：更新WordPress 2.6.5</a></li><li><a href="http://clin003.com/rootkit/what-is-a-rootkit-rootkit-technology-34/" rel="bookmark" title="Permanent Link: 什么是rootkit、rootkit技术">什么是rootkit、rootkit技术</a></li></ul><hr /><small>Copyright &copy; 2007-2009<br /> This feed is building by <a href="http://clin003.com/">Lin's Space|Only</a> and <a href="http://hi.clin003.com/">我的爬行JI - IT资讯精读</a>.<br />本文地址：<a href="http://clin003.com/servers/security-fuard-solution-of-aspdotnet-1806/" >http://clin003.com/servers/security-fuard-solution-of-aspdotnet-1806/</a> <br /> <a href="http://clin003.com/servers/security-fuard-solution-of-aspdotnet-1806/#comment" title="to the comments">雁过留言</a>. (Digital Fingerprint: 850cee8la75i9f3ne9c0dd80e31392be)</small>
<p><a href="http://feedads.g.doubleclick.net/~a/3UdO7mni3Mi2YGBvImfQDsuNtPs/0/da"><img src="http://feedads.g.doubleclick.net/~a/3UdO7mni3Mi2YGBvImfQDsuNtPs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/3UdO7mni3Mi2YGBvImfQDsuNtPs/1/da"><img src="http://feedads.g.doubleclick.net/~a/3UdO7mni3Mi2YGBvImfQDsuNtPs/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/only/~4/7xRA9_4jhF0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://clin003.com/servers/security-fuard-solution-of-aspdotnet-1806/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://clin003.com/servers/security-fuard-solution-of-aspdotnet-1806/</feedburner:origLink></item>
	</channel>
</rss>
