EIP-7636 ENR "client" field extension (Extension of EIP-778 for "client" ENR Entry)

No call decision · Networking & nodes · EIP status Withdrawn · created 2024-02-25

A proposal that would have had nodes record the name and version of the client they use in their discovery record (ENR), but it was withdrawn due to limited usefulness and developers' practicality concerns.

Why it is needed

The current ENR (Ethereum Node Record) has no field for recording which client software a node runs. The network has multiple mixed client implementations with different features and behaviors, but checking this information today requires connecting over a separate protocol. As a result, surveying the network wide client distribution or tracking issues tied to a specific version is cumbersome. This EIP proposed adding an optional client field to the ENR so that discv5 alone, the protocol already used for node discovery, could reveal both client distribution and discv5 adoption itself.

What changes

Today

After EIP-7636

Who is affected

In depth

Structure of the client field

The value of the client key is the RLP list [ClientName, Version, (BuildVersion)]. All strings are encoded in RFC 20 ASCII. ClientName SHOULD concisely identify the client with no whitespace, and Version is RECOMMENDED to follow semantic versioning in human readable form. BuildVersion is OPTIONAL and is used to identify a specific build, such as via a commit hash.

Backward compatible because it is optional

The client entry is OPTIONAL, so clients that do not want to disclose it can simply omit it. Existing implementations ignore unknown ENR keys, so not supporting this extension causes no problems in ENR processing or network behavior. In other words, it is a pure extension of the EIP-778 specification.

Why a single key holding an RLP list

Rather than splitting name, version, and build version into separate keys, they were bundled under a single client key to save space. However, since encoding a single value as a single string diverges from the style of other EIPs with similar goals, an RLP list encoding was chosen instead.

Security: identity exposure and the limits of self reporting

If the client name and version are exposed, they could be used to select attack targets by exploiting known vulnerabilities in a specific version. The spec therefore states that operators must be able to disable or anonymize this information. It also stresses that because this value is self reported by the node, it MUST NOT be used for any purpose requiring trust.

Encoding examples from the test cases

A Geth 1.10.0 node would be recorded as ["Geth", "1.10.0"], and an experimental Nethermind build as ["Nethermind", "1.9.53", "7fcb567"]. The original text also includes an actual example ENR string containing this value; decoding it shows the client value as ASCII bytes alongside existing fields such as seq, signature, id, and secp256k1.

A withdrawn proposal

This EIP was authored on 2024-02-25 and its status is Withdrawn. The stated reason for withdrawal is lack of use and conflicts with some client developers regarding its practicality. In other words, this design was never applied to the live network.

Original EIP · ← EIPs