Skip to content

v3.44 - VM Console Access with Shareable Links

Latest

Choose a tag to compare

@atulmahankal-leapswitch atulmahankal-leapswitch released this 12 Jan 09:01

New Features

VM Console Access

  • View Boot Log: Display VM boot logs with configurable line count
  • Share Console Access: Create time-limited shareable console links (1h to 30d)
  • Manage Shares: List, view usage statistics, and revoke share tokens
  • Dark-themed UI: Standalone shared console page with fullscreen support
  • Token Security: SHA-256 hashing, constant-time comparison, rate limiting

Bug Fixes

Console URL Retrieval

  • Full OpenStack compatibility with 4 fallback methods:
    • remote-consoles (Nova microversion 2.6+)
    • os-getVNCConsole (legacy)
    • getVNCConsole (alternative legacy)
    • os-getSPICEConsole (SPICE fallback)
  • Added X-OpenStack-Nova-API-Version: 2.6 header for modern OpenStack
  • Better error messages showing which console methods failed

Security Improvements

  • Shared console uses fullscreen mode instead of opening URL in new tab
  • Prevents exposure of raw OpenStack console URLs
  • Enforces share token expiry policy

New Files

  • console_share.php - Standalone page for shared console access
  • console_share_api.php - Public API for token validation

Installation

Download cloudpe-whmcs-module-v3.44.zip and extract to your WHMCS root directory.