Disable everything except ftpd and telnetd by default.
This commit is contained in:
parent
341c38ac01
commit
fbbc23fa6a
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: inetd.conf,v 1.28 1999/10/06 21:55:54 ad Exp $
|
||||
# $NetBSD: inetd.conf,v 1.29 1999/11/05 11:16:20 mycroft Exp $
|
||||
#
|
||||
# Internet server configuration database
|
||||
#
|
||||
|
@ -6,16 +6,16 @@
|
|||
#
|
||||
ftp stream tcp nowait root /usr/libexec/ftpd ftpd -ll
|
||||
telnet stream tcp nowait root /usr/libexec/telnetd telnetd
|
||||
shell stream tcp nowait root /usr/libexec/rshd rshd -L
|
||||
login stream tcp nowait root /usr/libexec/rlogind rlogind
|
||||
#shell stream tcp nowait root /usr/libexec/rshd rshd -L
|
||||
#login stream tcp nowait root /usr/libexec/rlogind rlogind
|
||||
#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
|
||||
finger stream tcp nowait nobody /usr/libexec/fingerd fingerd
|
||||
#finger stream tcp nowait nobody /usr/libexec/fingerd fingerd
|
||||
#ident stream tcp nowait nobody:kmem /usr/libexec/identd identd -l -o -e -N
|
||||
#tftp dgram udp wait root /usr/libexec/tftpd tftpd -s /tftpboot
|
||||
comsat dgram udp wait root /usr/libexec/comsat comsat
|
||||
ntalk dgram udp wait nobody:tty /usr/libexec/ntalkd ntalkd
|
||||
#comsat dgram udp wait root /usr/libexec/comsat comsat
|
||||
#ntalk dgram udp wait nobody:tty /usr/libexec/ntalkd ntalkd
|
||||
#bootps dgram udp wait root /usr/sbin/bootpd bootpd
|
||||
#
|
||||
# Games
|
||||
|
@ -28,8 +28,8 @@ ntalk dgram udp wait nobody:tty /usr/libexec/ntalkd ntalkd
|
|||
#echo stream tcp nowait nobody internal
|
||||
#discard stream tcp nowait nobody internal
|
||||
#chargen stream tcp nowait nobody internal
|
||||
daytime stream tcp nowait nobody internal
|
||||
time stream tcp nowait nobody internal
|
||||
#daytime stream tcp nowait nobody internal
|
||||
#time stream tcp nowait nobody internal
|
||||
#echo dgram udp wait nobody internal
|
||||
#discard dgram udp wait nobody internal
|
||||
#chargen dgram udp wait nobody internal
|
||||
|
@ -51,9 +51,9 @@ time stream tcp nowait nobody internal
|
|||
# RPC based services
|
||||
#
|
||||
#mountd/1 dgram rpc/udp wait root /usr/sbin/mountd mountd
|
||||
rstatd/1-3 dgram rpc/udp wait nobody:kmem /usr/libexec/rpc.rstatd rpc.rstatd
|
||||
rusersd/2-3 dgram rpc/udp wait nobody /usr/libexec/rpc.rusersd rpc.rusersd
|
||||
walld/1 dgram rpc/udp wait nobody:tty /usr/libexec/rpc.rwalld rpc.rwalld
|
||||
#rstatd/1-3 dgram rpc/udp wait nobody:kmem /usr/libexec/rpc.rstatd rpc.rstatd
|
||||
#rusersd/2-3 dgram rpc/udp wait nobody /usr/libexec/rpc.rusersd rpc.rusersd
|
||||
#walld/1 dgram rpc/udp wait nobody:tty /usr/libexec/rpc.rwalld rpc.rwalld
|
||||
#sprayd/1 dgram rpc/udp wait nobody /usr/libexec/rpc.sprayd rpc.sprayd
|
||||
#rquotad/1 dgram rpc/udp wait root /usr/libexec/rpc.rquotad rpc.rquotad
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue