HIP: Handshake P2P Rendezvous and Authenticated Service Relay - #78
Draft
denuoweb wants to merge 7 commits into
Draft
HIP: Handshake P2P Rendezvous and Authenticated Service Relay#78denuoweb wants to merge 7 commits into
denuoweb wants to merge 7 commits into
Conversation
This was referenced Jul 21, 2026
denuoweb
marked this pull request as ready for review
July 21, 2026 20:28
denuoweb
marked this pull request as draft
July 23, 2026 00:31
This was referenced Jul 23, 2026
Author
|
@pinheadmz — requesting scope and protocol review of the node-rendezvous layer first. The implementation in handshake-org/hsd#960 has now been reduced to unnamed HNS_NODE_V1; named services and web transport are held out of that review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This HIP defines an optional Handshake rendezvous and authenticated relay system for peers that cannot accept direct inbound connections. The broad design covers several layers, but they are not one merge unit:
HNS_NODE_V1);HNS_WEB_V1transport and browser-origin rules; andThe node-rendezvous layer has the clearest network-level value and is the only layer currently submitted for upstream implementation review.
Current review scope
hsddraft: net: add experimental HNS node rendezvous and relay hsd#960hsd#960 now stops before the named-service implementation. Named-service authorization and browser/web transport should receive separate proposals and threat-model review after the node layer is evaluated.Evidence boundary
The node-only branch has 65 passing focused HNSR, Brontide, and network tests. Its eight-FullNode regtest exercises iterative discovery, four-copy route publication, reservation renewal and withdrawal, rendezvous loss, first-relay failover, bounded admission and queues, an inner Brontide session, 1,000 ordinary pings, and a mined block delivered only over the inner peer.
The retained research branches additionally exercise named services, bounded web transport, persistent routing, twelve local processes, saturation, and an Android protocol diagnostic. Those are engineering results from controlled environments, not evidence of independent operators or public-network readiness.
Deployment gates
Before any public-network proposal, the work still needs:
No permanent service-bit or packet-type assignments are requested by this draft. The implementation uses private experimental values and rejects mainnet.
Program relationship
See the canonical program architecture and review order. HNSR is independent of Native Recursive Name Coins and is a separate optional rendezvous track from the DNS relay/ODoH stack.
Requested review focus: @pinheadmz for protocol scope and @nodech for the node-rendezvous implementation.