<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>BizSmooth——企顺学校博客 &#187; 库</title>
	<atom:link href="http://blog.bizsmooth.com/?feed=rss2&#038;tag=%E5%BA%93" rel="self" type="application/rss+xml" />
	<link>http://blog.bizsmooth.com</link>
	<description>企顺学校老师和同学们的交流园地</description>
	<lastBuildDate>Wed, 04 Feb 2026 12:22:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>linux中如何查看服务是否可以使用tcpwraps来进行访问控制？</title>
		<link>http://blog.bizsmooth.com/?p=415</link>
		<comments>http://blog.bizsmooth.com/?p=415#comments</comments>
		<pubDate>Thu, 17 Feb 2011 02:55:47 +0000</pubDate>
		<dc:creator>李 伟斌</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ldd]]></category>
		<category><![CDATA[libwrap.so]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[tcpwrap]]></category>
		<category><![CDATA[企顺]]></category>
		<category><![CDATA[库]]></category>
		<category><![CDATA[模块]]></category>

		<guid isPermaLink="false">http://blog.bizsmooth.org/?p=415</guid>
		<description><![CDATA[今天有人问我，如果有四个程序: xinetd, httpd,sshd,syslogd 如何可以查到这4个程序中，支持tcpwrap的程序呢？ 据我所知，如果支持tcpwrap就一定有libwrap的库文件参与。那么程序在运行的时候肯定会加载相应的库模块。 而查询加载的模块命令我们用ldd。可是查询的时候如何快速查询是否有libwrap的模块呢？就需要我们写一个简单的shell脚本了。。。呵呵 分解一下： 首先第一步。测试一下 xinetd程序在那里。可以用which命令来定位。 [root@RHEL5 ~]# which xinetd /usr/sbin/xinetd 得到结果是/usr/sbin/xinetd这个程序，然后利用ldd 查看该程序加载了哪些模块。 [root@RHEL5 ~]# ldd /usr/sbin/xinetd linux-gate.so.1 =&#62; (0x00e7b000) libselinux.so.1 =&#62; /lib/libselinux.so.1 (0x0036f000) libwrap.so.0 =&#62; /usr/lib/libwrap.so.0 (0&#215;00582000) libnsl.so.1 =&#62; /lib/libnsl.so.1 (0&#215;00294000) libm.so.6 =&#62; /lib/i686/nosegneg/libm.so.6 (0&#215;00256000) libcrypt.so.1 &#8230; <a href="http://blog.bizsmooth.com/?p=415">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.bizsmooth.com/?feed=rss2&amp;p=415</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
