Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2008 15:06:20 -0500
From:      Erik Osterholm <freebsd-lists-erik@erikosterholm.org>
To:        Mel <fbsd.questions@rachie.is-a-geek.net>
Cc:        Gilles <gilles.ganault@free.fr>, freebsd-questions@freebsd.org
Subject:   Re: [6.3] How are those daemons started?
Message-ID:  <20080331200620.GA75067@aleph.cepheid.org>
In-Reply-To: <200803312158.51096.fbsd.questions@rachie.is-a-geek.net>
References:  <vke2v3h9m7h709d684m23tk8cnm3tagejb@4ax.com> <200803312158.51096.fbsd.questions@rachie.is-a-geek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080331200620.GA75067>