From: Trond Myklebust Subject: Re: [PATCH] Fix xprt_bindresvport range Date: Wed, 23 Feb 2005 20:23:19 -0800 Message-ID: <1109218999.11180.49.camel@lade.trondhjem.org> References: <20050223162808.GB17774@suse.de> <1109176559.10142.4.camel@lade.trondhjem.org> Mime-Version: 1.0 Content-Type: text/plain Cc: Olaf Kirch , Charles Lever , nfs@lists.sourceforge.net Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1D4AXX-00014x-Nx for nfs@lists.sourceforge.net; Wed, 23 Feb 2005 20:23:51 -0800 Received: from pat.uio.no ([129.240.130.16] ident=7411) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1D4AXR-0001Wu-FY for nfs@lists.sourceforge.net; Wed, 23 Feb 2005 20:23:51 -0800 To: Ian Kent In-Reply-To: Sender: nfs-admin@lists.sourceforge.net Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Post: List-Help: List-Subscribe: , List-Archive: to den 24.02.2005 Klokka 10:59 (+0800) skreiv Ian Kent: > > > The patch below changes xprt_bindresvport to select ports from > > > 650-1023 by default (631 is cups, which we better avoid). > > > It also adds sysctls to allow the admin to select a different > > > port range. > > > > The patch looks good, and this is definitely a feature we should have. > > It is certainly useful to be able to define the range but there are > NFS servers that require the client to use ports < 1024. So the underlying > problem still remains. Are you referring to the problem of running out of free privileged ports? Sure, but that is not the problem that Olaf's patch attempts to address. To address that problem, we certainly also want to add support for sharing of sockets to the same server, and there may be further sharing schemes that we can implement. For instance, UDP sockets don't have a connection protocol, so they can basically talk to anyone. For TCP sockets, we should also consider playing with the TCP_LINGER2 socket option (to enable us to re-use the port without having to wait through a 60 second timeout). Cheers, Trond -- Trond Myklebust ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs