Subject: kern/304: NFS bug (nfs not using privileged ports)
To: None <gnats-admin>
From: None <noses@oink.rhein.de>
List: netbsd-bugs
Date: 06/24/1994 02:35:03
>Number: 304
>Category: kern
>Synopsis: NFS isn't using ports < 1024 anymore
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: gnats-admin (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 24 02:35:01 1994
>Originator: Noses
>Organization:
" "
>Release: -current as of 6/17
>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
>Audit-Trail:
>Unformatted:
------------------------------------------------------------------------------