Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1869928pxb; Wed, 20 Oct 2021 13:29:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXMcJZ3dlYbHhEZsBXx5nTgzt+qBH1UF0W65Ppl/nd2LXeSm70O1EGxt14DyZ4PGvFoKNk X-Received: by 2002:a17:902:7e88:b0:13e:91ec:4114 with SMTP id z8-20020a1709027e8800b0013e91ec4114mr1261018pla.30.1634761799587; Wed, 20 Oct 2021 13:29:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634761799; cv=none; d=google.com; s=arc-20160816; b=AzJywwcydPQ9M3wPVBdSsWZld/H0tskx3Up6GkvgRFfmqRYbXzmafHsjIs6WapPKwY W/fG/sEMZleKiejCNHfp52wAp3hSi0KRVEG67KOEmD7Gw2m1TaAmNpm/anG0D2lrQxe2 exRLPkA7f36nMWgBUYjcjeuILID/iu5pYqSw9GXOLR4/dK4+U12VBF1XLThHC1j1/3Tl CLz/RT7xCXkbF8pnV83vPSPbLm6qJSxd3/19eb5kvsTEecM/qVuP+AH1IR8zZ2xkM/vp 9GIkSY+YACD2ve/8mjerN4kCVfPofI7qFgRgABqIarSgWkXqtwuA2eXH/8wHKTiGsqJT HKjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=tRu0EacVe2rJgGtykUTpMj+abm+3+uPVRoZ4reVprH4=; b=iEbXtffwjiW9UgWBYT0gAQQ5q0SHsUQz3RIUQvkH7PpDJXIPwe+0MqMIGsG2GiOeKz ZOkDeRhc++xqx8OpO+6KzlDHdS1ru9e269C64EeEItYOlTyBmxv6Ey6s4FsJFATRxZq8 A5mQG+zn1NGph7MHq6Ow5Ucbzs689s5OdP+uEGVd6UBM1Z3abv+1sGLFy1UJVJ9A9pS7 QCbi7X8XO2Hr6LktXKNephF5ltUDchULHmDW/3/vI60ikLIOEap5pqXNSIPD2430DC4r 3klP2ZMs4VdoZeATGgyhPnU1iQN/Ct+9+gV0z8Mw5JFZD8j5av0Kzxv4+Y/9zqiFWuMi QaYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=wAO4M2Lo; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q91si5004569pjq.42.2021.10.20.13.29.20; Wed, 20 Oct 2021 13:29:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=wAO4M2Lo; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231278AbhJTUbZ (ORCPT + 99 others); Wed, 20 Oct 2021 16:31:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231234AbhJTUbW (ORCPT ); Wed, 20 Oct 2021 16:31:22 -0400 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6548C06161C for ; Wed, 20 Oct 2021 13:29:07 -0700 (PDT) Received: by fieldses.org (Postfix, from userid 2815) id 0E8346CC9; Wed, 20 Oct 2021 16:29:07 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 0E8346CC9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1634761747; bh=tRu0EacVe2rJgGtykUTpMj+abm+3+uPVRoZ4reVprH4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wAO4M2LoOi7boSjfRpxVq1PwHPbWJ+9TGZPHTANHg27uOAMF7fXV5+I8ZmBRZvJY/ kzgiAyQjW6axvF3pRKiiA4zGgdz7bqrsdlxViQuHpEfAAtj8eIGXKEGTP6wTfzEagO doYDQLvTDgU5X8vq/f/xqgPMl5dGnp8AHObWERWY= Date: Wed, 20 Oct 2021 16:29:07 -0400 From: Bruce Fields To: dai.ngo@oracle.com Cc: Linux NFS Mailing List , Steve Dickson , Olga Kornievskaia , Chuck Lever Subject: Re: server-to-server copy by default Message-ID: <20211020202907.GF597@fieldses.org> References: <20211020155421.GC597@fieldses.org> <18E32DF5-3F1D-4C23-8C2F-A7963103CF8C@oracle.com> <8b1eb564-974d-00b6-397a-d92f301df7d8@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8b1eb564-974d-00b6-397a-d92f301df7d8@oracle.com> User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Wed, Oct 20, 2021 at 12:03:46PM -0700, dai.ngo@oracle.com wrote: > > On 10/20/21 9:33 AM, Olga Kornievskaia wrote: > >On Wed, Oct 20, 2021 at 12:00 PM Chuck Lever III wrote: > >>>2. Security question: with server-to-server copy enabled, you can send > >>>the server a COPY call with any random address, and the server will > >>>mount that address, open a file, and read from it. Is that safe? > > The client already has write access to the share on the destination > server, it can write any data to the destination file. Agreed. Please look back at what I said; I'm not thinking about attacks on the source server, I'm thinking about attacks on the destination (the one that receives the COPY). --b.