mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: russell@coker.com.au
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Oops on 2.4.22 when mounting from broken NFS server
Date: Mon, 15 Sep 2003 13:01:16 -0400	[thread overview]
Message-ID: <16229.61532.593859.352036@charged.uio.no> (raw)
In-Reply-To: <200309160221.34621.russell@coker.com.au>

>>>>> " " == Russell Coker <russell@coker.com.au> writes:

     > I expect the NFS client to behave sensibly in the face of all
     > possible server errors, including the possibility of a hostile
     > NFS server.

No can do... There are 100s of scenarios where the server can screw
the client by giving it bogus information. You might possibly be able
to protect against a few of them, but at a heavy price in the form of
code bloat.
Neither NFSv2 nor NFSv3 are protocols that were designed to operate
safely in a hostile environment. They were designed for LANs where
servers and clients trust one another.

I agree that we shouldn't Oops though.

    >> BTW: that Oops you posted looked very much like a memory
    >> corruption problem. Were you running vanilla 2.4.22 on the
    >> client, or was it too patched?

     > It was also patched.  I will try and reproduce the error with
     > an unpatched kernel and a tcpdump running.

Please do...

Cheers,
  Trond

      reply	other threads:[~2003-09-15 17:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-13  9:38 Russell Coker
2003-09-15 12:47 ` Russell Coker
2003-09-15 15:38   ` Trond Myklebust
2003-09-15 15:47     ` Trond Myklebust
2003-09-15 16:21     ` Russell Coker
2003-09-15 17:01       ` Trond Myklebust [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16229.61532.593859.352036@charged.uio.no \
    --to=trond.myklebust@fys.uio.no \
    --cc=linux-kernel@vger.kernel.org \
    --cc=russell@coker.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®