Harden relay TLS, rate limits, URL safety, P2P privacy, and CLI inputs (Audit Batch 2A)
Harden relay TLS, rate limits, URL safety, P2P privacy, and CLI inputs (Audit Batch 2A)
Harden core crypto zeroization and URI parsing, relay TLS and rate limits, URL safety, runtime failover and permissions, P2P privacy defaults, and CLI secret inputs (Audit Batch 2A).
- Core (
tendril-core,spec/): wrapsnowNoise DH, cipher, and hash resolvers and plaintext buffers in zeroizing wrappers, addauthorize_pathcanonicalization helpers, and enforce strictPairingUri,PairClaim, andHostHellocontrol-character and field validation. - Relay and URL validation (
tendril-relay,tendril-runtime,tendril-wasm): partitionPreAuthRateLimiterbetween trusted and untrusted (Relay/Broker) streams with unattributed burst/half-open caps and per-peer caps; enforce per-EndpointIdconcurrency bounds onP2pListener; normalize IPv6/64rate-limit buckets and eviction overflow; add nativerustlsTLS (--tls-cert/--tls-key) and--trusted-proxyright-to-left IP extraction totendril-relay; validate WebSocket andirohrelay URLs and filter private?addr=hints on dialed endpoints. - P2P privacy, runtime, and CLI (
tendril-runtime,tendril-wasm,tendril-cli,docs/): defaultP2pOptionsforP2pRelayMode::CustomandP2pDialertopresets::MinimalwithoutPkarrPublisher, omit?addr=hints informat_p2p_endpointby default, add Noise-gateddial_with_policy_verifiedandSessionDriver::connect_with_policy, enforceDEFAULT_PRE_AUTH_TIMEOUTindrive_pair_initiator, harden Unix socket binding andStateStorepermissions/locking, and add CLI--p2p-relay,--no-pkarr,--ephemeral-p2p,--include-direct-addrs,--code-stdin,--code-file, andTENDRIL_PAIR_CODEsupport.
Connections
Local graphNo pages link here yet.