⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 what_is_inetd.html

📁 ADI 公司blackfin系列的用户使用文挡。
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head>  <title></title>  <link rel="stylesheet" media="screen" type="text/css" href="./style.css" />  <link rel="stylesheet" media="screen" type="text/css" href="./design.css" />  <link rel="stylesheet" media="print" type="text/css" href="./print.css" />  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><a href=start.html>start</a></br><h2><a name="what_is_inetd" id="what_is_inetd">What is inetd ?</a></h2><div class="level2"><p> This is a user code program that sets up and monitors a number of ports on a system. </p><p>When an external system tries to establish communications with such a system it first contacts the <strong>inetd</strong> manager program. This manager program can then redirect the network traffic to a special handler program designated for the specific network port.</p><p>The task of linking ports to programs is conducted by a configuration file  <strong>/etc/inetd.conf</strong>.</p><p>Typical contents </p><pre class="code"># on the target systemroot:~&gt; cat /etc/inetd.confftp     stream tcp nowait root /bin/ftpd -ltelnet  stream tcp nowait root /bin/telnetd</pre><p> The service is designated by name so you also need a file <strong>/etc/services</strong> to link the service name to the port and protocol.</p><pre class="code">oot:~&gt; cat /etc/servicesftp     21/tcpftp     21/udpssh     22/tcpssh     22/udptelnet  23/tcptelnet  23/udpnameserver      42/tcp  namenameserver      42/udp  nametftp    69/tcptftp    69/udpfinger  79/tcpfinger  79/udphttp    80/tcp  www www-httphttp    80/udp  www www-httpkerberos        88/tcp  kerberos5 krb5kerberos        88/udp  kerberos5 krb5hostname        101/tcp hostnameshostname        101/udp hostnamesshell   514/tcp cmdshell   514/udp cmd</pre><p>The <strong>/etc/inetd.conf</strong> file is often generated automatically during the system build.</p><p>The <strong>user/telnetd/Makefile</strong> shows this process.</p><p>During the <strong>make romfs</strong> part of the system build the correct entry is made into the <strong>/etc/inetd.conf</strong> file.</p><pre class="code"> romfs:        $(ROMFSINST) /bin/$(EXEC)        $(ROMFSINST) -e CONFIG_USER_TELNETD_TELNETD \                -a &quot;telnet  stream tcp nowait root /bin/telnetd&quot; /etc/inetd.conf</pre></div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -