From owner-cvs-all Mon Apr 15 9: 9:45 2002 Delivered-To: cvs-all@freebsd.org Received: from patrocles.silby.com (d140.as14.nwbl0.wi.voyager.net [169.207.136.14]) by hub.freebsd.org (Postfix) with ESMTP id 4807D37B400; Mon, 15 Apr 2002 09:09:38 -0700 (PDT) Received: from patrocles.silby.com (localhost [127.0.0.1]) by patrocles.silby.com (8.12.2/8.12.2) with ESMTP id g3FM9JLx005132; Mon, 15 Apr 2002 17:09:19 -0500 (CDT) (envelope-from silby@silby.com) Received: from localhost (silby@localhost) by patrocles.silby.com (8.12.2/8.12.2/Submit) with ESMTP id g3FM9Jmm005129; Mon, 15 Apr 2002 17:09:19 -0500 (CDT) X-Authentication-Warning: patrocles.silby.com: silby owned process doing -bs Date: Mon, 15 Apr 2002 17:09:19 -0500 (CDT) From: Mike Silbersack To: Peter Pentchev Cc: kde@FreeBSD.org, , Subject: Re: cvs commit: src/sys/netinet in.h In-Reply-To: <20020415182723.C358@straylight.oblivion.bg> Message-ID: <20020415170727.D5071-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 15 Apr 2002, Peter Pentchev wrote: > Well, ksirtet is a Tetris clone with network multiplayer capabilities; > to host a server, you need to give it a port number to bind to. > IPPORT_RESERVED is used as MIN_USER_PORT, so that the game kind of ensures > that you enter a port in a (somewhat) valid range that it can bind to, > when running as a normal user. > > I know that defining IPPORT_USERRESERVED as IPPORT_RESERVED will not > give the same functionality as before, but it will give *some* working > functionality - the game will be able to exercise a minimal validation > of user input. Of course, it would be perfect to make it use sysctl's, > but that might well be overkill for a kde game :)) > > G'luck, > Peter > > -- > Peter Pentchev roam@ringlet.net roam@FreeBSD.org They shouldn't need to specify a port range; simply using an ephemeral port should work more than adequately. In the meantime, defining IPPORT_USERRESERVED = 5000 in that game is the best patch. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message