diff options
| author | Eric Andersen <andersen@codepoet.org> | 2004-04-07 10:34:16 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2004-04-07 10:34:16 +0000 |
| commit | cd2af2475c93d193b665613d8279a65e8eafccbd (patch) | |
| tree | 667e0c88790e2885bd228f6837e65401eceda811 /examples | |
| parent | 075dd81c4460c027cf22800808993df3c07281f5 (diff) | |
| download | busybox-w32-cd2af2475c93d193b665613d8279a65e8eafccbd.tar.gz busybox-w32-cd2af2475c93d193b665613d8279a65e8eafccbd.tar.bz2 busybox-w32-cd2af2475c93d193b665613d8279a65e8eafccbd.zip | |
Add an example inetd.conf file
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/inetd.conf | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/examples/inetd.conf b/examples/inetd.conf new file mode 100644 index 000000000..ca7e3d8e1 --- /dev/null +++ b/examples/inetd.conf | |||
| @@ -0,0 +1,73 @@ | |||
| 1 | # /etc/inetd.conf: see inetd(8) for further informations. | ||
| 2 | # | ||
| 3 | # Internet server configuration database | ||
| 4 | # | ||
| 5 | # | ||
| 6 | # If you want to disable an entry so it isn't touched during | ||
| 7 | # package updates just comment it out with a single '#' character. | ||
| 8 | # | ||
| 9 | # If you make changes to this file, either reboot your machine or | ||
| 10 | # send the inetd process a HUP signal: | ||
| 11 | # Do a "ps x" as root and look up the pid of inetd. Then do a | ||
| 12 | # kill -HUP <pid of inetd> | ||
| 13 | # inetd will re-read this file whenever it gets that signal. | ||
| 14 | # <service_name> <sock_type> <proto> <flags> <user> <server_path> <args> | ||
| 15 | # | ||
| 16 | #:INTERNAL: Internal services | ||
| 17 | # It is generally considered safer to keep these off. | ||
| 18 | echo stream tcp nowait root internal | ||
| 19 | echo dgram udp wait root internal | ||
| 20 | #discard stream tcp nowait root internal | ||
| 21 | #discard dgram udp wait root internal | ||
| 22 | daytime stream tcp nowait root internal | ||
| 23 | daytime dgram udp wait root internal | ||
| 24 | #chargen stream tcp nowait root internal | ||
| 25 | #chargen dgram udp wait root internal | ||
| 26 | time stream tcp nowait root internal | ||
| 27 | time dgram udp wait root internal | ||
| 28 | |||
| 29 | # These are standard services. | ||
| 30 | # | ||
| 31 | #ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd | ||
| 32 | #telnet stream tcp nowait root /sbin/telnetd /sbin/telnetd | ||
| 33 | #nntp stream tcp nowait root tcpd in.nntpd | ||
| 34 | #smtp stream tcp nowait root tcpd sendmail -v | ||
| 35 | # | ||
| 36 | # Shell, login, exec and talk are BSD protocols. | ||
| 37 | # | ||
| 38 | # If you run an ntalk daemon (such as netkit-ntalk) on the old talk | ||
| 39 | # port, that is, "talk" as opposed to "ntalk", it won't work and may | ||
| 40 | # cause certain broken talk clients to malfunction. | ||
| 41 | # | ||
| 42 | # The talkd from netkit-ntalk 0.12 and higher, however, can speak the | ||
| 43 | # old talk protocol and can be used safely. | ||
| 44 | # | ||
| 45 | #shell stream tcp nowait root /usr/sbin/tcpd in.rshd -L | ||
| 46 | #login stream tcp nowait root /usr/sbin/tcpd in.rlogind -L | ||
| 47 | #exec stream tcp nowait root /usr/sbin/tcpd in.rexecd | ||
| 48 | #talk dgram udp wait root /usr/sbin/tcpd in.talkd | ||
| 49 | #ntalk dgram udp wait root /usr/sbin/tcpd in.talkd | ||
| 50 | # | ||
| 51 | # Pop et al | ||
| 52 | # Leave these off unless you're using them. | ||
| 53 | #pop2 stream tcp nowait root /usr/sbin/tcpd in.pop2d | ||
| 54 | #pop3 stream tcp nowait root /usr/sbin/tcpd in.pop3d | ||
| 55 | # | ||
| 56 | # The Internet UUCP service. | ||
| 57 | # uucp stream tcp nowait uucp /usr/sbin/tcpd /usr/lib/uucp/uucico -l | ||
| 58 | # | ||
| 59 | # Tftp service is provided primarily for booting. Most sites | ||
| 60 | # run this only on machines acting as "boot servers." If you don't | ||
| 61 | # need it, don't use it. | ||
| 62 | # | ||
| 63 | #tftp dgram udp wait nobody /usr/sbin/tcpd in.tftpd | ||
| 64 | #bootps dgram udp wait root /usr/sbin/in.bootpd in.bootpd | ||
| 65 | # | ||
| 66 | # Finger, systat and netstat give out user information which may be | ||
| 67 | # valuable to potential "system crackers." Many sites choose to disable | ||
| 68 | # some or all of these services to improve security. | ||
| 69 | # | ||
| 70 | #finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd -w | ||
| 71 | #systat stream tcp nowait nobody /usr/sbin/tcpd /bin/ps -auwwx | ||
| 72 | #netstat stream tcp nowait root /bin/netstat /bin/netstat -a | ||
| 73 | #ident stream tcp nowait root /usr/sbin/in.identd in.identd | ||
