From owner-cvs-src-old@FreeBSD.ORG Thu Nov 13 14:37:45 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B4A5106567C for ; Thu, 13 Nov 2008 14:37:45 +0000 (UTC) (envelope-from dfr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1B8358FC17 for ; Thu, 13 Nov 2008 14:37:45 +0000 (UTC) (envelope-from dfr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mADEbi52030418 for ; Thu, 13 Nov 2008 14:37:44 GMT (envelope-from dfr@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mADEbiPK030417 for cvs-src-old@freebsd.org; Thu, 13 Nov 2008 14:37:44 GMT (envelope-from dfr@repoman.freebsd.org) Message-Id: <200811131437.mADEbiPK030417@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to dfr@repoman.freebsd.org using -f From: Doug Rabson Date: Thu, 13 Nov 2008 14:36:52 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/nfsserver nfs_srvkrpc.c src/sys/xdr xdr_mbuf.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2008 14:37:45 -0000 dfr 2008-11-13 14:36:52 UTC FreeBSD src repository Modified files: sys/nfsserver nfs_srvkrpc.c sys/xdr xdr_mbuf.c Log: SVN rev 184921 on 2008-11-13 14:36:52Z by dfr Use the remote address for access control, not the local address. This fixes the nfsd problems that some people have with the new code. Add support for the vfs.nfsrv.nfs_privport sysctl which denies access unless the client is using a port number less than 1024. Not really sure if this is particularly useful since it doesn't add any real security. Revision Changes Path 1.4 +44 -2 src/sys/nfsserver/nfs_srvkrpc.c 1.4 +1 -0 src/sys/xdr/xdr_mbuf.c