Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 16 Nov 2002 18:56:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 16 Nov 2002 18:56:57 -0500 Received: from tapu.f00f.org ([66.60.186.129]:24262 "EHLO tapu.f00f.org") by vger.kernel.org with ESMTP id ; Sat, 16 Nov 2002 18:56:56 -0500 Date: Sat, 16 Nov 2002 16:03:54 -0800 From: Chris Wedgwood To: Arun Sharma Cc: linux-kernel@vger.kernel.org Subject: Re: Reserving "special" port numbers in the kernel ? Message-ID: <20021117000354.GA443@tapu.f00f.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-No-Archive: Yes Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1398 Lines: 52 On Fri, Nov 15, 2002 at 04:00:37PM -0800, Arun Sharma wrote: > One of the Intel server platforms has a magic port number (623) that > it uses for remote server management. However, neither the kernel > nor glibc are aware of this special port. Odd. charon:~% grep -c 623 /etc/services 0 rfc1700: [...] WELL KNOWN PORT NUMBERS The Well Known Ports are controlled and assigned by the IANA and on most systems can only be used by system (or root) processes or by programs executed by privileged users. [...] npmp-gui 611/tcp npmp-gui npmp-gui 611/udp npmp-gui # John Barnes ginad 634/tcp ginad ginad 634/udp ginad I don't see port 623 in there. Where is this documented? > As a result, when someone requests a privileged port using > bindresvport(3), they may get this port back and bad things happen. Indeed. It seems like they should be able to get this port. What bad things happen? > Has anyone run into this or similar problems before ? Thoughts on > what's the right place to handle this issue ? User-land. Fix broken applications. --cw - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/