From owner-freebsd-questions@FreeBSD.ORG Tue Dec 14 13:00:03 2004 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 80B0B16A4CE for ; Tue, 14 Dec 2004 13:00:03 +0000 (GMT) Received: from ms-smtp-02.nyroc.rr.com (ms-smtp-02.nyroc.rr.com [24.24.2.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id E62B443D41 for ; Tue, 14 Dec 2004 13:00:02 +0000 (GMT) (envelope-from pculmo@obs2.net) Received: from ragnaroklnx.obs2.net (roc-66-66-200-6.rochester.rr.com [66.66.200.6])iBECxxJj010044; Tue, 14 Dec 2004 07:59:59 -0500 (EST) Received: from ragnaroklnx.obs2.net (ragnaroklnx.obs2.net [10.200.1.4]) by ragnaroklnx.obs2.net (8.13.1/8.12.8) with ESMTP id iBED86qa020823; Tue, 14 Dec 2004 08:08:07 -0500 Date: Tue, 14 Dec 2004 08:08:01 -0500 (EST) From: Paul Culmo To: Didier Wiroth In-Reply-To: <3cf46389.41bee0da@etat.lu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Scanned: ClamAV 0.80/625/Fri Dec 10 12:41:57 2004 clamav-milter version 0.80j on ragnaroklnx.obs2.net X-Virus-Status: Clean cc: freebsd-questions@freebsd.org Subject: Re: ftp-proxy, how to bind to localhost only addres X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2004 13:00:03 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 14 Dec 2004, Didier Wiroth wrote: > hi, > I installed freebsd5.3 on my soekris box. > I'm using pf with ftp-proxy (started from inetd). I would like to bind the ftp-proxy to "only listen" to the localhost. Actually it listens to all adresses. > root inetd 2756 4 tcp4 *:8021 > > How can I do this? > > In openbsd you set this in inetd.conf: > 127.0.0.1:8021 stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy -u proxy -n -m 55000 -M 57000 -t 180 > > But how on freebsd? > > thanks a lot > didier Have you tried changing the * to 127.0.0.1 i.e root inetd 2756 4 tcp4 127.0.0.1:8021 - -- Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBvuW1EdHRTqP1dMMRAgR2AJ432uJSNkP64W+mCxitNQH5KMn0mgCffOEs aZk2ElfTeYx/LE5KiBej1Ag= =YiYW -----END PGP SIGNATURE-----