RFC-22: IP Ownership Verification Service for user connection#2304
Open
juan-malbeclabs wants to merge 5 commits into
Open
RFC-22: IP Ownership Verification Service for user connection#2304juan-malbeclabs wants to merge 5 commits into
juan-malbeclabs wants to merge 5 commits into
Conversation
880dbba to
5eb6bcc
Compare
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.
Adds RFC-22, which specifies an IP Ownership Verification step for DoubleZero user creation: an external IP Verification Service issues a signed
IpOwnershipProofthat the serviceability program validates onchain before binding aclient_ip.RFC:
rfcs/rfc22-ip-verification.mdSummary
0.0.0.0/allow_multiple_ip, including theEdgeSeatpasses issued by the shred-oracle) the program accepts any globally-routableclient_ipwithout verifying control of it (create_core.rs:173-183;is_globalonly checks routability). The proof re-introduces the missing per-IP control, closing IP squatting/DoS (User PDA is keyed by(client_ip, user_type)) and traffic-misdirection risks.Changes vs. previous revision
client_ip: u32→Ipv4Addr), and filled the empty template sections (New Terminology, Alternatives Considered, Impact).Testing Verification
rfcs/rfc0-template.md(all sections present, none empty), the mermaid diagram is well-formed, and no stale "RFC 11/12" references to this RFC remain inrfcs/orCHANGELOG.md.create_core.rs:173-183,state/user.rs:381,processors/accesspass/set.rs, the CLIconnect/check_accesspasspath, and theshred-oracleEdgeSeat flow indoublezero-shreds.