Releases: Olib-AI/ConnectionPool
Releases · Olib-AI/ConnectionPool
v1.1.0
Concurrency Fixes
- ConnectionPoolConfiguration — Logger access is now protected by
NSLock(was an unguardednonisolated(unsafe)mutable global) - MeshTopology — Removed TOCTOU-prone computed property wrappers that acquired the lock twice on read-modify-write
- Peer — Replaced
static varcache withstatic letclosure for thread-safe one-time initialization - ConnectionPoolManager — Delayed Tasks are now tracked and cancelled on disconnect, preventing stale operations on rapid reconnect cycles
- UncheckedSendableBox — Added safety documentation
v1.0.0
ConnectionPool v1.0.0
Initial public release — secure local P2P mesh networking for iOS and macOS.
Features
- MultipeerConnectivity-based local P2P networking (up to 8 peers)
- Mesh networking with multi-hop relay routing (BFS pathfinding)
- Separate relay service type (
stealthos-rly) — no DTLS conflicts - DTLS encryption enforced on all sessions
- HMAC-SHA256 envelope integrity protection
- Host-side pool code authentication (never broadcast via Bonjour)
- Brute-force protection with persistent attempt tracking and auto-blocking
- Per-peer rate limiting (5s cooldown)
- 10 MB inbound message size limit
- Relay envelope with TTL, loop prevention, and deduplication cache
- Topology broadcasts with freshness validation
- Device block list with pluggable secure storage
- Multiplayer game service
- Configurable logging via protocol injection
- Zero external dependencies
Security
- 3 laps of security audits completed
- All CRITICAL, HIGH, and MEDIUM findings resolved
- Ready for public audit
Requirements
- iOS 17.0+ / macOS 14.0+
- Swift 6.0+
- Xcode 16+