[root@gps xinetd.d] $ cat /etc/xinetd.conf # # This is the master xinetd configuration file. Settings in the # default section will be inherited by all service configurations # unless explicitly overridden in the service configuration. See # xinetd.conf in the man pages for a more detailed explanation of # these attributes. defaults { # The next two items are intended to be a quick access place to # temporarily enable or disable services. # enabled = vsftp tftp # disabled = # Define general logging characteristics. log_type = SYSLOG daemon info log_on_failure = HOST log_on_success = PID HOST DURATION EXIT # Define access restriction defaults # # no_access = only_from = 192.168.1.123 192.168.1.88 192.168.1.124 # max_load = 0 cps = 50 10 instances = 50 per_source = 10 # Address and networking defaults # # bind = # mdns = yes v6only = no # setup environmental attributes # # passenv = groups = yes umask = 002 # Generally, banners are not used. This sets up their global defaults # # banner = # banner_fail = # banner_success = } includedir /etc/xinetd.d [root@gps xinetd.d] $ cat /etc/xinetd.d/tftp service tftp { socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /tftpboot -c disable = no per_source = 11 cps = 100 2 flags = IPv4 only_from = 192.168.1.123 192.168.1.88 192.168.1.124 } [root@gps xinetd.d] $ ps aux|grep xinetd root 3184 0.0 0.2 1684 508 pts/2 R+ 19:57 0:00 grep --colour=auto xinetd root 27698 0.0 0.3 2252 884 ? Ss 19:56 0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive -reuse [root@gps xinetd.d] $ ps aux|grep ftp root 4415 0.0 0.2 1684 508 pts/2 R+ 19:57 0:00 grep --colour=auto ftp [root@gps xinetd.d] $ netstat -uplt Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:ssh *:* LISTEN 4437/sshd udp 0 0 *:tftp *:* 27698/xinetd [root@gps xinetd.d] $