NetBSD Problem Report #304

From gnats  Fri Jun 24 02:29:35 1994
Received: from uran.informatik.uni-bonn.de (uran.informatik.uni-bonn.de [131.220.8.49]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id CAA10356 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Fri, 24 Jun 1994 02:29:16 -0700
Message-Id: <m0qH7Yz-0001F7C@oink.rhein.de>
Date: Fri, 24 Jun 94 11:28 MET DST
From: noses@oink.rhein.de
Reply-To: noses@uran.informatik.uni-bonn.de
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: NFS bug (nfs not using privileged ports)
X-Send-Pr-Version: 3.2

>Number:         304
>Category:       kern
>Synopsis:       NFS isn't using ports < 1024 anymore
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 24 02:35:01 +0000 1994
>Closed-Date:    Sun Jul 17 04:29:36 +0000 1994
>Last-Modified:  
>Originator:     Noses
>Release:        -current as of 6/17
>Organization:
"	"
>Environment:

System: NetBSD oink 0.9C NetBSD 0.9C (OINK) #201: Fri Jun 17 05:29:16 MET DST 1994 noses@oink:/usr/src/sys/arch/i386/compile/OINK i386


>Description:

Servers complain that NFS access is tried rith "too weak credentials" and
refuse any request.

>How-To-Repeat:

Mount an NFS volume from another server e.g.:

mount gatekeeper.rhein.de:/home/bnc /home.
Result:
bnc# mount
/dev/sd0a on / (local)
kernfs on /kern (local)
fdesc on /dev/fd
mfs:19 on /tmp (asynchronous, local)
/dev/sd0e on /usr (local)
/dev/sd0f on /usr/local (local)
/dev/sd0g on /var (local)
/dev/sd0h on /var/spool (local)
gatekeeper.rhein.de:/home/bnc on /home
bnc# netstat -f inet
Active Internet connections
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp        0      0  bnc.login              oink.rhein.de.1023     ESTABLISHED
tcp        0      0  bnc.login              gatekeeper.rhein.1017  ESTABLISHED
udp        0      0  localhost.ntp          *.*
udp        0      0  bnc.ntp                *.*
udp        0      0  localhost.domain       *.*
udp        0      0  bnc.domain             *.*
udp        0      0  bnc.1028               gatekeeper.rhein.2049

Port 1028 isn't acceptable to the server; at least ALL Sun versions of
NFS dislike this.

>Fix:

Return to the algorithm for selecting a port that was used in 0.9b.

Achim
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: cgd 
State-Changed-When: Sat Jul 16 21:29:36 PDT 1994 
State-Changed-Why:  
documented "feature."  see mount_nfs man page. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.