RPP Mesh - Consent-aware overlay network extension for RPP
Project description
RPP Mesh
Consent-Aware Overlay Network for RPP
RPP Mesh extends the Rotational Packet Protocol with network-level consent enforcement. Instead of checking consent only at the application layer, mesh nodes inspect RPP headers and enforce ACSP states at every hop.
Installation
pip install rpp-mesh
For WebSocket support (consent streaming from HNC):
pip install rpp-mesh[websockets]
Quick Start
from rpp_mesh import (
RPPMeshTransport,
RPPMeshConfig,
DeploymentConfig,
DeploymentMode,
load_config,
)
# Load production config
config = load_config("production")
# Or configure manually
config = DeploymentConfig(
mode=DeploymentMode.RPP_MESH,
rpp_mesh=RPPMeshConfig(
ingress_nodes=["mesh.example.com:7700"],
consent_update_endpoint="wss://hnc.example.com/consent",
)
)
# Create transport
transport = RPPMeshTransport(config.rpp_mesh)
# Connect to mesh
await transport.connect()
# Send packet (consent enforced at network level)
response = await transport.send(
rpp_address=0x0182801, # shell=0, theta=12, phi=40, harmonic=1
payload=b"fragment data"
)
await transport.disconnect()
Architecture
┌────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌────────┐
│ Client │────▶│ Ingress │────▶│ Sector │────▶│ Consent │────▶│ Portal │
│ │ │ Node │ │ Router │ │ Gate │ │ Host │
└────────┘ └─────────┘ └─────────┘ └─────────┘ └────────┘
│ │
Routes by θ/φ Enforces ACSP
Node Types
| Node | Purpose |
|---|---|
| Ingress | Entry point, validates headers, routes to sector |
| Sector Router | Geometric routing by theta/phi ranges |
| Consent Gate | Enforces ACSP: PASS/DELAY/DROP/FREEZE |
| Portal Host | Final destination, executes fragments |
Consent States
| State | Action | Description |
|---|---|---|
FULL_CONSENT |
PASS | Packet forwarded immediately |
DIMINISHED_CONSENT |
DELAY | Held, re-checked after backoff |
SUSPENDED_CONSENT |
DROP | Dropped, logged to SCL |
EMERGENCY_OVERRIDE |
FREEZE | Alert HNC, quarantine |
Mesh Header Format
16-byte header prepended to RPP packets:
┌───────┬───────┬───────────────┬─────────────────────────────┐
│ Ver │ Flags │ Consent State │ Soul ID (16b) │
│ (4b) │ (4b) │ (8b) │ │
├───────┴───────┴───────────────┴─────────────────────────────┤
│ Hop Count │ TTL │ Coherence Hash │ Reserved │
│ (8b) │ (8b) │ (16b) │ (16b) │
└───────────┴───────┴────────────────┴─────────────────────────┘
Deployment Modes
from rpp_mesh import DeploymentMode, load_config
# Development: Direct connection, no mesh
config = load_config("development")
# Staging: VPN tunnel
config = load_config("staging")
# Production: Full RPP Mesh
config = load_config("production")
Requirements
- Python 3.9+
- rpp-protocol >= 0.1.9
- Optional: websockets for HNC consent streaming
Documentation
License
Apache 2.0
Citation
Lennon, A. L. (2025). RPP Mesh: Consent-Aware Overlay Network.
Extension to Rotational Packet Protocol (RPP).
https://github.com/anywave/rpp-spec
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rpp_mesh-0.1.0.tar.gz.
File metadata
- Download URL: rpp_mesh-0.1.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b93f111b5c91f620fa5cc890af8d74e465876b19a78ddcd7ee35c6346c32c221
|
|
| MD5 |
d63cc9a5565b764603f96ab0f356ddc3
|
|
| BLAKE2b-256 |
b0c38aab0a5380157c3c57dd87832062135289b9d30cf871d7f496e6fd3f993d
|
Provenance
The following attestation bundles were made for rpp_mesh-0.1.0.tar.gz:
Publisher:
mesh-ci.yml on anywave/rpp-spec
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rpp_mesh-0.1.0.tar.gz -
Subject digest:
b93f111b5c91f620fa5cc890af8d74e465876b19a78ddcd7ee35c6346c32c221 - Sigstore transparency entry: 780857098
- Sigstore integration time:
-
Permalink:
anywave/rpp-spec@48c25e10783c5fbc87e06d5db15afcf62afc434f -
Branch / Tag:
refs/tags/mesh-v0.1.0 - Owner: https://github.com/anywave
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
mesh-ci.yml@48c25e10783c5fbc87e06d5db15afcf62afc434f -
Trigger Event:
push
-
Statement type:
File details
Details for the file rpp_mesh-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rpp_mesh-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71d7ba02e7cef638353773ce508737ea34182730ddc835f9667f8bbf7a99eb77
|
|
| MD5 |
dc2b41ed9e1409e8a426611e873010a3
|
|
| BLAKE2b-256 |
af12bff008cd6e46a0feb6798095d067786e15594ed15f399d7ffb0c435e8b0f
|
Provenance
The following attestation bundles were made for rpp_mesh-0.1.0-py3-none-any.whl:
Publisher:
mesh-ci.yml on anywave/rpp-spec
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rpp_mesh-0.1.0-py3-none-any.whl -
Subject digest:
71d7ba02e7cef638353773ce508737ea34182730ddc835f9667f8bbf7a99eb77 - Sigstore transparency entry: 780857099
- Sigstore integration time:
-
Permalink:
anywave/rpp-spec@48c25e10783c5fbc87e06d5db15afcf62afc434f -
Branch / Tag:
refs/tags/mesh-v0.1.0 - Owner: https://github.com/anywave
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
mesh-ci.yml@48c25e10783c5fbc87e06d5db15afcf62afc434f -
Trigger Event:
push
-
Statement type: