From nobody Mon Sep 16 18:27:03 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X6tfw0Ylbz5Wdss for ; Mon, 16 Sep 2024 18:27:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X6tfv3s1zz4cSZ for ; Mon, 16 Sep 2024 18:27:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726511223; a=rsa-sha256; cv=none; b=UFj1sq2mvvk6DeiiLvqqPe2qbrqVBhcF5LYm0FKs5L83ufjDX/G9YOU2LA3STV1kC+kpTM pmRtXhHp5iSyUUXsv3UFB4RHO4qsZmHcwhptOmoKH1B2XJE5M8Dg+DdgpdTBpCeABTX4uH Phb+6NHuKWz+x6kbKGg2yIp1Rj3wB81Qm03i87cR39ITAPhYQzEh57dSbiHU0txyFXjUjZ NLVwLgddsUd9SAChqe78P/Z2eHtN4Se8CHVx1vP00XRG8erI2rwC7coELGldDATjuoRZeY pBl+PkzAkGC5Dm9lTY6ifBkp2/8NjcmlVYTFR1XW0/3JjSb7jiVR9gSBPqhgtw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726511223; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yX38dwil0UetDWPZFIgN7sUwhx4yQm3dMmCsK6+Uts8=; b=OxSkH7aJ0RdW3GqUz/fnNLaI6YiWcTnBVpoL1rdCdpRY34SjeWLeKVSxDDNfxxx8v4nCd1 tvSYdo/8V36YovLsesvG2f77uWSUsqMO+7EPSl63hKalt52kxrUNIItvK0CpGtUmN7YsfW n1s8LVP8b9GH2pvOyrf7JxJ8KfyGnnOO7N3MNmf3unCEJjyAZLdJQFPKD57gX2LznBs4mV G0hf7iezkw0+lfMjWTOssdVpKyolZH8/oNf6Zk8Jn7ES/36jhTI+EmnmUINvOyD9LqVaxt qwv5R+92m6kofsMhV+PAy0Ns6WfZ5WL729QnEkUZB4FfVouymTVTtodTJuAMmA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X6tfv3Kntz15TH for ; Mon, 16 Sep 2024 18:27:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 48GIR319078949 for ; Mon, 16 Sep 2024 18:27:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48GIR31c078948 for bugs@FreeBSD.org; Mon, 16 Sep 2024 18:27:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 281541] rpcinfo: format of argument to -a flag is undocumented Date: Mon, 16 Sep 2024 18:27:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: wollman@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281541 Bug ID: 281541 Summary: rpcinfo: format of argument to -a flag is undocumented Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: wollman@FreeBSD.org CC: doc@FreeBSD.org It says: If versnum is not specified, rpcinfo tries to ping all availab= le version numbers for that program number. This option avoids calls to remote rpcbind to find the address of the service. T= he serv_address is specified in universal address format of the given transport. However, "universal address format" is not defined anywhere. It's not even easily googlable. I ended up reading an implementation (in the Linux kernel, oddly enough) to find out what it actually is: it appends the port number to the numeric form of the address, *as big-endian octets separated by dots*. Thus, for example, port 2049 is represented as ".8.1". I think this is a consequence of the incomplete assimilation of TI-RPC from= 20 years ago, but it's long past time to at least document what this syntax is. --=20 You are receiving this mail because: You are the assignee for the bug.=