secubox-deb/packages/secubox-ipblock
CyberMind 99fc829b45
fix(web): rewrite stale /portal/login.html -> /login.html (closes #222) (#223)
PR #169 moved login.html out of secubox-hub to /usr/share/secubox/www/
under secubox-portal's ownership, but 67 source files across the
package set still redirected to /portal/login.html which no longer
exists on disk. nginx fell back to /index.html (hub root) on every
hit, whose checkAuth() bounced back to /portal/login.html, producing
an infinite "Redirecting to login..." loop with no way for any user
to authenticate.

sed -i 's|/portal/login\.html|/login.html|g' across all packages/*/www
sources (82 occurrences). The two prior partial fixes that triggered
this investigation (bcc6a781, 464e3379) only covered a subset and
missed the kiosk root checkAuth in secubox-hub/www/index.html plus
65 module index.html files.

Verified: grep -rl '/portal/login\.html' packages/ | grep -v /debian/
returns empty.

Discovered while testing the firstboot v2-schema+argon2 chain end-to-end
in a VBox amd64 boot of CI run 26082003883 (the #218 image build fix)
— firstboot now works, users.json gets a valid argon2 hash for
admin/secubox, the portal API runs, but the login UI is unreachable
because of this dangling URL.

Co-authored-by: CyberMind-FR <gandalf@Gk2.net>
2026-05-19 11:44:43 +02:00
..
api feat(phase10): Complete all 10 Security Extensions modules 2026-04-04 10:26:16 +02:00
debian feat(secubox): complete meta-script generator Tasks 14-17 2026-05-11 05:32:29 +02:00
menu.d fix(services): Add LogsDirectory and fix menu icons 2026-04-20 08:59:19 +02:00
nginx feat(phase10): Complete all 10 Security Extensions modules 2026-04-04 10:26:16 +02:00
systemd feat(phase10): Complete all 10 Security Extensions modules 2026-04-04 10:26:16 +02:00
www/ipblock fix(web): rewrite stale /portal/login.html -> /login.html (closes #222) (#223) 2026-05-19 11:44:43 +02:00
README.md docs: Add Eye Remote Multigadget skill and wiki 2026-05-10 09:12:42 +02:00

🚫 IP Block Manager

IP and network blocking management

Category: Security

Screenshot

IP Block Manager

Features

  • IP blocklists
  • Network ranges
  • Temporary bans
  • Import/Export

Installation

# Add SecuBox repository
curl -fsSL https://apt.secubox.in/install.sh | sudo bash

# Install package
sudo apt install secubox-ipblock

Configuration

Configuration file: /etc/secubox/ipblock.toml

API Endpoints

  • GET /api/v1/ipblock/status - Module status
  • GET /api/v1/ipblock/health - Health check

License

MIT License - CyberMind © 2024-2026