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