From owner-freebsd-questions@FreeBSD.ORG Mon Mar 31 20:06:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 871451065672 for ; Mon, 31 Mar 2008 20:06:21 +0000 (UTC) (envelope-from erik@cepheid.org) Received: from mail.cepheid.org (aleph.cepheid.org [72.232.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id 69CD68FC18 for ; Mon, 31 Mar 2008 20:06:21 +0000 (UTC) (envelope-from erik@cepheid.org) Received: by mail.cepheid.org (Postfix, from userid 1006) id 907F29B4002; Mon, 31 Mar 2008 15:06:20 -0500 (CDT) Date: Mon, 31 Mar 2008 15:06:20 -0500 From: Erik Osterholm To: Mel Message-ID: <20080331200620.GA75067@aleph.cepheid.org> Mail-Followup-To: Erik Osterholm , Mel , freebsd-questions@freebsd.org, Gilles References: <200803312158.51096.fbsd.questions@rachie.is-a-geek.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803312158.51096.fbsd.questions@rachie.is-a-geek.net> User-Agent: Mutt/1.4.2.3i Cc: Gilles , freebsd-questions@freebsd.org Subject: Re: [6.3] How are those daemons started? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2008 20:06:21 -0000 On Mon, Mar 31, 2008 at 09:58:50PM +0200, Mel wrote: > On Monday 31 March 2008 21:47:42 Gilles wrote: > > Hello > > > > By running "netstat -an", I notice that some daemons are running, > > even though nothing is listed in either /etc/rc.conf or some > > equivalent in /usr/local/etc/ : > > > > tcp4 0 0 127.0.0.1.25 > > udp4 0 0 *.2727 *.* > > udp4 0 0 *.2727 *.* > > udp4 0 0 *.514 *.* > > > > nmap seems to only handle TCP (TCP2000 = "callbook"?) doesn't say > > which application is opening those ports, and lsof | grep doesn't > > return anything :-/ > > > port 25 is sendmail, enabled by default /etc/defaults/rc.conf. > 514 is syslog, also on by default. > 2727 udp, no idea, but sockstat(1) will tell you. > > -- > Mel Also note /etc/defaults/rc.conf which is /why/ these services are on by default. Entries in /etc/rc.conf override entries in /etc/defaults/rc.conf, so you should never change /etc/defaults/rc.conf. Erik