From nobody Mon Sep 16 18:27:03 2024 X-Original-To: doc@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 4X6tfw0Ytvz5Wdst 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 4X6tfv4Lsvz4cQQ 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=J3vEaH31IGYJX3ePI8xyToqSOACK6nJE+znjvCP3SrtN2NiD1eQb8DzNg3IgutBKZ711zY L5fInw340a7higeZX+S9IF/bHnoqgsAJIOLE87wwSyA880+pS7Fer+8b4l9k50qR4Ybgxd QHiR+CHkVczC1sknZCT1s8r39Z+I8RaqjJ0ZOWW4AoE4yxEEOF9sYywIqLoIqLvsxdGuM1 HQnmCOgLjKNOJWGYvKjOp9VZLoM2RmYI/bnZktc+6ETMhnz8aYhRLVs+FbnRT1h9hvl6s2 xCCyg/HmaagHdqMigHgxNNabYZa9R56KFoni6/PjouRzWj8ngw0stAK2i41gOQ== 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=bReUPGExv0D/yQmqWNcOiY9L3C2XzDWlBPNWjHfhMBg=; b=s9kkT/n0DMZ3435yW8i1V3dcK34Tb3Oj37JnhYbL9UBEVKhgPyooQaSiNNdT3lh9eh9ggA xKjpmDQ2Oq4YyjKrFbQAsIT34L8h2qM6ETcxzRzUujVXKF8VkO3gXLej2BHnOfmVOINWDl 9K+533tqj0oK4WUG0vWJPGpfTeeDrc4EtFWqdpIfIUcvnkYJvrxhGhtnK+VZdDVMMo3Dpv QQA+brCLYo9bReTjzrwOs9mN7HwCld7aYFGz9yihZo0k61nCDO12tY1CoNoJEZ6NNdV6Qr MAPz3FNH5xxoVPlrp1yB3Wp1cMYUYgOAcya95z1J9cnQmA3gPwf8lmfRQOhTaA== 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 4X6tfv3rbqz15Qq 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 48GIR3ME078955 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 48GIR3rI078954 for doc@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: doc@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: CC 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: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@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 on the CC list for the bug.=