CTO TECHNICAL BLUEPRINT • FIBEROPS v4.0

Complete Multi-Tenant ISP Platform & Hardware Orchestration Architecture

End-to-end engineering specification of how Benteng Siber orchestrates 3-level Multi-Tenant governance, Multi-Router MikroTik RouterOS v7 POP fleets, live OLT/GenieACS optical gates, Global Stripe USD & Midtrans QRIS auto-unblock, Hybrid GPS offline mobile sync, and SHA-256 public BAST certificates—available via Managed Cloud ($500–$1,000/mo) or Full Setup ($2,500).

5 + 1 Roles
Tenant ISP 5-Role RBAC + Root Master Platform
< 150 ms
Provider-Locked Webhook ACK via ShouldQueue
< 3 Seconds
Stripe USD / QRIS Settlement → MikroTik Unblock
97 Tests
963 Automated Security, FSM & Hardware Assertions

1. 4-Tier End-to-End Carrier System Topology

FiberOps v4.0 strictly separates real-time human workflows from high-latency telecom hardware I/O. Every mobile tap, admin dispatch, and payment callback passes through Zero-Trust tenant resolution, atomic Cache::lock idempotency, and MySQL row locks before delegating router and ACS calls to resilient ShouldQueue workers.

TIER 1 • PORTALS & APPS TIER 2 • ZERO-TRUST CORE TIER 3 • ASYNC WORKERS TIER 4 • HARDWARE & FINTECH Platform Master Console /master-admin • Root HQ ISP 5-Role NOC Console Dispatch • GIS • 4s Pulse Technician PWA & APK Hybrid GPS • FIFO Queue Public Subscriber Portals /request • /track • /bast LARAVEL 10 + SANCTUM Zero-Trust Domain Core IdentifyTenant + TenantScope Cache::lock Idempotency TaskStateMachine + BOM Lock AES-256 Vault + SHA-256 Log SHOULDQUEUE Async Job Workers • UnIsolateCustomer • ProvisionPppoe • DispatchWebhook • CustomerNotify Backoff: 5s / 30s / 120s Multi-Router MikroTik RouterOS v7 REST • POP Fleet 1-Click Sync • Auto-Unblock OLT / GenieACS TR-069 Live ONT Rx Power (-dBm) Strict ONT SN Gate (HTTP 422) Stripe USD + Midtrans HMAC-SHA256 & SHA-512 Provider-Locked Webhooks

2. 3-Level Multi-Tenant Isolation & 5+1 RBAC Architecture

Whether you operate Benteng Siber as a multi-tenant ISP cloud platform ($500–$1,000/mo per ISP) or deploy a dedicated single-tenant white-label stack ($2,500 Full Setup), authorization and database boundaries are enforced across three strict tiers:

LEVEL 0 • PLATFORM HQ

Platform Owner Console

Exclusive Root Tenant (tenant_id = 1) governance at /master-admin, protected by isPlatformOwner() and optional PLATFORM_OWNER_EMAILS env allowlist.

  • Live tenant fleet metrics & usage tracking
  • 1-click tenant Suspend / Reactivate & plan upgrade
  • Immutable SHA-256 hash-chained audit ledger
LEVEL 1 • ISP TENANT CLOUD

Isolated ISP Workspace (5 Roles)

Each subscribed ISP receives a cryptographically partitioned workspace (tenant_id = 2, 3...) via Eloquent TenantScope & route-model anti-IDOR guards.

  • Zero cross-tenant SQL/API leakage
  • Dedicated AES-256 router & payment vault
  • Canonical quota enforcer (Tenant::planLimits)
LEVEL 2 • SUBSCRIBER EDGE

Public Zero-Auth Portals

Token-scoped public interfaces that redact internal warehouse costs, private staff PII, and expire tracking links automatically 24 hours post-completion.

  • /request — Branded service request inbox
  • /track/{token} — Live GPS ETA & CSAT rating
  • /bast/verify/{hash} — Public QR BAST seal
Role Portal / App Operational Scope & Security Guardrails
Platform Owner /master-admin Root HQ only (isPlatformOwner()). Manages all ISP tenants, subscription quotas (Starter 10/100, Growth 40/500, Full Setup Unlimited), suspensions, and global audit chain verification.
Super Admin (ISP) Web Admin Portal Full tenant-scoped NOC control: AES-256 MikroTik POP fleet, OLT/GenieACS, Stripe/Midtrans keys, staff RBAC accounts, CSV exports (Excel formula-injection neutralized), and SLA rules.
NOC Dispatcher Web Admin Portal Live GPS technician radar, nearest-tech auto-dispatch, GIS OLT/ODC/ODP port occupancy, 1-click MikroTik PPPoE sync, CSV subscriber import, and SLA escalation sweeps.
Warehouse Admin Web Admin Portal Manages ONT serial stocks, drop-core fiber cables, patch cords, splice sleeves, atomic BOM stock adjustments, and inventory audit exports.
Field Supervisor Web Admin Portal Monitors real-time field fleet map, reviews 3-slot optical -dBm photo proofs, validates OLT telemetry, approves BAST seals, or issues formal rework orders.
Field Technician Mobile PWA / APK Ionic 8 / Angular 20 / Capacitor 8 app. Strict ownership guard (HTTP 403 on other techs' tickets), Hybrid GPS, offline FIFO queue, on-site Stripe/QRIS checkout, Sign-on-Glass.

3. Multi-Router POP Fleet & OLT/GenieACS Hardware Orchestrator

Regional ISPs rarely run a single router. FiberOps v4.0 includes a dedicated Multi-Router POP Fleet architecture (tenant_routers) plus live optical telemetry verification—replacing manual Winbox edits and unverified field installations:

MIKROTIK ROUTEROS v7 REST FLEET

Multi-POP Router Orchestration

Register unlimited district POP routers with per-router isolation profiles (e.g., ISOLIR), automatic default failover promotion, and 1-click live connectivity tests.

  • AES-256 Encrypted Passwords: Decrypted only in memory inside queue workers.
  • SSRF Perimeter Guard: Blocks loopback (127.0.0.1, ::1) and cloud metadata (169.254.169.254) hosts.
  • 1-Click PPPoE Sync & CSV Import: Pulls up to 500 active/isolated PPPoE secrets directly from RouterOS or auto-detects comma (,) and semicolon (;) CSV files.
OLT & GENIEACS TR-069 GATE

Strict Optical Power (-dBm) Enforcement

Before a technician can close an FTTH activation or LOS outage ticket, OltService verifies real-time ONT health directly against the tenant's ACS/OLT controller.

  • Zero Silent Bypass: If OLT gate is enabled and a task links a subscriber or ODP node without an ont_serial_number, completion fails closed with HTTP 422.
  • Attenuation Threshold: Rejects poor fiber splices worse than the configured ceiling (default -27.0 dBm) or offline ONTs.
  • Permanent Seal: Live Rx/Tx dBm readings are stamped onto the task and embedded in the SHA-256 BAST certificate.

4. Global Payment Gateway Orchestration (Stripe USD + Midtrans QRIS)

FiberOps v4.0 eliminates field cash leakage for both global USD/EUR/GBP/AUD ISPs and Indonesian IDR ISPs via a pluggable, provider-locked payment architecture:

Stripe Checkout (Cards, Apple Pay, Google Pay, Link) Midtrans Core API (Dynamic QRIS) Zero-Config Simulator Mode Currency-Aware Min Validation (USD $1 / IDR 1,000)
01

Currency-Aware On-Site Invoice Generation

Technician or NOC generates a live payment link/QR in the tenant's currency (USD, EUR, GBP, AUD, or IDR). StripePaymentDriver applies official Stripe minor-unit rules (two-decimal vs. zero-decimal currencies) with zero external SDK bloat.

02

Provider-Locked Cryptographic Webhook (< 150 ms)

/api/webhooks/stripe verifies HMAC-SHA256 Stripe-Signature (with 5-minute replay guard) strictly against StripePaymentDriver; /api/webhooks/payment locks verification to each transaction's original provider (Midtrans SHA-512 vs. Simulator)—blocking cross-driver forgery even if settings change mid-flight.

03

Atomic Settlement & Async MikroTik Auto-Unblock

Inside a row-locked DB transaction (lockForUpdate()), exact gross_amount is validated, status flips to paid idempotently, and UnIsolateCustomerOnPaymentJob dispatches afterCommit() with tries=3 exponential backoff (5s / 30s / 120s).

04

3-Second Live Sync + Customer Receipt Notification

The technician's PWA (with bounded, tab-visibility-aware polling) and NOC Live Pulse flip to PAID & ACTIVE automatically while sending payment confirmation to the subscriber.

5. Deterministic Work Order FSM & Atomic Concurrency Engine

Work orders cannot jump randomly between statuses. Every transition executes inside TaskStateMachine::transition() under pessimistic row locking (Task::lockForUpdate()), appending an immutable entry to task_status_histories:

pending Intake / Queue
→
assigned Tech Dispatched
→
accepted Tech Confirmed
→
on-going Geofence Checked
→
completed BAST SHA-256 Sealed
rejected Declined / Re-queued
Admin Override Guard: Portal staff can reopen or override transitions only with an explicit audit reason, automatically resealing BAST & rolling back ODP ports atomically.
3 Concurrency & Boundary Hardening Guarantees:
  • Atomic Cache::lock Idempotency Middleware: Serializes simultaneous < 50ms double-taps sharing the same Idempotency-Key per tenant/user/path and replays cached 2xx responses with X-Idempotent-Replay: true.
  • Pessimistic BOM & ODP Locking: Warehouse material deductions and ODP port increments run inside lockForUpdate() transactions—preventing negative stock or double-booked ODP ports.
  • Equator & Prime Meridian Exact Coordinates: Geofence validation uses strict null checks (latitude === null) so sites at 0.0° (Indonesia, Kenya, Ecuador, Brazil) enforce GPS radius checks reliably.

6. Interactive Production Payload & API Contract Inspector

Inspect the exact JSON structures, cryptographic headers, and hardware payloads exchanged across FiberOps v4.0 in production. Select any integration contract below:

GET /bast/verify/8f4c9a12...92e1 • Public Cryptographic Certificate
{
  "certificate_status": "VERIFIED_AUTHENTIC",
  "task_code": "#TSK-04182",
  "tenant": "Global Fiber Networks LLC",
  "optical_gate": {
    "source": "OLT_GENIEACS_TR069",
    "ont_serial_number": "ZTEG00112233",
    "rx_power_dbm": -18.42,
    "max_attenuation_dbm": -27.0,
    "tolerance_pass": true
  },
  "mikrotik_sync": { "router_code": "POP-WEST-01", "pppoe_state": "ACTIVE", "unblock_ms": 2140 },
  "payment_settlement": { "provider": "stripe", "currency": "USD", "amount": 49.00, "status": "paid" },
  "sha256_seal": "8f4c9a12d7e5b04f3c81a9e2b4d7c1094a21f38e7e19c4b092e1"
}
POST /api/webhooks/stripe • Header: Stripe-Signature: t=...,v1=hmac_sha256
{
  "id": "evt_1Q9xFiberOpsSettled2026",
  "type": "checkout.session.completed",
  "data": {
    "object": {
      "client_reference_id": "STR-4182-A8F9K2M1",
      "payment_status": "paid",
      "currency": "usd",
      "amount_total": 4900,
      "metadata": { "tenant_id": "2", "task_id": "4182" }
    }
  }
}
PATCH https://10.20.30.1/rest/ppp/secret/*1A • Async UnIsolateCustomerOnPaymentJob
{
  "profile": "FTTH-100MBPS-HOME",
  "disabled": "false",
  "comment": "Auto-restored by FiberOps v4.0 | Ref: STR-4182-A8F9K2M1",
  "_worker_meta": {
    "queue": "default",
    "tries": 3,
    "backoff_sec": [5, 30, 120],
    "active_session_drop": "DELETE /rest/ppp/active/*8F (forces instant reconnect)"
  }
}
OltService::assertOpticalHealth("ZTEG00112233", -27.0) • Pre-Completion Gate
{
  "driver": "genieacs_tr069",
  "ont_serial_number": "ZTEG00112233",
  "online": true,
  "rx_power_dbm": -19.15,
  "tx_power_dbm": 2.34,
  "temperature_c": 44.2,
  "gate_result": "PASS (within -27.0 dBm optical budget)"
}
POST /api/location/batch • Header: Idempotency-Key: uuid-v4
{
  "points": [
    {
      "client_uuid": "7f2c1b04-91a2-4c0e-b8a1-3d210f4c19a0",
      "latitude": -6.208812,
      "longitude": 106.845599,
      "accuracy_m": 14.2,
      "task_id": 4182,
      "source": "background",
      "captured_at": "2026-11-23T05:14:22.000Z"
    }
  ]
}

7. Hybrid Mobile GPS & Zero-Loss Offline-First Sync Engine

Built with Ionic 8, Angular 20, and Capacitor 8, the Technician PWA & Android APK is built to survive basements, rural FTTH enclosures, indoor concrete buildings, and spotty 3G/4G towers without dropping field evidence:

STAGE 1 • SATELLITE

High-Accuracy GPS Lock

Requests hardware GNSS fix (enableHighAccuracy: true, 8s timeout) for precise pole/ODP coordinates and geofence verification.

STAGE 2 • AUTO FALLBACK

Wi-Fi & Cell Network Location

Indoors or on desktop browsers where satellite times out, automatically falls back to network triangulation (accepting up to 10km with honest indoor accuracy badges).

STAGE 3 • SANDBOX READY

Smooth Demo Mode Telemetry

In evaluation mode (?demo=1), synthesizes realistic live coordinates when no sensor exists so live prospect demos never flash false GPS errors.

  • Mutex-Locked FIFO Offline Queue (flushOfflinePromise): Compresses field proof photos via HTML5 Canvas, persists accept/start/progress/proof/BOM/signature/complete mutations locally with UUIDv4 Idempotency-Keys, and coalesces reconnect triggers so zero duplicate uploads occur.
  • Zero Data Loss on Auth/Throttle (401/403/408/429): Offline work orders are never discarded if a Sanctum token expires or a server rate-limits during a long underground shift—queue replay simply pauses safely until re-authentication.
  • True 2-Way Manual Sync & Battery Discipline: Manual Sync flushes pending offline mutations + buffered GPS first before pulling fresh dispatches; background polling pauses automatically when document.hidden is true, and Web Audio alert contexts close cleanly via osc.onended.

8. Deployment Models & Production Infrastructure Sizing

Launch in 60 seconds on Benteng Siber Managed Cloud ($500/mo Starter or $1,000/mo Growth), or commission a $2,500 Full Setup deployed directly onto your ISP's own Linux VPS or on-premise data center in 7 days:

ISP Scale Tier Recommended Compute Database & Queue Stack Recommended Commercial Model
Local WISP / Starter
Up to 3,000 Subscribers
2 vCPU • 4 GB RAM
40 GB NVMe SSD
MySQL 8.0 + Supervisor Queue Worker (PHP 8.2, Nginx TLS 1.3) Starter Cloud ($500/mo) or Full Setup ($2,500)
Regional FTTH Operator
3,000 – 15,000 Subscribers
4 vCPU • 8 GB RAM
100 GB NVMe SSD
MySQL 8.0 + Redis Cache/Lock + 2–4 Supervisor Queue Workers Growth Cloud ($1,000/mo) or Full Setup ($2,500)
Multi-Region Carrier
15,000 – 50,000+ Subscribers
8 vCPU • 16 GB RAM
Managed DB + Object Storage
HA Load Balancer, Managed MySQL Replica, Redis Cluster, S3 Proof Archive Full Setup ($2,500) + Optional Managed SLA ($500–$1,000/mo)

9. Continuous Automated Verification & Audit Proof

Every release of Benteng Siber FiberOps v4.0 is gated by an automated full-stack test suite covering multi-tenant isolation, security hardening, hardware orchestration, payment webhooks, and production TypeScript/Angular builds:

✓ 97 PHPUnit Feature & Security Tests Passed ✓ 963 Automated Assertions Verified ✓ Zero Cross-Tenant IDOR / SSRF Leaks ✓ Ionic 8 / Angular 20 Strict Production Build

Deploy FiberOps v4.0 on Cloud ($500–$1,000/mo) or Full Setup ($2,500)

Start an isolated 14-day cloud trial in 60 seconds, or reserve your 7-day white-label Full Setup slot on your own ISP server.

Executive Proposal (PDF) → WhatsApp Architect