150 Commits

Author SHA1 Message Date
anonpenguin23
d811810f17 refactor(remotessh): use rwagent directly instead of rw CLI subprocesses
- replace `rw vault ssh` calls with `rwagent.Client` in PrepareNodeKeys,
  LoadAgentKeys, EnsureVaultEntry, ResolveVaultPublicKey
- add vaultClient interface, newClient func, and wrapAgentError for
  testability and improved error messages
- prefer pre-built systemd dir in installNamespaceTemplates
2026-03-20 07:23:10 +02:00
anonpenguin23
9a04024b79 refactor(sandbox): integrate rootwallet SSH keys
- replace standalone sandbox keys with "sandbox/root" vault entry
- update inspector config to use vault targets (no passwords/keys)
- make sandbox default active environment
- add vault helpers and tests for remotessh
2026-03-10 05:25:41 +02:00
anonpenguin23
48d834ae09 feat(monitor): add sandbox environment support
- load nodes from active sandbox state for env=sandbox
- extract fanoutArchive for efficient server-to-server distribution
2026-03-09 10:19:40 +02:00
anonpenguin23
8bc94eeab2 docs: add security hardening and OramaOS deployment docs
- Document WireGuard IPv6 disable, service auth, token security, process isolation
- Introduce OramaOS architecture, enrollment flow, and management via Gateway API
- Add troubleshooting for RQLite/Olric auth, OramaOS LUKS/enrollment issues
2026-02-28 15:41:04 +02:00
anonpenguin23
986212d4d4 feat(security): add manifest signing, TLS TOFU, refresh token migration
- Invalidate plaintext refresh tokens (migration 019)
- Add `--sign` flag to `orama build` for rootwallet manifest signing
- Add `--ca-fingerprint` TOFU verification for production joins/invites
- Save cluster secrets from join (RQLite auth, Olric key, IPFS peers)
- Add RQLite auth config fields
2026-02-28 15:40:43 +02:00
anonpenguin23
f71593af4a feat: add sandbox command and vault guardian build
- integrate Zig-built vault-guardian into cross-compile process
- add `orama sandbox` for ephemeral Hetzner Cloud clusters
- update docs for `orama node` subcommands and new guides
2026-02-27 15:22:51 +02:00
anonpenguin23
f9f1b77bc2 feat: add secrets and triggers management to function commands
- Introduced `secrets` command for managing function secrets, including set, list, and delete operations.
- Added `triggers` command for managing PubSub triggers associated with functions, allowing addition, listing, and deletion of triggers.
- Implemented API handlers for secrets management, including setting, listing, and deleting secrets.
- Updated serverless handlers to support new secrets and triggers functionalities.
- Enhanced tests for the new features, ensuring proper functionality and error handling.
2026-02-23 19:18:39 +02:00
anonpenguin23
7cbef1beae feat: add TURN domain configuration and certificate provisioning via Caddy 2026-02-23 16:57:29 +02:00
anonpenguin23
b4a51576d8 Bump version to 0.112.2 and update TURN server configuration
- Updated version in Makefile to 0.112.2.
- Enhanced SFU server error handling to ignore http.ErrServerClosed.
- Added TURNS (TURN over TLS) configuration options in TURN server and related components.
- Updated firewall rules to include TURNS ports and modified related tests.
- Implemented self-signed certificate generation for TURNS.
- Adjusted TURN server to support both UDP and TCP listeners.
- Updated WebRTC and SFU components to accommodate new TURNS configurations.
2026-02-23 16:32:32 +02:00
anonpenguin23
7f1b5c267d feat: update WebRTC handlers to support dynamic SFU host configuration and add monitoring script 2026-02-23 06:30:57 +02:00
anonpenguin23
ee12da0315 feat: add WebRTC configuration support for gateway instances 2026-02-22 13:11:16 +02:00
anonpenguin23
99b4a319f8 feat: enhance WebRTC port allocation with existing allocation checks and increase upload timeout 2026-02-22 11:39:59 +02:00
anonpenguin23
e23b62eec4 feat: implement PubSub trigger management with API endpoints for adding, listing, and removing triggers 2026-02-21 16:26:36 +02:00
anonpenguin23
16733c3240 feat: add WebRTC feature management commands and public API endpoints for enabling, disabling, and checking status 2026-02-21 13:14:46 +02:00
anonpenguin23
6cb7661183 feat: implement SFU and TURN server functionality
- Add signaling package with message types and structures for SFU communication.
- Implement client and server message serialization/deserialization tests.
- Enhance systemd manager to handle SFU and TURN services, including start/stop logic.
- Create TURN server configuration and main server logic with HMAC-SHA1 authentication.
- Add tests for TURN server credential generation and validation.
- Define systemd service files for SFU and TURN services.
2026-02-21 11:17:13 +02:00
anonpenguin23
b1edcd9e9d feat: enhance namespace management with cluster state deletion and improved deprovisioning process 2026-02-21 06:41:19 +02:00
anonpenguin23
124816f662 Enhance health checker and deployment handling
- Added support for "degraded" deployment status in types.
- Updated health checker initialization to include process manager and node ID.
- Refactored health checker tests to accommodate new process manager functionality.
- Implemented logic to handle unhealthy deployments, including restart and failure marking.
- Enhanced deployment reconciliation to manage under-replicated scenarios.
- Updated gateway handlers and middleware to consider "degraded" status in deployment queries.
2026-02-20 09:44:07 +02:00
anonpenguin23
ed28d40103 feat: implement suspect node handling with callbacks for DNS record management 2026-02-20 09:27:35 +02:00
anonpenguin23
a93ca16b34 feat: add RQLite export/import functionality and related handlers + Deployments DNS Fixes 2026-02-20 07:29:18 +02:00
anonpenguin23
ebb0e33da8 Implement WireGuard peer authentication and enhance internal request validation 2026-02-19 06:43:06 +02:00
anonpenguin23
9f668cefa4 Bug fixing 2026-02-18 11:20:16 +02:00
anonpenguin23
2ac9e92cea Namespace bug fix and fixing bugs on serverless and deployments 2026-02-17 15:57:32 +02:00
anonpenguin23
e1a5f2f843 A ton of updates on the monitoring mostly bug fixes 2026-02-16 16:35:29 +02:00
anonpenguin23
f9da3b601d Moved everything to root user and to /opt/orama from home/orama/.orama 2026-02-14 14:33:38 +02:00
anonpenguin23
17148dcc5a Renamed debros to orama 2026-02-14 14:14:04 +02:00
anonpenguin23
feb894d661 Bro i did so many things to fix the problematic discovery and redeployment and i dont even remember what i did 2026-02-14 10:56:26 +02:00
anonpenguin23
a40e140a3a Writing more tests and fixed bug on rqlite address 2026-02-13 16:18:22 +02:00
anonpenguin23
35572d2aca Security audit, code cleanup 2026-02-13 14:33:11 +02:00
anonpenguin23
59c1d8b37a Improved health check , plus bug fixing 2026-02-13 13:40:33 +02:00
anonpenguin23
9d13b085ac Did a lot of cleanup and bug fixing 2026-02-13 12:47:02 +02:00
anonpenguin23
392eeb6cdc Auto node recovery and failover if node is dead, added wallet authentication with phantom and root wallet + cluster repair logic 2026-02-13 08:16:01 +02:00
anonpenguin23
9d83d2e8a7 Fixed firewall problem with anyone rellay and added authentication with root wallet 2026-02-13 07:38:54 +02:00
anonpenguin23
d924c44886 Improved collector added anyone on health check 2026-02-12 09:36:07 +02:00
anonpenguin23
989be553d2 created patch and fixed authentication issue for ipfs bug and cross node communication 2026-02-12 07:40:43 +02:00
anonpenguin23
3f10ebdbd3 Did a small refactor, code clean, remove dead code, legacy etc 2026-02-11 07:43:33 +02:00
anonpenguin23
0e7eeb18a9 Removed dead code 2026-02-11 07:24:27 +02:00
anonpenguin23
591719b1e3 Fixed bug on spawn handler and cluster manager 2026-02-11 06:44:07 +02:00
anonpenguin23
7b89e1b179 Added failover for namespaces 2026-02-10 17:32:29 +02:00
anonpenguin23
b55b5098f8 Updated health check 2026-02-10 16:40:01 +02:00
anonpenguin23
badab81868 Fixed bug on limiting to 10 nodes on cluster because of WG 2026-02-09 09:12:08 +02:00
anonpenguin23
1d7db6d723 Rate limit fixes 2026-02-06 11:09:34 +02:00
anonpenguin23
f0f680090d Improved performance on request journey with cache and some tricks 2026-02-06 08:30:11 +02:00
anonpenguin23
03203defcb Fixed bugs on pubsub and ipfs 2026-02-06 07:21:26 +02:00
anonpenguin23
327dfab757 More bug fixing 2026-02-05 16:12:52 +02:00
anonpenguin23
1a29c01b42 Updated the way we spawn services on namespace added systemd 2026-02-04 17:17:01 +02:00
anonpenguin23
4d6c525383 Bored of fixing bugs 2026-02-04 16:14:49 +02:00
anonpenguin23
c61180d738 Bug fixing 2026-02-03 17:27:36 +02:00
anonpenguin23
22e60652a5 Bug fixing 2026-02-03 13:59:03 +02:00
anonpenguin23
856ef04272 DNS Bug Fixing Filtering out private WG ip's 2026-02-03 07:01:54 +02:00
anonpenguin23
cf065f79d8 Bug fixing 2026-02-02 16:18:13 +02:00