1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY xinetd-download-http "http://www.xinetd.org/xinetd-&xinetd-version;.tar.gz">
|
---|
8 | <!ENTITY xinetd-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/xinetd-&xinetd-version;.tar.gz">
|
---|
9 | <!ENTITY xinetd-md5sum "567382d7972613090215c6c54f9b82d9">
|
---|
10 | <!ENTITY xinetd-size "301 KB">
|
---|
11 | <!ENTITY xinetd-buildsize "4.4 MB">
|
---|
12 | <!ENTITY xinetd-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="xinetd" xreflabel="xinetd-&xinetd-version;">
|
---|
16 | <?dbhtml filename="xinetd.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>xinetd-&xinetd-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="xinetd">
|
---|
26 | <primary sortas="a-Xinetd">Xinetd</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to xinetd</title>
|
---|
31 |
|
---|
32 | <para><application>xinetd</application> is the eXtended InterNET services
|
---|
33 | daemon, a secure replacement for <command>inetd</command>.</para>
|
---|
34 |
|
---|
35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
36 | <itemizedlist spacing="compact">
|
---|
37 | <listitem>
|
---|
38 | <para>Download (HTTP): <ulink url="&xinetd-download-http;"/></para>
|
---|
39 | </listitem>
|
---|
40 | <listitem>
|
---|
41 | <para>Download (FTP): <ulink url="&xinetd-download-ftp;"/></para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>Download MD5 sum: &xinetd-md5sum;</para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download size: &xinetd-size;</para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Estimated disk space required: &xinetd-buildsize;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Estimated build time: &xinetd-time;</para>
|
---|
54 | </listitem>
|
---|
55 | </itemizedlist>
|
---|
56 |
|
---|
57 | <bridgehead renderas="sect3">xinetd Dependencies</bridgehead>
|
---|
58 |
|
---|
59 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
60 | <para><xref linkend="tcpwrappers"/> and
|
---|
61 | <ulink url="http://www.porchdogsoft.com/products/howl/">Howl</ulink></para>
|
---|
62 |
|
---|
63 | </sect2>
|
---|
64 |
|
---|
65 | <sect2 role="installation">
|
---|
66 | <title>Installation of xinetd</title>
|
---|
67 |
|
---|
68 | <para>Install <application>xinetd</application> by running the following
|
---|
69 | commands:</para>
|
---|
70 |
|
---|
71 | <screen><userinput>./configure --prefix=/usr --with-loadavg &&
|
---|
72 | make</userinput></screen>
|
---|
73 |
|
---|
74 | <para>This package does not come with a test suite.</para>
|
---|
75 |
|
---|
76 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
77 |
|
---|
78 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
79 |
|
---|
80 | </sect2>
|
---|
81 |
|
---|
82 | <sect2 role="configuration">
|
---|
83 | <title>Configuring xinetd</title>
|
---|
84 |
|
---|
85 | <sect3 id="xinetd-config">
|
---|
86 | <title>Config Files</title>
|
---|
87 |
|
---|
88 | <para><filename>/etc/xinetd.conf</filename> and
|
---|
89 | <filename class='directory'>/etc/xinetd.d/*</filename></para>
|
---|
90 |
|
---|
91 | <indexterm zone="xinetd xinetd-config">
|
---|
92 | <primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary>
|
---|
93 | </indexterm>
|
---|
94 |
|
---|
95 | <indexterm zone="xinetd xinetd-config">
|
---|
96 | <primary sortas="e-etc-xinetd.d">/etc/xinetd.d/*</primary>
|
---|
97 | </indexterm>
|
---|
98 |
|
---|
99 | </sect3>
|
---|
100 |
|
---|
101 | <sect3>
|
---|
102 | <title>Configuration Information</title>
|
---|
103 |
|
---|
104 | <para>Ensure the path to all daemons is
|
---|
105 | <filename class="directory">/usr/sbin</filename>, rather than the default
|
---|
106 | path of <filename class="directory">/usr/etc</filename>, and install the
|
---|
107 | <application>xinetd</application> configuration files by running the
|
---|
108 | following commands as the <systemitem class="username">root</systemitem>
|
---|
109 | user:</para>
|
---|
110 |
|
---|
111 | <screen role="root"><userinput>cat > /etc/xinetd.conf << "EOF"
|
---|
112 | <literal># Begin /etc/xinetd
|
---|
113 | # Configuration file for xinetd
|
---|
114 | #
|
---|
115 |
|
---|
116 | defaults
|
---|
117 | {
|
---|
118 | instances = 60
|
---|
119 | log_type = SYSLOG daemon
|
---|
120 | log_on_success = HOST PID USERID
|
---|
121 | log_on_failure = HOST USERID
|
---|
122 | cps = 25 30
|
---|
123 | }
|
---|
124 |
|
---|
125 | # All service files are stored in the /etc/xinetd.d directory
|
---|
126 | #
|
---|
127 | includedir /etc/xinetd.d
|
---|
128 | # End /etc/xinetd</literal>
|
---|
129 | EOF</userinput></screen>
|
---|
130 |
|
---|
131 | <para>All of the following files have the statement, "disable = yes".
|
---|
132 | To activate any of the services, this statement will need to be changed
|
---|
133 | to "disable = no".</para>
|
---|
134 |
|
---|
135 | <note>
|
---|
136 | <para>The following files are listed to demonstrate classic
|
---|
137 | <application>xinetd</application> applications. In many cases, these
|
---|
138 | applications are not needed. In some cases, the applications are
|
---|
139 | considered security risks. For example, <command>telnet</command>,
|
---|
140 | <command>rlogin</command>, <command>rexec</command>, and
|
---|
141 | <command>rsh</command> transmit unencrypted usernames and passwords
|
---|
142 | over the network and can be easily replaced with a more secure
|
---|
143 | alternative: <command>ssh</command>.</para>
|
---|
144 | </note>
|
---|
145 |
|
---|
146 | <screen role="root"><userinput>install -v -d -m755 /etc/xinetd.d &&
|
---|
147 | cat > /etc/xinetd.d/login << "EOF" &&
|
---|
148 | <literal># Begin /etc/xinetd.d/login
|
---|
149 |
|
---|
150 | service login
|
---|
151 | {
|
---|
152 | disable = yes
|
---|
153 | socket_type = stream
|
---|
154 | protocol = tcp
|
---|
155 | wait = no
|
---|
156 | user = root
|
---|
157 | server = /usr/sbin/in.rlogind
|
---|
158 | log_type = SYSLOG local4 info
|
---|
159 | }
|
---|
160 |
|
---|
161 | # End /etc/xinetd.d/login</literal>
|
---|
162 | EOF
|
---|
163 | cat > /etc/xinetd.d/shell << "EOF" &&
|
---|
164 | <literal># Begin /etc/xinetd.d/shell
|
---|
165 |
|
---|
166 | service shell
|
---|
167 | {
|
---|
168 | disable = yes
|
---|
169 | socket_type = stream
|
---|
170 | wait = no
|
---|
171 | user = root
|
---|
172 | instances = UNLIMITED
|
---|
173 | flags = IDONLY
|
---|
174 | log_on_success += USERID
|
---|
175 | server = /usr/sbin/in.rshd
|
---|
176 | }
|
---|
177 |
|
---|
178 | # End /etc/xinetd.d/shell</literal>
|
---|
179 | EOF
|
---|
180 | cat > /etc/xinetd.d/exec << "EOF" &&
|
---|
181 | <literal># Begin /etc/xinetd.d/exec
|
---|
182 |
|
---|
183 | service exec
|
---|
184 | {
|
---|
185 | disable = yes
|
---|
186 | socket_type = stream
|
---|
187 | wait = no
|
---|
188 | user = root
|
---|
189 | server = /usr/sbin/in.rexecd
|
---|
190 | }
|
---|
191 |
|
---|
192 | # End /etc/xinetd.d/exec</literal>
|
---|
193 | EOF
|
---|
194 | cat > /etc/xinetd.d/comsat << "EOF" &&
|
---|
195 | <literal># Begin /etc/xinetd.d/comsat
|
---|
196 |
|
---|
197 | service comsat
|
---|
198 | {
|
---|
199 | disable = yes
|
---|
200 | socket_type = dgram
|
---|
201 | wait = yes
|
---|
202 | user = nobody
|
---|
203 | group = tty
|
---|
204 | server = /usr/sbin/in.comsat
|
---|
205 | }
|
---|
206 |
|
---|
207 | # End /etc/xinetd.d/comsat</literal>
|
---|
208 | EOF
|
---|
209 | cat > /etc/xinetd.d/talk << "EOF" &&
|
---|
210 | <literal># Begin /etc/xinetd.d/talk
|
---|
211 |
|
---|
212 | service talk
|
---|
213 | {
|
---|
214 | disable = yes
|
---|
215 | socket_type = dgram
|
---|
216 | wait = yes
|
---|
217 | user = root
|
---|
218 | server = /usr/sbin/in.talkd
|
---|
219 | }
|
---|
220 |
|
---|
221 | # End /etc/xinetd.d/talk</literal>
|
---|
222 | EOF
|
---|
223 | cat > /etc/xinetd.d/ntalk << "EOF" &&
|
---|
224 | <literal># Begin /etc/xinetd.d/ntalk
|
---|
225 |
|
---|
226 | service ntalk
|
---|
227 | {
|
---|
228 | disable = yes
|
---|
229 | socket_type = dgram
|
---|
230 | wait = yes
|
---|
231 | user = root
|
---|
232 | server = /usr/sbin/in.ntalkd
|
---|
233 | }
|
---|
234 |
|
---|
235 | # End /etc/xinetd.d/ntalk</literal>
|
---|
236 | EOF
|
---|
237 | cat > /etc/xinetd.d/telnet << "EOF" &&
|
---|
238 | <literal># Begin /etc/xinetd.d/telnet
|
---|
239 |
|
---|
240 | service telnet
|
---|
241 | {
|
---|
242 | disable = yes
|
---|
243 | socket_type = stream
|
---|
244 | wait = no
|
---|
245 | user = root
|
---|
246 | server = /usr/sbin/in.telnetd
|
---|
247 | bind = 127.0.0.1
|
---|
248 | log_on_failure += USERID
|
---|
249 | }
|
---|
250 |
|
---|
251 | service telnet
|
---|
252 | {
|
---|
253 | disable = yes
|
---|
254 | socket_type = stream
|
---|
255 | wait = no
|
---|
256 | user = root
|
---|
257 | # server = /usr/sbin/in.telnetd
|
---|
258 | bind = 192.231.139.175
|
---|
259 | redirect = 128.138.202.20 23
|
---|
260 | log_on_failure += USERID
|
---|
261 | }
|
---|
262 |
|
---|
263 | # End /etc/xinetd.d/telnet</literal>
|
---|
264 | EOF
|
---|
265 | cat > /etc/xinetd.d/ftp << "EOF" &&
|
---|
266 | <literal># Begin /etc/xinetd.d/ftp
|
---|
267 |
|
---|
268 | service ftp
|
---|
269 | {
|
---|
270 | disable = yes
|
---|
271 | socket_type = stream
|
---|
272 | wait = no
|
---|
273 | user = root
|
---|
274 | server = /usr/sbin/in.ftpd
|
---|
275 | server_args = -l
|
---|
276 | instances = 4
|
---|
277 | log_on_success += DURATION USERID
|
---|
278 | log_on_failure += USERID
|
---|
279 | access_times = 2:00-8:59 12:00-23:59
|
---|
280 | nice = 10
|
---|
281 | }
|
---|
282 |
|
---|
283 | # End /etc/xinetd.d/ftp</literal>
|
---|
284 | EOF
|
---|
285 | cat > /etc/xinetd.d/tftp << "EOF" &&
|
---|
286 | <literal># Begin /etc/xinetd.d/tftp
|
---|
287 |
|
---|
288 | service tftp
|
---|
289 | {
|
---|
290 | disable = yes
|
---|
291 | socket_type = dgram
|
---|
292 | wait = yes
|
---|
293 | user = root
|
---|
294 | server = /usr/sbin/in.tftpd
|
---|
295 | server_args = -s /tftpboot
|
---|
296 | }
|
---|
297 |
|
---|
298 | # End /etc/xinetd.d/tftp</literal>
|
---|
299 | EOF
|
---|
300 | cat > /etc/xinetd.d/finger << "EOF" &&
|
---|
301 | <literal># Begin /etc/xinetd.d/finger
|
---|
302 |
|
---|
303 | service finger
|
---|
304 | {
|
---|
305 | disable = yes
|
---|
306 | socket_type = stream
|
---|
307 | wait = no
|
---|
308 | user = nobody
|
---|
309 | server = /usr/sbin/in.fingerd
|
---|
310 | }
|
---|
311 |
|
---|
312 | # End /etc/xinetd.d/finger</literal>
|
---|
313 | EOF
|
---|
314 | cat > /etc/xinetd.d/systat << "EOF" &&
|
---|
315 | <literal># Begin /etc/xinetd.d/systat
|
---|
316 |
|
---|
317 | service systat
|
---|
318 | {
|
---|
319 | disable = yes
|
---|
320 | socket_type = stream
|
---|
321 | wait = no
|
---|
322 | user = nobody
|
---|
323 | server = /usr/bin/ps
|
---|
324 | server_args = -auwwx
|
---|
325 | only_from = 128.138.209.0
|
---|
326 | log_on_success = HOST
|
---|
327 | }
|
---|
328 |
|
---|
329 | # End /etc/xinetd.d/systat</literal>
|
---|
330 | EOF
|
---|
331 | cat > /etc/xinetd.d/netstat << "EOF" &&
|
---|
332 | <literal># Begin /etc/xinetd.d/netstat
|
---|
333 |
|
---|
334 | service netstat
|
---|
335 | {
|
---|
336 | disable = yes
|
---|
337 | socket_type = stream
|
---|
338 | wait = no
|
---|
339 | user = nobody
|
---|
340 | server = /usr/ucb/netstat
|
---|
341 | server_args = -f inet
|
---|
342 | only_from = 128.138.209.0
|
---|
343 | log_on_success = HOST
|
---|
344 | }
|
---|
345 |
|
---|
346 | # End /etc/xinetd.d/netstat</literal>
|
---|
347 | EOF
|
---|
348 | cat > /etc/xinetd.d/echo << "EOF" &&
|
---|
349 | <literal># Begin /etc/xinetd.d/echo
|
---|
350 |
|
---|
351 | service echo
|
---|
352 | {
|
---|
353 | disable = yes
|
---|
354 | type = INTERNAL
|
---|
355 | id = echo-stream
|
---|
356 | socket_type = stream
|
---|
357 | protocol = tcp
|
---|
358 | user = root
|
---|
359 | wait = no
|
---|
360 | }
|
---|
361 |
|
---|
362 | service echo
|
---|
363 | {
|
---|
364 | disable = yes
|
---|
365 | type = INTERNAL
|
---|
366 | id = echo-dgram
|
---|
367 | socket_type = dgram
|
---|
368 | protocol = udp
|
---|
369 | user = root
|
---|
370 | wait = yes
|
---|
371 | }
|
---|
372 |
|
---|
373 | # End /etc/xinetd.d/echo</literal>
|
---|
374 | EOF
|
---|
375 | cat > /etc/xinetd.d/chargen << "EOF" &&
|
---|
376 | <literal># Begin /etc/xinetd.d/chargen
|
---|
377 |
|
---|
378 | service chargen
|
---|
379 | {
|
---|
380 | disable = yes
|
---|
381 | type = INTERNAL
|
---|
382 | id = chargen-stream
|
---|
383 | socket_type = stream
|
---|
384 | protocol = tcp
|
---|
385 | user = root
|
---|
386 | wait = no
|
---|
387 | }
|
---|
388 |
|
---|
389 | service chargen
|
---|
390 | {
|
---|
391 | disable = yes
|
---|
392 | type = INTERNAL
|
---|
393 | id = chargen-dgram
|
---|
394 | socket_type = dgram
|
---|
395 | protocol = udp
|
---|
396 | user = root
|
---|
397 | wait = yes
|
---|
398 | }
|
---|
399 |
|
---|
400 | # End /etc/xinetd.d/chargen</literal>
|
---|
401 | EOF
|
---|
402 | cat > /etc/xinetd.d/daytime << "EOF" &&
|
---|
403 | <literal># Begin /etc/xinetd.d/daytime
|
---|
404 |
|
---|
405 | service daytime
|
---|
406 | {
|
---|
407 | disable = yes
|
---|
408 | type = INTERNAL
|
---|
409 | id = daytime-stream
|
---|
410 | socket_type = stream
|
---|
411 | protocol = tcp
|
---|
412 | user = root
|
---|
413 | wait = no
|
---|
414 | }
|
---|
415 |
|
---|
416 | service daytime
|
---|
417 | {
|
---|
418 | disable = yes
|
---|
419 | type = INTERNAL
|
---|
420 | id = daytime-dgram
|
---|
421 | socket_type = dgram
|
---|
422 | protocol = udp
|
---|
423 | user = root
|
---|
424 | wait = yes
|
---|
425 | }
|
---|
426 |
|
---|
427 | # End /etc/xinetd.d/daytime</literal>
|
---|
428 | EOF
|
---|
429 | cat > /etc/xinetd.d/time << "EOF" &&
|
---|
430 | <literal># Begin /etc/xinetd.d/time
|
---|
431 |
|
---|
432 | service time
|
---|
433 | {
|
---|
434 | disable = yes
|
---|
435 | type = INTERNAL
|
---|
436 | id = time-stream
|
---|
437 | socket_type = stream
|
---|
438 | protocol = tcp
|
---|
439 | user = root
|
---|
440 | wait = no
|
---|
441 | }
|
---|
442 |
|
---|
443 |
|
---|
444 | service time
|
---|
445 | {
|
---|
446 | disable = yes
|
---|
447 | type = INTERNAL
|
---|
448 | id = time-dgram
|
---|
449 | socket_type = dgram
|
---|
450 | protocol = udp
|
---|
451 | user = root
|
---|
452 | wait = yes
|
---|
453 | }
|
---|
454 |
|
---|
455 | # End /etc/xinetd.d/time</literal>
|
---|
456 | EOF
|
---|
457 | cat > /etc/xinetd.d/rstatd << "EOF" &&
|
---|
458 | <literal># Begin /etc/xinetd.d/rstatd
|
---|
459 |
|
---|
460 | service rstatd
|
---|
461 | {
|
---|
462 | disable = yes
|
---|
463 | type = RPC
|
---|
464 | flags = INTERCEPT
|
---|
465 | rpc_version = 2-4
|
---|
466 | socket_type = dgram
|
---|
467 | protocol = udp
|
---|
468 | server = /usr/sbin/rpc.rstatd
|
---|
469 | wait = yes
|
---|
470 | user = root
|
---|
471 | }
|
---|
472 |
|
---|
473 | # End /etc/xinetd.d/rstatd</literal>
|
---|
474 | EOF
|
---|
475 | cat > /etc/xinetd.d/rquotad << "EOF" &&
|
---|
476 | <literal># Begin /etc/xinetd.d/rquotad
|
---|
477 |
|
---|
478 | service rquotad
|
---|
479 | {
|
---|
480 | disable = yes
|
---|
481 | type = RPC
|
---|
482 | rpc_version = 1
|
---|
483 | socket_type = dgram
|
---|
484 | protocol = udp
|
---|
485 | wait = yes
|
---|
486 | user = root
|
---|
487 | server = /usr/sbin/rpc.rstatd
|
---|
488 | }
|
---|
489 |
|
---|
490 | # End /etc/xinetd.d/rquotad</literal>
|
---|
491 | EOF
|
---|
492 | cat > /etc/xinetd.d/rusersd << "EOF" &&
|
---|
493 | <literal># Begin /etc/xinetd.d/rusersd
|
---|
494 |
|
---|
495 | service rusersd
|
---|
496 | {
|
---|
497 | disable = yes
|
---|
498 | type = RPC
|
---|
499 | rpc_version = 1-2
|
---|
500 | socket_type = dgram
|
---|
501 | protocol = udp
|
---|
502 | wait = yes
|
---|
503 | user = root
|
---|
504 | server = /usr/sbin/rpc.rusersd
|
---|
505 | }
|
---|
506 |
|
---|
507 | # End /etc/xinetd.d/rusersd</literal>
|
---|
508 | EOF
|
---|
509 | cat > /etc/xinetd.d/sprayd << "EOF" &&
|
---|
510 | <literal># Begin /etc/xinetd.d/sprayd
|
---|
511 |
|
---|
512 | service sprayd
|
---|
513 | {
|
---|
514 | disable = yes
|
---|
515 | type = RPC
|
---|
516 | rpc_version = 1
|
---|
517 | socket_type = dgram
|
---|
518 | protocol = udp
|
---|
519 | wait = yes
|
---|
520 | user = root
|
---|
521 | server = /usr/sbin/rpc.sprayd
|
---|
522 | }
|
---|
523 |
|
---|
524 | # End /etc/xinetd.d/sprayd</literal>
|
---|
525 | EOF
|
---|
526 | cat > /etc/xinetd.d/walld << "EOF" &&
|
---|
527 | <literal># Begin /etc/xinetd.d/walld
|
---|
528 |
|
---|
529 | service walld
|
---|
530 | {
|
---|
531 | disable = yes
|
---|
532 | type = RPC
|
---|
533 | rpc_version = 1
|
---|
534 | socket_type = dgram
|
---|
535 | protocol = udp
|
---|
536 | wait = yes
|
---|
537 | user = nobody
|
---|
538 | group = tty
|
---|
539 | server = /usr/sbin/rpc.rwalld
|
---|
540 | }
|
---|
541 |
|
---|
542 | # End /etc/xinetd.d/walld</literal>
|
---|
543 | EOF
|
---|
544 | cat > /etc/xinetd.d/irc << "EOF"
|
---|
545 | <literal># Begin /etc/xinetd.d/irc
|
---|
546 |
|
---|
547 | service irc
|
---|
548 | {
|
---|
549 | disable = yes
|
---|
550 | socket_type = stream
|
---|
551 | wait = no
|
---|
552 | user = root
|
---|
553 | flags = SENSOR
|
---|
554 | type = INTERNAL
|
---|
555 | bind = 192.168.1.30
|
---|
556 | deny_time = 60
|
---|
557 | }
|
---|
558 |
|
---|
559 | # End /etc/xinetd.d/irc</literal>
|
---|
560 | EOF</userinput></screen>
|
---|
561 |
|
---|
562 | <indexterm zone="xinetd xinetd-config">
|
---|
563 | <primary sortas="e-etc-xinetd.d-login">/etc/xinetd.d/login</primary>
|
---|
564 | </indexterm>
|
---|
565 |
|
---|
566 | <indexterm zone="xinetd xinetd-config">
|
---|
567 | <primary sortas="e-etc-xinetd.d-shell">/etc/xinetd.d/shell</primary>
|
---|
568 | </indexterm>
|
---|
569 |
|
---|
570 | <indexterm zone="xinetd xinetd-config">
|
---|
571 | <primary sortas="e-etc-xinetd.d-exec">/etc/xinetd.d/exec</primary>
|
---|
572 | </indexterm>
|
---|
573 |
|
---|
574 | <indexterm zone="xinetd xinetd-config">
|
---|
575 | <primary sortas="e-etc-xinetd.d-comsat">/etc/xinetd.d/comsat</primary>
|
---|
576 | </indexterm>
|
---|
577 |
|
---|
578 | <indexterm zone="xinetd xinetd-config">
|
---|
579 | <primary sortas="e-etc-xinetd.d-talk">/etc/xinetd.d/talk</primary>
|
---|
580 | </indexterm>
|
---|
581 |
|
---|
582 | <indexterm zone="xinetd xinetd-config">
|
---|
583 | <primary sortas="e-etc-xinetd.d-ntalk">/etc/xinetd.d/ntalk</primary>
|
---|
584 | </indexterm>
|
---|
585 |
|
---|
586 | <indexterm zone="xinetd xinetd-config">
|
---|
587 | <primary sortas="e-etc-xinetd.d-telnet">/etc/xinetd.d/telnet</primary>
|
---|
588 | </indexterm>
|
---|
589 |
|
---|
590 | <indexterm zone="xinetd xinetd-config">
|
---|
591 | <primary sortas="e-etc-xinetd.d-ftp">/etc/xinetd.d/ftp</primary>
|
---|
592 | </indexterm>
|
---|
593 |
|
---|
594 | <indexterm zone="xinetd xinetd-config">
|
---|
595 | <primary sortas="e-etc-xinetd.d-tftp">/etc/xinetd.d/tftp</primary>
|
---|
596 | </indexterm>
|
---|
597 |
|
---|
598 | <indexterm zone="xinetd xinetd-config">
|
---|
599 | <primary sortas="e-etc-xinetd.d-systat">/etc/xinetd.d/systat</primary>
|
---|
600 | </indexterm>
|
---|
601 |
|
---|
602 | <indexterm zone="xinetd xinetd-config">
|
---|
603 | <primary sortas="e-etc-xinetd.d-finger">/etc/xinetd.d/finger</primary>
|
---|
604 | </indexterm>
|
---|
605 |
|
---|
606 | <indexterm zone="xinetd xinetd-config">
|
---|
607 | <primary sortas="e-etc-xinetd.d-netstat">/etc/xinetd.d/netstat</primary>
|
---|
608 | </indexterm>
|
---|
609 |
|
---|
610 | <indexterm zone="xinetd xinetd-config">
|
---|
611 | <primary sortas="e-etc-xinetd.d-echo">/etc/xinetd.d/echo</primary>
|
---|
612 | </indexterm>
|
---|
613 |
|
---|
614 | <indexterm zone="xinetd xinetd-config">
|
---|
615 | <primary sortas="e-etc-xinetd.d-chargen">/etc/xinetd.d/chargen</primary>
|
---|
616 | </indexterm>
|
---|
617 |
|
---|
618 | <indexterm zone="xinetd xinetd-config">
|
---|
619 | <primary sortas="e-etc-xinetd.d-daytime">/etc/xinetd.d/daytime</primary>
|
---|
620 | </indexterm>
|
---|
621 |
|
---|
622 | <indexterm zone="xinetd xinetd-config">
|
---|
623 | <primary sortas="e-etc-xinetd.d-time">/etc/xinetd.d/time</primary>
|
---|
624 | </indexterm>
|
---|
625 |
|
---|
626 | <indexterm zone="xinetd xinetd-config">
|
---|
627 | <primary sortas="e-etc-xinetd.d-rstatd">/etc/xinetd.d/rstatd</primary>
|
---|
628 | </indexterm>
|
---|
629 |
|
---|
630 | <indexterm zone="xinetd xinetd-config">
|
---|
631 | <primary sortas="e-etc-xinetd.d-rquotad">/etc/xinetd.d/rquotad</primary>
|
---|
632 | </indexterm>
|
---|
633 |
|
---|
634 | <indexterm zone="xinetd xinetd-config">
|
---|
635 | <primary sortas="e-etc-xinetd.d-ruserd">/etc/xinetd.d/ruserd</primary>
|
---|
636 | </indexterm>
|
---|
637 |
|
---|
638 | <indexterm zone="xinetd xinetd-config">
|
---|
639 | <primary sortas="e-etc-xinetd.d-sprayd">/etc/xinetd.d/sprayd</primary>
|
---|
640 | </indexterm>
|
---|
641 |
|
---|
642 | <indexterm zone="xinetd xinetd-config">
|
---|
643 | <primary sortas="e-etc-xinetd.d-walld">/etc/xinetd.d/walld</primary>
|
---|
644 | </indexterm>
|
---|
645 |
|
---|
646 | <indexterm zone="xinetd xinetd-config">
|
---|
647 | <primary sortas="e-etc-xinetd.d-irc">/etc/xinetd.d/irc</primary>
|
---|
648 | </indexterm>
|
---|
649 |
|
---|
650 | <para>The format of the <filename>/etc/xinetd.conf</filename> is
|
---|
651 | documented in the <filename>xinetd.conf.5</filename> man page. Further
|
---|
652 | information can be found at <ulink url="http://www.xinetd.org"/>.</para>
|
---|
653 |
|
---|
654 | </sect3>
|
---|
655 |
|
---|
656 | <sect3 id="xinetd-init">
|
---|
657 | <title>Boot Script</title>
|
---|
658 |
|
---|
659 | <para>As the <systemitem class="username">root</systemitem> user, install
|
---|
660 | the <filename>/etc/rc.d/init.d/xinetd</filename> init script included in
|
---|
661 | the <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
662 |
|
---|
663 | <indexterm zone="xinetd xinetd-init">
|
---|
664 | <primary sortas="f-xinetd">xinetd</primary>
|
---|
665 | </indexterm>
|
---|
666 |
|
---|
667 | <screen role="root"><userinput>make install-xinetd</userinput></screen>
|
---|
668 |
|
---|
669 | <para>As the <systemitem class="username">root</systemitem> user,
|
---|
670 | use the new boot script to start <command>xinetd</command>:</para>
|
---|
671 |
|
---|
672 | <screen role="root"><userinput>/etc/rc.d/init.d/xinetd start</userinput></screen>
|
---|
673 |
|
---|
674 | <para>Checking the <filename>/var/log/daemon.log</filename> file
|
---|
675 | should prove quite entertaining. This file may contain entries
|
---|
676 | similar to the following:</para>
|
---|
677 |
|
---|
678 | <screen><literal>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not
|
---|
679 | executable [line=29]
|
---|
680 | Aug 22 21:40:21 dps10 xinetd[2696]: Error parsing attribute server -
|
---|
681 | DISABLING SERVICE [line=29]
|
---|
682 | Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rshd is not
|
---|
683 | executable [line=42]</literal></screen>
|
---|
684 |
|
---|
685 | <para>These errors are because most of the servers
|
---|
686 | <command>xinetd</command> is trying to control are not
|
---|
687 | installed yet.</para>
|
---|
688 |
|
---|
689 | </sect3>
|
---|
690 |
|
---|
691 | </sect2>
|
---|
692 |
|
---|
693 | <sect2 role="content">
|
---|
694 | <title>Contents</title>
|
---|
695 |
|
---|
696 | <segmentedlist>
|
---|
697 | <segtitle>Installed Programs</segtitle>
|
---|
698 | <segtitle>Installed Libraries</segtitle>
|
---|
699 | <segtitle>Installed Directories</segtitle>
|
---|
700 |
|
---|
701 | <seglistitem>
|
---|
702 | <seg>itox, xconv.pl, and xinetd</seg>
|
---|
703 | <seg>None</seg>
|
---|
704 | <seg>/etc/xinetd.d/</seg>
|
---|
705 | </seglistitem>
|
---|
706 | </segmentedlist>
|
---|
707 |
|
---|
708 | <variablelist>
|
---|
709 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
710 | <?dbfo list-presentation="list"?>
|
---|
711 | <?dbhtml list-presentation="table"?>
|
---|
712 |
|
---|
713 | <varlistentry id="itox">
|
---|
714 | <term><command>itox</command></term>
|
---|
715 | <listitem>
|
---|
716 | <para>is a utility used for converting
|
---|
717 | <filename>inetd.conf</filename> files to
|
---|
718 | <filename>xinetd.conf</filename> format.</para>
|
---|
719 | <indexterm zone="xinetd itox">
|
---|
720 | <primary sortas="b-itox">itox</primary>
|
---|
721 | </indexterm>
|
---|
722 | </listitem>
|
---|
723 | </varlistentry>
|
---|
724 |
|
---|
725 | <varlistentry id="xconv.pl">
|
---|
726 | <term><command>xconv.pl</command></term>
|
---|
727 | <listitem>
|
---|
728 | <para>is a <application>Perl</application> script used for
|
---|
729 | converting <filename>inetd.conf</filename> files to
|
---|
730 | <filename>xinetd.conf</filename> format, similar to
|
---|
731 | <command>itox</command>.</para>
|
---|
732 | <indexterm zone="xinetd xconv.pl">
|
---|
733 | <primary sortas="b-xconv.pl">xconv.pl</primary>
|
---|
734 | </indexterm>
|
---|
735 | </listitem>
|
---|
736 | </varlistentry>
|
---|
737 |
|
---|
738 | <varlistentry id="xinetd-prog">
|
---|
739 | <term><command>xinetd</command></term>
|
---|
740 | <listitem>
|
---|
741 | <para>is the Internet services daemon.</para>
|
---|
742 | <indexterm zone="xinetd xinetd-prog">
|
---|
743 | <primary sortas="b-xinetd">xinetd</primary>
|
---|
744 | </indexterm>
|
---|
745 | </listitem>
|
---|
746 | </varlistentry>
|
---|
747 |
|
---|
748 | </variablelist>
|
---|
749 |
|
---|
750 | </sect2>
|
---|
751 |
|
---|
752 | </sect1>
|
---|