From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 12 02:51:15 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D74D116A4CE; Fri, 12 Mar 2004 02:51:15 -0800 (PST) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id ABA3543D2D; Fri, 12 Mar 2004 02:51:14 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from gosset.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 12 Mar 2004 10:51:13 +0000 (GMT) To: Brooks Davis In-reply-to: Your message of "Thu, 11 Mar 2004 17:00:01 PST." <20040312010000.GA9949@Odin.AC.HMC.Edu> X-Request-Do: Date: Fri, 12 Mar 2004 10:51:13 +0000 From: David Malone Message-ID: <200403121051.aa75277@salmon.maths.tcd.ie> cc: hackers@freebsd.org cc: dwmalone@freebsd.org Subject: Re: inetd needs "discard" service in /etc/services X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 10:51:16 -0000 > I would like to commit the following patch. It changes the port from > discard to syslog and documents the dependency. I choose syslog because > it really does need to be in /etc/services on most machines since it > starts before NIS. I'll also file a PR against inetd in hopes that > someone gets board enough to fix it some day. getaddrinfo can also accept numeric service names (ie. port numbers in the case of UDP/TCP). I wonder if it would be better to just replace the service name with "1" or some such? I guess that would also fix your problem. David.