From owner-freebsd-stable@FreeBSD.ORG Tue Oct 17 12:50:00 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0620516A415 for ; Tue, 17 Oct 2006 12:50:00 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5147043D46 for ; Tue, 17 Oct 2006 12:49:59 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (ufwdix@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k9HCnch0073613; Tue, 17 Oct 2006 14:49:43 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k9HCncDu073612; Tue, 17 Oct 2006 14:49:38 +0200 (CEST) (envelope-from olli) Date: Tue, 17 Oct 2006 14:49:38 +0200 (CEST) Message-Id: <200610171249.k9HCncDu073612@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, Trond.Endrestol@fagskolen.gjovik.no In-Reply-To: <20061017082319.I27675@ramstind.fig.ol.no> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Tue, 17 Oct 2006 14:49:47 +0200 (CEST) Cc: Subject: Re: Ensuring inetd is started before any RPC services X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, Trond.Endrestol@fagskolen.gjovik.no List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Oct 2006 12:50:00 -0000 Trond Endrestøl wrote: > I have on many occasions run into the situation where the RPC based > services have occupied the well-known ports for other non-RPC based > services. Last week rpc.lockd on one of my systems got hold of TCP > port 995, leaving inetd unable to start any pop3s services. Yes, that's annoying. I think a simple work-around for the problem is to lower the sysctl net.inet.ip.portrange.lowfirst. The default is 1023. If you don't need any other ports right beneath 995, then you can set it to 994 via /etc/sysctl.conf. Then the RPC-based services that don't use fixed ports should start using port numbers from 994 downwards. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "I learned Java 3 years before Python. It was my language of choice. It took me two weekends with Python before I was more productive with it than with Java." -- Anthony Roberts