From owner-freebsd-questions@FreeBSD.ORG Mon Apr 14 20:19:51 2003 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 5759137B401 for ; Mon, 14 Apr 2003 20:19:51 -0700 (PDT) Received: from above.proper.com (mail.proper.com [208.184.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id B891043FBD for ; Mon, 14 Apr 2003 20:19:50 -0700 (PDT) (envelope-from phoffman@proper.com) Received: from [142.131.246.132] (adsl-63-202-92-152.dsl.snfc21.pacbell.net [63.202.92.152]) by above.proper.com (8.12.8p1/8.12.8) with ESMTP id h3F3Jnt3000935 for ; Mon, 14 Apr 2003 20:19:49 -0700 (PDT) (envelope-from phoffman@proper.com) Mime-Version: 1.0 X-Sender: phoffprop@mail.proper.com Message-Id: In-Reply-To: References: X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . Date: Mon, 14 Apr 2003 20:19:46 -0700 To: freebsd-questions@freebsd.org From: Paul Hoffman Content-Type: text/plain; charset="us-ascii" ; format="flowed" Subject: Re: Multiple FTP servers with different characteristics on one server? 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, 15 Apr 2003 03:19:51 -0000 To answer my own question: inetd lets you run multiple instances, each one listening to a particular port, using the -a option. lukemftpd from the ports collection lets you give a directory for the set of ftpd configuration files. So, now my rc.local file has: /usr/sbin/inetd -wW -a 10.0.0.1 /etc/inetd-for-1.conf /usr/sbin/inetd -wW -a 10.0.0.2 /etc/inetd-for-2.conf . . . /etc/inetd-for-1.conf has: ftp stream tcp nowait root /usr/local/libexec/ftpd ftpd -d -ll -c /etc/ftp-for-1 and so on.