secubox-openwrt/package/secubox/luci-app-master-link
CyberMind-FR 9ddf5a4e0b fix(build): Fix 16 failed packages with missing Build/Compile and URL config
- Add missing 'define Build/Compile' to script-only packages:
  - secubox-app-config-vault
  - secubox-app-gotosocial
  - secubox-app-ipblocklist
  - secubox-app-ksmbd
  - secubox-app-qbittorrent
  - secubox-app-talk-hpb
  - secubox-app-vhost-manager
  - secubox-app-webtorrent
  - secubox-avatar-tap
  - secubox-core-users
  - secubox-dpi-dual
  - secubox-app-backup

- Fix luci-app-interceptor: Add missing BuildPackage call
- Fix luci-app-master-link: Correct RPCD handler filename (underscore → dash)
- Fix luci-app-config-vault: Add Build/Compile definition

- Create secubox-console Makefile (new package for remote management)
- Create secubox-app-backup cron job file

- Update secubox-app-repo: Change feed URLs from local IP (192.168.255.1:8888)
  to repo.secubox.in domain with HTTPS and proper src/gz format

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-18 18:01:51 +01:00
..
htdocs/luci-static/resources/view/secubox refactor(luci): Mass KissTheme UI rework across all LuCI apps 2026-03-12 11:09:34 +01:00
root/usr feat(theme): Integrate kiss-theme.js into luci-theme-secubox 2026-02-23 17:40:12 +01:00
Makefile fix(build): Fix 16 failed packages with missing Build/Compile and URL config 2026-03-18 18:01:51 +01:00
README.md docs(master-link): Add README for both master-link packages 2026-02-03 07:16:22 +01:00

LuCI App Master-Link

LuCI web interface for SecuBox Master-Link mesh management.

Installation

opkg install luci-app-master-link

Requires secubox-master-link (pulled automatically as dependency).

Access

SecuBox > Mesh Management in the LuCI menu.

Tabs

Overview

Adapts to the node's role:

  • Master: Role badge, mesh stats (peers, depth, chain height), Generate Token button with QR-ready URL
  • Peer: Role badge, upstream master info, own depth, sync status
  • Sub-master: Upstream info + downstream peer count

Join Requests (master/sub-master only)

  • Table: hostname, IP, fingerprint, timestamp, status
  • Actions: Approve, Reject, Promote to sub-master
  • Auto-refresh every 10 seconds

Mesh Tree

  • Hierarchical view of master → peers → sub-masters → their peers
  • Depth indicators and role badges
  • Online/offline status per node

RPCD Methods

All calls go through luci.master_link ubus object:

Method Description
status Node status and mesh stats
peers List all peers with join details
tree Mesh topology tree
token_generate Create one-time join token
approve Approve, reject, or promote a peer
token_cleanup Remove expired tokens

Files

File Purpose
root/usr/share/luci/menu.d/luci-app-master-link.json Menu entry
root/usr/share/rpcd/acl.d/luci-app-master-link.json ACL permissions
root/usr/libexec/rpcd/luci.master_link RPCD endpoint
htdocs/luci-static/resources/view/secubox/master-link.js LuCI view

License

Apache-2.0