From owner-freebsd-questions@FreeBSD.ORG Thu May 5 23:34:55 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C560716A4CE for ; Thu, 5 May 2005 23:34:55 +0000 (GMT) Received: from orchid.homeunix.org (awv212.neoplus.adsl.tpnet.pl [83.27.81.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id C30F643D9A for ; Thu, 5 May 2005 23:34:54 +0000 (GMT) (envelope-from freebsd@orchid.homeunix.org) Received: from [192.168.1.66] (blackacidevil.orchid.homeunix.org [192.168.1.66]) (authenticated bits=0) by orchid.homeunix.org (8.13.1/8.13.1) with ESMTP id j45NYq4L022126 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 6 May 2005 01:34:53 +0200 (CEST) (envelope-from freebsd@orchid.homeunix.org) Message-ID: <427AADA0.6060701@orchid.homeunix.org> Date: Fri, 06 May 2005 01:34:56 +0200 From: Karol Kwiatkowski User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050326) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.84/871/Thu May 5 15:50:45 2005 on orchid.homeunix.org X-Virus-Status: Clean Subject: Inetd and a service listening only on localhost X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@orchid.homeunix.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2005 23:34:55 -0000 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