diff options
author | peter <peter@FreeBSD.org> | 2001-03-30 10:25:40 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-03-30 10:25:40 +0000 |
commit | 4a1d0730d3b7a4245380cf1d03810a87f29a2f24 (patch) | |
tree | b8e12ecad25e72609e737546f4353b21b55aa1c2 /etc | |
parent | b83dc0f648146b1dd6dc7e7095d95cfa67421222 (diff) | |
download | FreeBSD-src-4a1d0730d3b7a4245380cf1d03810a87f29a2f24.zip FreeBSD-src-4a1d0730d3b7a4245380cf1d03810a87f29a2f24.tar.gz |
Integrate the IPv6 entries with the rest of them to avoid things getting
out of sync. A similar change was made by itojun on the OpenBSD tree
a few weeks ago. This should stop people disabling one server and
forgetting the other one (eg: ftp and/or telnet)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inetd.conf | 50 |
1 files changed, 18 insertions, 32 deletions
diff --git a/etc/inetd.conf b/etc/inetd.conf index b5e4d16..a4d3953 100644 --- a/etc/inetd.conf +++ b/etc/inetd.conf @@ -2,13 +2,18 @@ # # Internet server configuration database # -# @(#)inetd.conf 5.4 (Berkeley) 6/30/90 +# define *both* IPv4 and IPv6 entries for dual-stack support. # ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l +ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l telnet stream tcp nowait root /usr/libexec/telnetd telnetd +telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd #shell stream tcp nowait root /usr/libexec/rshd rshd +#shell stream tcp6 nowait root /usr/libexec/rshd rshd #login stream tcp nowait root /usr/libexec/rlogind rlogind +#login stream tcp6 nowait root /usr/libexec/rlogind rlogind #finger stream tcp nowait/3/10 nobody /usr/libexec/fingerd fingerd -s +#finger stream tcp6 nowait/3/10 nobody /usr/libexec/fingerd fingerd -s #exec stream tcp nowait root /usr/libexec/rexecd rexecd #uucpd stream tcp nowait root /usr/libexec/uucpd uucpd #nntp stream tcp nowait usenet /usr/libexec/nntpd nntpd @@ -24,15 +29,25 @@ ntalk dgram udp wait tty:tty /usr/libexec/ntalkd ntalkd # need. # #daytime stream tcp nowait root internal +#daytime stream tcp6 nowait root internal #daytime dgram udp wait root internal +#daytime dgram udp6 wait root internal #time stream tcp nowait root internal +#time stream tcp6 nowait root internal #time dgram udp wait root internal +#time dgram udp6 wait root internal #echo stream tcp nowait root internal +#echo dgram udp6 wait root internal #echo dgram udp wait root internal +#echo stream tcp6 nowait root internal #discard stream tcp nowait root internal +#discard stream tcp6 nowait root internal #discard dgram udp wait root internal +#discard dgram udp6 wait root internal #chargen stream tcp nowait root internal +#chargen stream tcp6 nowait root internal #chargen dgram udp wait root internal +#chargen dgram udp6 wait root internal # # Kerberos authenticated services # @@ -68,12 +83,14 @@ ntalk dgram udp wait tty:tty /usr/libexec/ntalkd ntalkd # Return error for all "ident" requests # #auth stream tcp nowait root internal +#auth stream tcp6 nowait root internal # # Provide internally a real "ident" service which provides ~/.fakeid support, # provides ~/.noident support, reports UNKNOWN as the operating system type # and times out after 30 seconds. # #auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30 +#auth stream tcp6 nowait root internal auth -r -f -n -o UNKNOWN -t 30 # # Example entry for an external ident server # @@ -91,34 +108,3 @@ ntalk dgram udp wait tty:tty /usr/libexec/ntalkd ntalkd # #netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd #netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd - - -# -# IPv6 services -# -ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l -telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd -#shell stream tcp6 nowait root /usr/libexec/rshd rshd -#login stream tcp6 nowait root /usr/libexec/rlogind rlogind -#finger stream tcp6 nowait/3/10 nobody /usr/libexec/fingerd fingerd -s -# -# IPv6 "Small servers" -# -#daytime stream tcp6 nowait root internal -#daytime dgram udp6 wait root internal -#time stream tcp6 nowait root internal -#time dgram udp6 wait root internal -#echo stream tcp6 nowait root internal -#echo dgram udp6 wait root internal -#discard stream tcp6 nowait root internal -#discard dgram udp6 wait root internal -#chargen stream tcp6 nowait root internal -#chargen dgram udp6 wait root internal -# -# Return error for all IPv6 "ident" requests -# -#auth stream tcp6 nowait root internal -# -# Example entry for a real IPv6 ident service similar to the one above for IPv4. -# -#auth stream tcp6 nowait root internal auth -r -f -n -o UNKNOWN -t 30 |