From cd6a01341fc72a64bb9a1b5717df800d4b732297 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Fri, 2 Aug 2002 23:27:33 +0000 Subject: [PATCH] no rpc by default --- src/etc/inetd.conf | 6 +++--- src/etc/rc.conf | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/etc/inetd.conf b/src/etc/inetd.conf index b189f348..7f85b18f 100644 --- a/src/etc/inetd.conf +++ b/src/etc/inetd.conf @@ -1,4 +1,4 @@ -# $OpenBSD: inetd.conf,v 1.49 2002/07/15 23:47:57 deraadt Exp $ +# $OpenBSD: inetd.conf,v 1.50 2002/08/02 23:27:33 deraadt Exp $ # # Internet server configuration database # @@ -51,8 +51,8 @@ time stream tcp6 nowait root internal # Encrypted X connections #kx stream tcp nowait root /usr/X11R6/bin/kxd kxd # RPC based services -rstatd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rstatd rpc.rstatd -rusersd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rusersd rpc.rusersd +#rstatd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rstatd rpc.rstatd +#rusersd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rusersd rpc.rusersd #walld/1 dgram rpc/udp wait root /usr/libexec/rpc.rwalld rpc.rwalld #sprayd/1 dgram rpc/udp wait root /usr/libexec/rpc.sprayd rpc.sprayd #rquotad/1 dgram rpc/udp wait root /usr/libexec/rpc.rquotad rpc.rquotad diff --git a/src/etc/rc.conf b/src/etc/rc.conf index 80ab559e..7300b9c2 100644 --- a/src/etc/rc.conf +++ b/src/etc/rc.conf @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: rc.conf,v 1.77 2002/07/11 10:59:26 deraadt Exp $ +# $OpenBSD: rc.conf,v 1.78 2002/08/02 23:27:33 deraadt Exp $ # set these to "NO" to turn them off. otherwise, they're used as flags routed_flags=NO # for normal use: "-q" @@ -56,7 +56,7 @@ lockd=NO gated=NO amd=NO pf=NO # Packet filter / NAT -portmap=YES # almost always needed +portmap=NO # Note: inetd(8) rpc services need portmap too inetd=YES # almost always needed check_quotas=YES # NO may be desirable in some YP environments ntpd=YES # run ntpd if it exists