Skip to content

Add installable OpenWrt package - #1

Open
safesploit wants to merge 5 commits into
mainfrom
installable
Open

Add installable OpenWrt package#1
safesploit wants to merge 5 commits into
mainfrom
installable

Conversation

@safesploit

Copy link
Copy Markdown
Member

Implement Phase N (Installable OpenWrt Edition) with:

  • Package infrastructure: Makefile, staging script, UCI configuration
  • Read-only rpcd API (firewall.visualiser) with six methods via ucode service
  • Frontend live mode with authenticated router access and bounded polling
  • Platform abstraction layer supporting offline and openwrt runtime modes
  • OpenWrt API client with automatic session handling and normalization
  • Dedicated listener setup command for management-address-specific HTTPS
  • SDK build validation and optional x86_64 QEMU smoke test in GitHub Actions
  • Comprehensive contract tests covering API, ACL, package layout, and shell scripts
  • Updated documentation and README with package installation instructions

Summary

Describe what this pull request changes.

Type of Change

  • Documentation
  • Script
  • CI/CD
  • Infrastructure as Code
  • Security hardening
  • Bug fix
  • Refactor

Validation

  • Markdown reviewed
  • Commands checked
  • Script tested locally where practical
  • No secrets or sensitive infrastructure details included

Security Considerations

Describe any security impact, assumptions or risks.

Implement Phase N (Installable OpenWrt Edition) with:

- Package infrastructure: Makefile, staging script, UCI configuration
- Read-only rpcd API (firewall.visualiser) with six methods via ucode service
- Frontend live mode with authenticated router access and bounded polling
- Platform abstraction layer supporting offline and openwrt runtime modes
- OpenWrt API client with automatic session handling and normalization
- Dedicated listener setup command for management-address-specific HTTPS
- SDK build validation and optional x86_64 QEMU smoke test in GitHub Actions
- Comprehensive contract tests covering API, ACL, package layout, and shell scripts
- Updated documentation and README with package installation instructions
Split the complex single-line SSH command into separate steps to improve readability. The change separates the file existence check from the UCI value verification, making the test easier to understand and debug.
@safesploit safesploit changed the title Add installable OpenWrt package edition Add installable OpenWrt package Jul 17, 2026
OpenWrt feed names cannot contain hyphens. Changed FEEDNAME from 'firewall-visualiser' to 'firewall_visualiser' to comply with OpenWrt naming requirements. Added a test to enforce this constraint going forward.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant