[6.3] How are those daemons started?

Erik Osterholm freebsd-lists-erik at erikosterholm.org
Mon Mar 31 13:06:21 PDT 2008


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 


More information about the freebsd-questions mailing list