Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp2050530lqg; Mon, 4 Mar 2024 11:12:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWaEVE7txUhY4dSW+oWFsszJ5jk2zJKaJxazPPpGxdP9nCasbmkeShYtD9GnADs/OmrtLssZS7CMz0DSDg0LZQE6vzjoC34dqkpJLjeag== X-Google-Smtp-Source: AGHT+IEqoV/1+c6VsrY85btDaXa2FZ/P7ux5/Mz+HG7t5Mjhlp8CdcLA8/oMWk8fuf6KC8hlZC0B X-Received: by 2002:a17:90a:9601:b0:29b:9e1:2fb0 with SMTP id v1-20020a17090a960100b0029b09e12fb0mr489883pjo.0.1709579569002; Mon, 04 Mar 2024 11:12:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709579568; cv=pass; d=google.com; s=arc-20160816; b=sQGh3TPfRHXmy5RkC0AxjO7ikeDYMDMdSQDLZ2UanCkaVVa+UIEqXA5MMat+MRQJKF 1EIUBR2SM81siOXTYcQF72we3KwbV0EIwx8SjvxmdvnfST2RpNOxizP+4gZp2a2uhEUI aizuSqRyJgTvn5NgkFPyMKdcr+GdxstZ1Dl6avh15MnfrGzABXFbyU1/N+frJn8aNNxf O8CIzCZdztoAMgObPoLczEWuKGdgjVi2aFDYANNZZvsF1reiZ8q4qBkHORL8Xt7Z2XCH /BUMdQbypz/0FyNgGUnsrvxbG5TO+kHBcqgoKE7Vjq14krinGVWCzPafS+4ax9fYgvDi xjWg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=HT/pP+T0NP6QlMe2SlXXHHjCe0FpP0SxLxRy1EOnNgQ=; fh=Mys3y4MwsHRytUQMpdfGBn3oGRYLcLloxNwkFYMYMmg=; b=Zzk0Ohz7p+uqnnnRCilE5Q6D6ZGh763RRDnMb7sqGnm/h2I1FLGICt7QddKEVEO3kI Z8jP/0j3kEXikCd0DsHP8LnMjEafJhmHgajYjgbiDB1j8IadMR/7ws0+p4oi4v5D1htS LPyARn+CjGhpb8qknweJx3Jd0XrqzryPFkmHxzIv7BUdS4M9tjgeUsJJIZyfjdV8sI79 8gXjnNhGtx3vRgQs8BT7jpWwETSePIG2DFYcRGuv/8nx5q0WzEjxXXHz26mOogEz6GJJ 6kZo99Y/z4XJEJSWrDTzoNWJOIUKgHm8+mHq54lIJmAz25WfxECpRLb5E/EJy4E81hnR XxHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-nfs+bounces-2175-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2175-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id qi17-20020a17090b275100b0029b43ef634bsi3086354pjb.9.2024.03.04.11.12.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 11:12:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-2175-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-nfs+bounces-2175-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2175-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6C717B2204F for ; Mon, 4 Mar 2024 18:42:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1A3662143; Mon, 4 Mar 2024 18:42:33 +0000 (UTC) X-Original-To: linux-nfs@vger.kernel.org Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2DC051E484 for ; Mon, 4 Mar 2024 18:42:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709577753; cv=none; b=Mr86w99TN/eZ00dMTjuXshliXVjJYGqAkDMD6FNm8WeLieGUthlKE+yFA+URj7SFZnQhnjsjkAj7SjK/a0Bh73hvcoPyyz6XYsedc+mcjfsvgoC/lMlYYm7OzMI1+9esknyvWOoTav9mEqP2gXIhQ4I84H5rEVag2IlUfv8X4Ng= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709577753; c=relaxed/simple; bh=uviLCn9kAIAya+fglTcNqj7qhTPSYyhmrpjFl0/x3vs=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Content-Type; b=LDdM36bngPIEt72d6RFV2NRJ9MY8fm59KkG5QQjZv0WCRdXZtaFe9h68KC2nnmrWGPcvbeUFOI6z6oyzpxQ37vGvXy1wpPSChKPD9/rRMgY6eG72VlTORrBuIvaYsHd8IFTICqQbN6irp56UptKpzZQN2M9o+WfVC1oAs0YFmcs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nrubsig.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.166.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nrubsig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-io1-f52.google.com with SMTP id ca18e2360f4ac-7c85c926387so24238339f.0 for ; Mon, 04 Mar 2024 10:42:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709577751; x=1710182551; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HT/pP+T0NP6QlMe2SlXXHHjCe0FpP0SxLxRy1EOnNgQ=; b=mjM+bI1a6thAzbqDz0IrcionU3/zoCLvz3J5ljA1/ZpFIPUfp1oCZoZUFPmQGITdh3 HM/zEBXmt2ssU+4OydGN1MlZlvqddMpi7UiXS6W7Ss8BeOHZutpet639U0Z+cf2ryxQd 8qVKDCWFg5CrwTWkR1ORVy22RNLCYBEB9Krg1C/s3g51hq5YvKoJQOa5q0MmMQWs3jw0 gjdVpnBV2/AOgRVVQFl5Q3xublrKq7qSX13T9v/m2xACZfi2IOwGwgi2923oE3VCZrvL tWJbnqkuiyf7IvZIxZfgiIQ2RArdLZm98ltO2D4xGRQxi/xjM8twKqewTVweUuzFBkgF yKrw== X-Gm-Message-State: AOJu0YyZwPJPZM8xNRHf++CaA+2hv2klLGxPr+BYdbrCcs0249+NZ9cQ dI2F8EYrHUbOrzFfB3FHH1ZB5LTnOex87wNV2jaPdoyWYqDAQ8ABr59mA3tvH72r2eug3e5HwaT P0AyYNaAwpz33m04y3iYxUhcmsCPVZhOw X-Received: by 2002:a05:6e02:1527:b0:365:b00e:c3cc with SMTP id i7-20020a056e02152700b00365b00ec3ccmr333926ilu.2.1709577750964; Mon, 04 Mar 2024 10:42:30 -0800 (PST) Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240225235628.12473-1-neilb@suse.de> <20240225235628.12473-3-neilb@suse.de> <20240304183217.GB3408054@pevik> In-Reply-To: <20240304183217.GB3408054@pevik> From: Roland Mainz Date: Mon, 4 Mar 2024 19:42:03 +0100 Message-ID: Subject: Re: [PATCH 2/4] rpcbind: allow broadcast RPC to be disabled. To: linux-nfs@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 4, 2024 at 7:32=E2=80=AFPM Petr Vorel wrote: > > From: NeilBrown > > Support for broadcast RPC involves binding a second privileged > > port. It is possible that rpcbind might choose a port that some > > other service will need, and that can cause problems. > > > Having this port open increases the attack surface of rpcbind. RPC > > replies can be sent to it by any host, and they will only be rejected > > once they have been parsed enough to determine that the xid doesn't > > match. > > > Boardcast is not widely used. It is not used at all for NFS. For NIS > > (previously yellow pages) it can be used to find a local NIS server, > > though this can also be statically configured. > > > In cases where broadcast-RPC is not needed, it is best to disable the > > port. This patch adds a new "-b" option to disable broadcast RPC. > > If this feature is wanted, I would suggest "-B". "-b" is used in ping for > broadcast, therefore this option looks like *enabling* broadcast instead = of > disabling. I agree with Petr... ... could you please add the comment about NIS/YP in the manpage too ? And what about NIS+ ? ---- Bye, Roland --=20 __ . . __ (o.\ \/ /.o) roland.mainz@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /=3D=3D\ O\ TEL +49 641 3992797 (;O/ \/ \O;)