Index: inetd.conf.new
===================================================================
--- inetd.conf.new (nonexistent)
+++ inetd.conf.new (revision 5)
@@ -0,0 +1,106 @@
+# See "man 8 inetd" for more information.
+#
+# If you make changes to this file, either reboot your machine or send the
+# inetd a HUP signal:
+# Do a "ps x" as root and look up the pid of inetd. Then do a
+# "kill -HUP <pid of inetd>".
+# The inetd will re-read this file whenever it gets that signal.
+#
+# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
+#
+# The first 4 services are really only used for debugging purposes, so
+# we comment them out since they can otherwise be used for some nasty
+# denial-of-service attacks. If you need them, uncomment them.
+# echo stream tcp nowait root internal
+# echo dgram udp wait root internal
+# discard stream tcp nowait root internal
+# discard dgram udp wait root internal
+# daytime stream tcp nowait root internal
+# daytime dgram udp wait root internal
+# chargen stream tcp nowait root internal
+# chargen dgram udp wait root internal
+# time stream tcp nowait root internal
+# time dgram udp wait root internal
+#
+# These are standard services:
+#
+# Very Secure File Transfer Protocol (FTP) server.
+# ftp stream tcp nowait root /usr/sbin/tcpd vsftpd
+#
+# Professional File Transfer Protocol (FTP) server.
+# ftp stream tcp nowait root /usr/sbin/tcpd proftpd
+#
+# Telnet server:
+# telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
+#
+# The comsat daemon notifies the user of new mail when biff is set to y:
+# comsat dgram udp wait root /usr/sbin/tcpd in.comsat
+#
+# Shell, login, exec and talk are BSD protocols
+#
+# shell stream tcp nowait root /usr/sbin/tcpd in.rshd -L
+# login stream tcp nowait root /usr/sbin/tcpd in.rlogind
+# exec stream tcp nowait root /usr/sbin/tcpd in.rexecd
+# talk dgram udp wait root /usr/sbin/tcpd in.talkd
+# ntalk dgram udp wait root /usr/sbin/tcpd in.talkd
+#
+# To use the talk daemons from KDE, comment the talk and ntalk lines above
+# and uncomment the ones below:
+# talk dgram udp wait root /usr/sbin/tcpd /usr/bin/kotalkd
+# ntalk dgram udp wait root /usr/sbin/tcpd /usr/bin/ktalkd
+#
+# Kerberos authenticated services
+#
+# klogin stream tcp nowait root /usr/sbin/tcpd rlogind -k
+# eklogin stream tcp nowait root /usr/sbin/tcpd rlogind -k -x
+# kshell stream tcp nowait root /usr/sbin/tcpd rshd -k
+#
+# Services run ONLY on the Kerberos server
+#
+# krbupdate stream tcp nowait root /usr/sbin/tcpd registerd
+# kpasswd stream tcp nowait root /usr/sbin/tcpd kpasswdd
+#
+# POP and IMAP mail servers
+#
+# Post Office Protocol version 3 (POP3) server:
+# pop3 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/popa3d
+# Internet Message Access Protocol (IMAP) server:
+# imap2 stream tcp nowait root /usr/sbin/tcpd imapd
+#
+# The Internet Unix to Unix copy (UUCP) service:
+# uucp stream tcp nowait uucp /usr/sbin/tcpd /usr/lib/uucp/uucico -l
+#
+# Tftp service is provided primarily for booting. Most sites
+# run this only on machines acting as "boot servers."
+# tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot -r blksize
+#
+# Internet Bootstrap Protocol (BOOTP) server:
+# bootps dgram udp wait root /usr/sbin/bootpd bootpd
+#
+# Finger, systat and netstat give out user information which may be
+# valuable to potential "system crackers." Many sites choose to disable
+# some or all of these services to improve security.
+# Try "telnet localhost systat" and "telnet localhost netstat" to see that
+# information yourself!
+# finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd -u
+# systat stream tcp nowait nobody /usr/sbin/tcpd /bin/ps -auwwx
+# netstat stream tcp nowait root /usr/sbin/tcpd /bin/netstat -a
+#
+# Ident service is used for net authentication
+# auth stream tcp wait root /usr/sbin/in.identd in.identd
+#
+# These are to start Samba, an smb server that can export filesystems to
+# Pathworks, Lanmanager for DOS, Windows for Workgroups, Windows95, Lanmanager
+# for Windows, Lanmanager for OS/2, Windows NT, etc.
+# If you're running smbd and nmbd as daemons in /etc/rc.d/rc.samba, then you
+# shouldn't uncomment these lines.
+# netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd
+# netbios-ns dgram udp wait root /usr/sbin/nmbd nmbd
+#
+# Sun-RPC based services.
+# <service name/version><sock_type><rpc/prot><flags><user><server><args>
+# rstatd/1-3 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rstatd
+# rusersd/2-3 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rusersd
+# walld/1 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rwalld
+#
+# End of inetd.conf.
Index: rc.d/rc.inetd.new
===================================================================
--- rc.d/rc.inetd.new (nonexistent)
+++ rc.d/rc.inetd.new (revision 5)
@@ -0,0 +1,36 @@
+#!/bin/sh
+# Start/stop/restart inetd, the BSD Internet super-daemon.
+
+# Start inetd:
+inetd_start() {
+ if [ -x /usr/sbin/inetd ]; then
+ echo "Starting Internet super-server daemon: /usr/sbin/inetd"
+ /usr/sbin/inetd
+ fi
+}
+
+# Stop inetd:
+inetd_stop() {
+ killall inetd
+}
+
+# Restart inetd:
+inetd_restart() {
+ inetd_stop
+ sleep 1
+ inetd_start
+}
+
+case "$1" in
+'start')
+ inetd_start
+ ;;
+'stop')
+ inetd_stop
+ ;;
+'restart')
+ inetd_restart
+ ;;
+*)
+ echo "usage $0 start|stop|restart"
+esac
Property changes on: rc.d/rc.inetd.new
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: rc.d
===================================================================
--- rc.d (nonexistent)
+++ rc.d (revision 5)
Property changes on: rc.d
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: .
===================================================================
--- . (nonexistent)
+++ . (revision 5)
Property changes on: .
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~