Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 May 2005 01:34:56 +0200
From:      Karol Kwiatkowski <freebsd@orchid.homeunix.org>
To:        freebsd-questions@freebsd.org
Subject:   Inetd and a service listening only on localhost
Message-ID:  <427AADA0.6060701@orchid.homeunix.org>

next in thread | raw e-mail | index | archive | help
Hello everyone,

I'm in the process of learning ports system. I've made some changes to
an existing port (in the Makefile and a patch) for my use but thought
about mailing them to the port maintainer. So now I need to be more
serious ;)

The port (popa3d) is a pop3 daemon which can be run from inetd or as
standalone. I've made a patch and added a knob to Makefile to make
popa3d listen only on localhost (I run it as standalone with stunnel).

I've never used inetd and I'm not sure what will happen if a
connection is made from outside to a service which is configured to
listen only on localhost.

Is  possible to run a service listening only on localhost with inetd?
 How to configure inetd in such case (an entry in /etc/hosts.allow?)
or should I disable such configuration?

Regards,

Karol

-- 
Karol Kwiatkowski  <freebsd at orchid dot homeunix dot org>



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