Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
* Linux NFS server version 1.5
@ 1993-04-11 22:52 Rick Sladkey
  1993-04-12 12:01 ` Rick Sladkey
  0 siblings, 1 reply; 2+ messages in thread
From: Rick Sladkey @ 1993-04-11 22:52 UTC (permalink / raw)


A new version of the Linux NFS server is available from:

tsx-11.mit.edu:/pub/linux/BETA/NFS/nfs-server-1.5.tar.z

Please note that this is a gzipped file.

Changes from the last public release, nfs-server-1.2:

* the owner of a file can always read or write files regardless of permissions
  (this means that RCS now works over NFS)
* the server maintains serveral open files simultaneously
  (contributed by Orest Zborowski and Patrick Sweeney)
* exports file parsing bugs causing read-only access fixed
  (contributed by Fred van Kempen)
* syslog alternative to log files
  (contibuted by Fred van Kempen)
* requesting a symlink as a mount point works correctly
  (bug reported by Peter MacDonald)
* a new showmount command for querying remote mountd daemons

IMPORTANT: The most common problem reported with the Linux NFS server is
that the mount is successful and ls works but reading or writing a file
hangs the system.  When mounting from non-Linux NFS clients that have
a large default transfer size (e.g. 8k with SunOS) you must reduce both
the read and write transfer sizes to 1k.  This is because Linux IP does
not yet support fragmentation.  Each OS varies as to how this is done
but from SunOS or a BSD-derived system you can use mount options like.

$ mount -o rsize=1024,wsize=1024 linux-host:/remote-dir /local-dir

Bug reports, suggestions and feedback are always welcome.

Rick Sladkey <jrs@world.std.com>

-- 
Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Linux NFS server version 1.5
  1993-04-11 22:52 Linux NFS server version 1.5 Rick Sladkey
@ 1993-04-12 12:01 ` Rick Sladkey
  0 siblings, 0 replies; 2+ messages in thread
From: Rick Sladkey @ 1993-04-12 12:01 UTC (permalink / raw)


>>>>> On 11 Apr 1993 22:52:42 GMT, jrs@world.std.com (Rick Sladkey) said:

Rick> * the owner of a file can always read or write files regardless
Rick>   of permissions (this means that RCS now works over NFS)

I have received serveral messages from people concerned that this is a
security hole or that it is undesirable.  Let me explain why it is not
a security hole and why it is necessary.  That two-liner is what might
be called a "cryptic bombshell."  I will try to elucidate and defuse
it.

Why it is not a security hole:

In short, NFS file permissions are always checked twice.  Once by the
client and once by the server.  Since the client also checks
permissions, changing the NFS server doesn't affect whether a user is
permitted to write to read-only files.  And since the changed server
checks that a file is owned by the requesting user before permitting
writes even if the file is read-only, it doesn't do anything that that
the user couldn't have done themselves, e.g., chmod the file to be
writable, write to it, and change it back to read-only.

Why it is necessary:

The primary goal of NFS is emulate standard Unix filesystem semantics
for remotely mounted files.  A secondary goal is to make the NFS
server stateless so that clients can pick up right where they left off
after a server reboot.  Since the NFS server doesn't record what
clients have what files open, it is possible that a user on a client
legitimately has a file already open for writing but the file was
subsequently chmoded to be read-only.  Now we have a situation where
the client's permission checking says it's OK to write to that file
but the server's unmodified permission checking says it's not.  Our
solution modifies the server's permission checking in such a way that
this example works without compromising security.

If you don't believe me:

If it's any consolation, SunOS does it the same way.  At least that's
what Hal Stern suggests somewhere in "Managing NFS and NIS."  But
this is all moot anyway since NFS itself is one giant security hole...

-- 
Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-04-12 12:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-04-11 22:52 Linux NFS server version 1.5 Rick Sladkey
1993-04-12 12:01 ` Rick Sladkey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox